www.mooseframework.org
XFEMSingleVariableConstraint.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 XFEMEQUALVALUECONSTRAINT_H
9 #define XFEMEQUALVALUECONSTRAINT_H
10 
11 // MOOSE includes
12 #include "ElemElemConstraint.h"
13 #include "MooseMesh.h"
14 
15 // Forward Declarations
17 
18 template <>
20 
21 class XFEMSingleVariableConstraint : public ElemElemConstraint
22 {
23 public:
24  XFEMSingleVariableConstraint(const InputParameters & parameters);
26 
27 protected:
31  virtual void reinitConstraintQuadrature(const ElementPairInfo & element_pair_info);
32 
36  virtual Real computeQpResidual(Moose::DGResidualType type);
37 
41  virtual Real computeQpJacobian(Moose::DGJacobianType type);
42 
45 
47  Real _alpha;
48 
50  Real _jump;
51 
53  Real _jump_flux;
54 };
55 
56 #endif /* XFEMEQUALVALUECONSTRAINT_H_ */
virtual Real computeQpResidual(Moose::DGResidualType type)
Compute the residual for one of the constraint quadrature points.
Real _alpha
Stabilization parameter in Nitsche&#39;s formulation.
InputParameters validParams< XFEMSingleVariableConstraint >()
XFEMSingleVariableConstraint(const InputParameters &parameters)
virtual void reinitConstraintQuadrature(const ElementPairInfo &element_pair_info)
Set information needed for constraint integration.
virtual Real computeQpJacobian(Moose::DGJacobianType type)
Compute the Jacobian for one of the constraint quadrature points.
Real _jump
Vector normal to the internal interface.
Real _jump_flux
Vector normal to the internal interface.
Point _interface_normal
Vector normal to the internal interface.