www.mooseframework.org
Classes | Functions
Density.h File Reference

Go to the source code of this file.

Classes

class  Density
 Compute density, which may changed based on a deforming mesh. More...
 

Functions

template<>
InputParameters validParams< Density > ()
 

Function Documentation

template<>
InputParameters validParams< Density > ( )

Definition at line 12 of file Density.C.

13 {
14  InputParameters params = validParams<Material>();
15 
16  params.addCoupledVar("disp_r", "The r displacement");
17  params.addCoupledVar("disp_x", "The x displacement");
18  params.addCoupledVar("disp_y", "The y displacement");
19  params.addCoupledVar("disp_z", "The z displacement");
20 
21  params.addCoupledVar(
22  "displacements",
23  "The displacements appropriate for the simulation geometry and coordinate system");
24 
25  params.addRequiredParam<Real>("density", "Density");
26  params.addClassDescription("Creates density material property");
27 
28  return params;
29 }