www.mooseframework.org
Public Member Functions | List of all members
NodalAreaAction Class Reference

#include <NodalAreaAction.h>

Inheritance diagram for NodalAreaAction:
[legend]

Public Member Functions

 NodalAreaAction (const InputParameters &params)
 
virtual void act ()
 

Detailed Description

Definition at line 14 of file NodalAreaAction.h.

Constructor & Destructor Documentation

NodalAreaAction::NodalAreaAction ( const InputParameters &  params)

Definition at line 31 of file NodalAreaAction.C.

31 : MooseObjectAction(params) {}

Member Function Documentation

void NodalAreaAction::act ( )
virtual

Definition at line 34 of file NodalAreaAction.C.

35 {
36  _moose_object_pars.set<std::vector<BoundaryName>>("boundary") = {getParam<BoundaryName>("slave")};
37  _moose_object_pars.set<std::vector<VariableName>>("variable") = {"nodal_area_" + _name};
38 
39  mooseAssert(_problem, "Problem pointer is NULL");
40  _moose_object_pars.set<MultiMooseEnum>("execute_on") = "initial timestep_begin";
41  _moose_object_pars.set<bool>("use_displaced_mesh") = true;
42 
43  _problem->addUserObject(
44  "NodalArea", "nodal_area_object_" + Moose::stringify(counter++), _moose_object_pars);
45 }
static unsigned int counter

The documentation for this class was generated from the following files: