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

#include <ContactPenetrationVarAction.h>

Inheritance diagram for ContactPenetrationVarAction:
[legend]

Public Member Functions

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

Detailed Description

Definition at line 16 of file ContactPenetrationVarAction.h.

Constructor & Destructor Documentation

◆ ContactPenetrationVarAction()

ContactPenetrationVarAction::ContactPenetrationVarAction ( const InputParameters &  params)

Definition at line 31 of file ContactPenetrationVarAction.C.

32  : Action(params)
33 {
34 }

Member Function Documentation

◆ act()

void ContactPenetrationVarAction::act ( )
virtual

Definition at line 37 of file ContactPenetrationVarAction.C.

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

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