https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SCZMInterfaceKernelBase.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 "SBMInterfaceBase.h"
13#include "JvarMapInterface.h"
14
16template <bool is_ad>
17class SCZMInterfaceKernelBaseTempl : public JvarMapKernelInterface<SBMInterfaceBase<is_ad>>
18{
19public:
22
23protected:
25
33 bool perform_shifted() const override { return _shifted; }
34
36 const std::string _base_name;
37
39 const unsigned int _component;
40
42 const unsigned int _ndisp;
43
46
48 const bool _shifted;
49
51};
52
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
Moose::GenericType< Real, is_ad > GenericReal
Base class for AD and non-AD shifted cohesive zone interface kernels.
static InputParameters validParams()
const std::string _base_name
Base name of the material system that this kernel applies to.
GenericReal< is_ad > computeQpResidual(Moose::DGResidualType type) override
const unsigned int _component
The displacement component this kernel is operating on (0=x, 1=y, 2=z)
const GenericMaterialProperty< RealVectorValue, is_ad > & _traction_global
Traction in the global frame.
bool perform_shifted() const override
Whether to apply the shifted integration corrections.
const bool _shifted
True by default; false only when requesting the non-shifted verification baseline.
const unsigned int _ndisp
Number of displacement components.
DGResidualType