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

#include <ContactPressureVarAction.h>

Inheritance diagram for ContactPressureVarAction:
[legend]

Public Member Functions

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

Detailed Description

Definition at line 13 of file ContactPressureVarAction.h.

Constructor & Destructor Documentation

ContactPressureVarAction::ContactPressureVarAction ( const InputParameters &  params)

Definition at line 26 of file ContactPressureVarAction.C.

26  : Action(params)
27 {
28 }

Member Function Documentation

void ContactPressureVarAction::act ( )
virtual

Definition at line 31 of file ContactPressureVarAction.C.

32 {
33  if (!_problem->getDisplacedProblem())
34  {
35  mooseError("Contact requires updated coordinates. Use the 'displacements = ...' line in the "
36  "Mesh block.");
37  }
38 
39  _problem->addAuxVariable("contact_pressure",
40  FEType(Utility::string_to_enum<Order>(getParam<MooseEnum>("order")),
41  Utility::string_to_enum<FEFamily>("LAGRANGE")));
42 }

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