www.mooseframework.org
Functions
StressDivergenceTensorsTruss.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< StressDivergenceTensorsTruss > ()
 

Function Documentation

template<>
InputParameters validParams< StressDivergenceTensorsTruss > ( )

Definition at line 18 of file StressDivergenceTensorsTruss.C.

19 {
20  InputParameters params = validParams<Kernel>();
21  params.addClassDescription("Kernel for truss element");
22  params.addRequiredParam<unsigned int>("component",
23  "An integer corresponding to the direction "
24  "the variable this kernel acts in. (0 for x, "
25  "1 for y, 2 for z)");
26  params.addCoupledVar("displacements",
27  "The string of displacements suitable for the problem statement");
28  params.addCoupledVar("temperature", "The temperature");
29  params.addCoupledVar("area", "Cross-sectional area of truss element");
30  params.addParam<std::string>("base_name", "Material property base name");
31  params.set<bool>("use_displaced_mesh") = true;
32  return params;
33 }