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 13 of file ContactPenetrationVarAction.h.

Constructor & Destructor Documentation

ContactPenetrationVarAction::ContactPenetrationVarAction ( const InputParameters &  params)

Definition at line 26 of file ContactPenetrationVarAction.C.

27  : Action(params)
28 {
29 }

Member Function Documentation

void ContactPenetrationVarAction::act ( )
virtual

Definition at line 32 of file ContactPenetrationVarAction.C.

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

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