www.mooseframework.org
OneDContactConstraint.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef TIEDVALUECONSTRAINT_H
9 #define TIEDVALUECONSTRAINT_H
10 
11 // MOOSE includes
12 #include "NodeFaceConstraint.h"
13 
14 // Forward Declarations
16 
17 template <>
18 InputParameters validParams<OneDContactConstraint>();
19 
24 class OneDContactConstraint : public NodeFaceConstraint
25 {
26 public:
27  OneDContactConstraint(const InputParameters & parameters);
29 
30  virtual void timestepSetup();
31  virtual void jacobianSetup();
32 
33  virtual void updateContactSet();
34 
35  virtual Real computeQpSlaveValue();
36 
37  virtual Real computeQpResidual(Moose::ConstraintType type);
38 
39  virtual Real computeQpJacobian(Moose::ConstraintJacobianType type);
40 
41  bool shouldApply();
42 
43 protected:
44  NumericVector<Number> & _residual_copy;
45 
47 };
48 
49 #endif
virtual Real computeQpSlaveValue()
virtual Real computeQpResidual(Moose::ConstraintType type)
NumericVector< Number > & _residual_copy
A OneDContactConstraint forces the value of a variable to be the same on both sides of an interface...
OneDContactConstraint(const InputParameters &parameters)
InputParameters validParams< OneDContactConstraint >()
virtual Real computeQpJacobian(Moose::ConstraintJacobianType type)