https://mooseframework.inl.gov
PenaltyEqualValueConstraint.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 "MortarConstraint.h"
13 #include "ADMortarConstraint.h"
14 
15 // Forward declaration
16 template <bool is_ad>
18  typename std::conditional<is_ad, ADMortarConstraint, MortarConstraint>::type;
19 
24 template <bool is_ad>
26 {
27 public:
29 
31 
32 protected:
35  unsigned int jvar);
36 
39 
47 };
48 
Moose::GenericType< Real, is_ad > GenericReal
Definition: MooseTypes.h:648
PenaltyEqualValueConstraintTempl(const InputParameters &parameters)
GenericReal< is_ad > computeQpResidual(Moose::MortarType mortar_type) final
MortarType
Definition: MooseTypes.h:770
PenaltyEqualValueConstraintTempl< true > ADPenaltyEqualValueConstraint
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
PenaltyEqualValueConstraintTempl< false > PenaltyEqualValueConstraint
const Real _penalty_value
Penalty value used to enforce the constraint.
Constrain the value of a variable to be the same on both sides of an interface using a generalized fo...
typename std::conditional< is_ad, ADMortarConstraint, MortarConstraint >::type MortarConstraintTempl
GenericReal< is_ad > computeQpJacobian(Moose::ConstraintJacobianType jacobian_type, unsigned int jvar)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ConstraintJacobianType
Definition: MooseTypes.h:796