https://mooseframework.inl.gov
LMWeightedGapUserObject.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 #include "WeightedGapUserObject.h"
13 
14 template <typename>
15 class MooseVariableFE;
16 
22 {
23 public:
25 
27 
28  virtual const ADVariableValue & contactPressure() const override;
29  virtual void reinit() override {}
30 
31 protected:
32  virtual const VariableTestValue & test() const override;
33  virtual bool constrainedByOwner() const override { return true; }
34 
37 
40 
42  const MooseVariable * const _aux_lm_var;
43 };
virtual void reinit() override
const MooseVariable *const _aux_lm_var
The auxiliary Lagrange multiplier variable (used together whith the Petrov-Galerkin approach) ...
const MooseVariableFE< Real > *const _lm_var
The Lagrange multiplier variable representing the contact pressure.
virtual const ADVariableValue & contactPressure() const override
const bool _use_petrov_galerkin
Whether to use Petrov-Galerkin approach.
OutputTools< Real >::VariableTestValue VariableTestValue
User object for computing weighted gaps and contact pressure for Lagrange multipler based mortar cons...
Creates dof object to weighted gap map.
const InputParameters & parameters() const
virtual bool constrainedByOwner() const override
virtual const VariableTestValue & test() const override
static InputParameters validParams()
LMWeightedGapUserObject(const InputParameters &parameters)