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 16 of file ContactPressureVarAction.h.

Constructor & Destructor Documentation

◆ ContactPressureVarAction()

ContactPressureVarAction::ContactPressureVarAction ( const InputParameters &  params)

Definition at line 31 of file ContactPressureVarAction.C.

31  : Action(params)
32 {
33 }

Member Function Documentation

◆ act()

void ContactPressureVarAction::act ( )
virtual

Definition at line 36 of file ContactPressureVarAction.C.

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

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