Classes | Functions
AddNodalNormalsAction.h File Reference

Go to the source code of this file.


class  AddNodalNormalsAction
 Action to setup computation of nodal normals. More...


InputParameters validParams< AddNodalNormalsAction > ()

Function Documentation

Definition at line 24 of file AddNodalNormalsAction.C.

25 {
28  // Initialize the 'boundary' input option to default to any boundary
29  std::vector<BoundaryName> everywhere(1, "ANY_BOUNDARY_ID");
30  params.addParam<std::vector<BoundaryName>>(
31  "boundary", everywhere, "The boundary ID or name where the normals will be computed");
32  params.addParam<BoundaryName>("corner_boundary", "boundary ID or name with nodes at 'corners'");
33  MooseEnum orders("FIRST SECOND", "FIRST");
34  params.addParam<MooseEnum>("order",
35  orders,
36  "Specifies the order of variables that hold the "
37  "nodal normals. Needs to match the order of the "
38  "mesh");
40  return params;
41 }
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Definition: MooseEnum.h:37
void addParam(const std::string &name, const S &value, const std::string &doc_string)
These methods add an option parameter and a documentation string to the InputParameters object...
InputParameters validParams< Action >()
Definition: Action.C:23