102 const std::unordered_set<const Elem *> & inactive_lm_elems);
OutputTools< Real >::VariableTestValue VariableTestValue
OutputTools< Real >::VariableTestGradient VariableTestGradient
Base class for all Constraint types.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
const InputParameters & parameters() const
Get the parameters of the object.
Class for stuff related to variables.
Interface for objects that need to get values of MooseVariables.
const MooseVariable * variablePtr() const
The variable number that this object operates on (pointer).
const bool _use_dual
Whether to use the dual motar approach.
void zeroInactiveLMDofs(const std::unordered_set< const Node * > &inactive_lm_nodes, const std::unordered_set< const Elem * > &inactive_lm_elems)
A post routine for zeroing all inactive LM DoFs.
MooseVariableField< Real > & _primary_var
Reference to the primary variable.
MooseVariable *const _var
Pointer to the lagrange multipler variable. nullptr if none.
const VariableTestGradient & _grad_test_primary
The shape function gradients corresponding to the primary interior primal variable.
const MooseVariable & variable() const override
The variable number that this object operates on.
const Elem *const & _interior_secondary_elem
the higher-dimensional secondary face element
bool useDual() const
Whether to use dual mortar.
const VariableTestValue & _test_secondary
The shape functions corresponding to the secondary interior primal variable.
FEProblemBase & _fe_problem
Reference to the finite element problem.
const MooseArray< Real > & _coord
Member for handling change of coordinate systems (xyz, rz, spherical)
const bool _compute_primal_residuals
Whether to compute primal residuals.
static InputParameters validParams()
MooseVariableField< Real > & _secondary_var
Reference to the secondary variable.
virtual void post()
This method will be called after the loop over the mortar segment mesh.
const FEProblemBase & feProblem() const
const VariableTestValue & _test
The shape functions corresponding to the lagrange multiplier variable.
const VariableTestGradient & _grad_test_secondary
The shape function gradients corresponding to the secondary interior primal variable.
const bool _compute_lm_residuals
Whether to compute lagrange multiplier residuals.
const VariableTestValue _test_dummy
A dummy object useful for constructing _test when not using Lagrange multipliers.
const MooseArray< std::vector< Point > > & _tangents
Tangent vectors on the secondary faces (libmesh)
const bool _use_petrov_galerkin
Whether to use Petrov-Galerkin approach.
virtual void computeResidual(Moose::MortarType mortar_type)=0
compute the residual for the specified element type
virtual void computeJacobian() override
Method for computing the Jacobian.
virtual void computeResidual() override
Method for computing the residual.
virtual void computeJacobian(Moose::MortarType mortar_type)=0
compute the residual for the specified element type
virtual void incorrectEdgeDroppingPost(const std::unordered_set< const Node * > &)
This method will be called after the loop over the mortar segment mesh.
const std::vector< Point > & _q_point
The quadrature points in physical space.
const VariableTestValue & _test_primary
The shape functions corresponding to the primary interior primal variable.
const bool _displaced
Whether this object operates on the displaced mesh.
const MooseVariable *const _aux_lm_var
The auxiliary Lagrange multiplier variable (used together whith the Petrov-Galerkin approach)
const Elem *const & _interior_primary_elem
the higher-dimensional primary face element
An interface for accessing mortar mesh data.
This interface is designed for DGKernel, InternalSideUserObject, InterfaceUserObject,...
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...