https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
18class XFEM;
19
20class Function;
21
23{
24public:
26
29
30protected:
31 virtual void reinitConstraintQuadrature(const ElementPairInfo & element_pair_info) override;
32
33 virtual Real computeQpResidual(Moose::DGResidualType type) override;
34
35 virtual Real computeQpJacobian(Moose::DGJacobianType type) override;
36
39
42 Real _alpha;
43
45 const Function & _jump;
46
49
52
54 std::shared_ptr<XFEM> _xfem;
55};
const InputParameters & parameters() const
const std::string & type() const
virtual Real computeQpJacobian(Moose::DGJacobianType type) override
virtual Real computeQpResidual(Moose::DGResidualType type) override
std::shared_ptr< XFEM > _xfem
Pointer to the XFEM controller object.
bool _use_penalty
Use penalty formulation.
const Function & _jump
Change in variable value at the interface.
const Function & _jump_flux
Change in flux of variable value at the interface.
Point _interface_normal
Vector normal to the internal interface.
Real _alpha
Stabilization parameter in Nitsche's formulation and penalty factor in the Penalty Method.
virtual void reinitConstraintQuadrature(const ElementPairInfo &element_pair_info) override
This is the XFEM class.
Definition XFEM.h:108
DGResidualType
DGJacobianType