https://mooseframework.inl.gov
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 {
21 public:
23 
25 
26  virtual void initialSetup() override;
27 
28 protected:
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 
52 private:
57 };
const Real _ad_derivative_threshold
Threshold to discard derivatives and shrink the AD object.
virtual void computeResidual() override
static InputParameters validParams()
This class enforces mortar constraints on lower dimensional domains, skipping interior nodes...
std::map< unsigned int, unsigned int > _primary_ip_lowerd_map
Nodal map from primary interior parent to lower dimensional domain.
virtual void initialSetup() override
std::map< unsigned int, unsigned int > _secondary_ip_lowerd_map
Nodal map from secondary interior parent to lower dimensional domain.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
bool _apply_derivative_threshold
Whether to apply derivative trimming.
virtual void computeJacobian() override
ADMortarLagrangeConstraint(const InputParameters &parameters)
const InputParameters & parameters() const