https://mooseframework.inl.gov
XFEMSingleVariableConstraint.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 // MOOSE includes
13 #include "ElemElemConstraint.h"
14 #include "MooseMesh.h"
15 
16 // Forward Declarations
17 
18 class XFEM;
19 
20 class Function;
21 
23 {
24 public:
26 
29 
30 protected:
31  virtual void reinitConstraintQuadrature(const ElementPairInfo & element_pair_info) override;
32 
34 
36 
39 
43 
45  const Function & _jump;
46 
49 
52 
54  std::shared_ptr<XFEM> _xfem;
55 };
virtual Real computeQpJacobian(Moose::DGJacobianType type) override
std::shared_ptr< XFEM > _xfem
Pointer to the XFEM controller object.
const Function & _jump_flux
Change in flux of variable value at the interface.
Real _alpha
Stabilization parameter in Nitsche&#39;s formulation and penalty factor in the Penalty Method...
XFEMSingleVariableConstraint(const InputParameters &parameters)
DGResidualType
This is the XFEM class.
Definition: XFEM.h:107
bool _use_penalty
Use penalty formulation.
const Function & _jump
Change in variable value at the interface.
const std::string & type() const
virtual Real computeQpResidual(Moose::DGResidualType type) override
DGJacobianType
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
virtual void reinitConstraintQuadrature(const ElementPairInfo &element_pair_info) override
Point _interface_normal
Vector normal to the internal interface.