www.mooseframework.org
SparsityBasedContactConstraint.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 SPARSITYBASEDCONTACTCONSTRAINT_H
9 #define SPARSITYBASEDCONTACTCONSTRAINT_H
10 
11 // MOOSE includes
12 #include "NodeFaceConstraint.h"
13 
14 // Forward Declarations
16 
17 template <>
19 
20 class SparsityBasedContactConstraint : public NodeFaceConstraint
21 {
22 public:
23  SparsityBasedContactConstraint(const InputParameters & parameters)
24  : NodeFaceConstraint(parameters){};
26 
27  virtual Real computeQpSlaveValue()
28  {
29  mooseError("Unimplemented pure virtual method. SparsityBasedContactConstraint should only be "
30  "used as a base class");
31  return 0;
32  }
33  virtual Real computeQpResidual(Moose::ConstraintType /*type*/)
34  {
35  mooseError("Unimplemented pure virtual method. SparsityBasedContactConstraint should only be "
36  "used as a base class");
37  return 0;
38  }
39  virtual Real computeQpJacobian(Moose::ConstraintJacobianType /*type*/)
40  {
41  mooseError("Unimplemented pure virtual method. SparsityBasedContactConstraint should only be "
42  "used as a base class");
43  return 0;
44  }
45 
51  using NodeFaceConstraint::getConnectedDofIndices;
52 
57  virtual void getConnectedDofIndices();
58 };
59 
60 #endif
InputParameters validParams< SparsityBasedContactConstraint >()
virtual Real computeQpResidual(Moose::ConstraintType)
SparsityBasedContactConstraint(const InputParameters &parameters)
virtual void getConnectedDofIndices()
Gets the indices for all dofs conected to the constraint Get indices for all the slave Jacobian colum...
virtual Real computeQpJacobian(Moose::ConstraintJacobianType)