https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ADMortarLagrangeConstraint.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 "ADMortarConstraint.h"
13
20{
21public:
23
25
26 virtual void initialSetup() override;
27
28protected:
33 void computeResidual(Moose::MortarType mortar_type) override;
34
39 void computeJacobian(Moose::MortarType mortar_type) override;
40
42 std::map<unsigned int, unsigned int> _secondary_ip_lowerd_map;
43
45 std::map<unsigned int, unsigned int> _primary_ip_lowerd_map;
46
51
52private:
57};
virtual void computeJacobian() override
virtual void computeResidual() override
This class enforces mortar constraints on lower dimensional domains, skipping interior nodes.
const Real _ad_derivative_threshold
Threshold to discard derivatives and shrink the AD object.
bool _apply_derivative_threshold
Whether to apply derivative trimming.
std::map< unsigned int, unsigned int > _primary_ip_lowerd_map
Nodal map from primary interior parent to lower dimensional domain.
std::map< unsigned int, unsigned int > _secondary_ip_lowerd_map
Nodal map from secondary interior parent to lower dimensional domain.
virtual void computeJacobian() override
static InputParameters validParams()
virtual void computeResidual() override
const InputParameters & parameters() const