https://mooseframework.inl.gov
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
WeightedVelocitiesUserObject Class Referenceabstract

Creates dof object to weighted tangential velocities map. More...

#include <WeightedVelocitiesUserObject.h>

Inheritance diagram for WeightedVelocitiesUserObject:
[legend]

Public Types

typedef DataFileName DataFileParameterType
 

Public Member Functions

 WeightedVelocitiesUserObject (const InputParameters &parameters)
 
virtual void initialize () override
 
virtual void finalize () override
 
const std::unordered_map< const DofObject *, std::array< ADReal, 2 > > & dofToWeightedVelocities () const
 Get the degree of freedom to weighted velocities information. More...
 
virtual const ADVariableValuecontactTangentialPressureDirOne () const =0
 
virtual const ADVariableValuecontactTangentialPressureDirTwo () const =0
 
virtual void execute () override
 
virtual void initialSetup () override
 
const std::unordered_map< const DofObject *, std::pair< ADReal, Real > > & dofToWeightedGap () const
 Get the degree of freedom to weighted gap information. More...
 
virtual const ADVariableValuecontactPressure () const =0
 
virtual Real getNormalContactPressure (const Node *const) const
 
virtual Real getNormalGap (const Node *const) const
 
Real physicalGap (const std::pair< ADReal, Real > &gap) const
 Compute physical gap from integration gap quantity. More...
 
ADReal adPhysicalGap (const std::pair< ADReal, Real > &gap) const
 
virtual Real getFrictionalContactPressure (const Node *const, const unsigned int) const
 
virtual Real getAccumulatedSlip (const Node *const, const unsigned int) const
 
virtual Real getTangentialVelocity (const Node *const, const unsigned int) const
 
virtual void reinit ()=0
 
virtual void threadJoin (const UserObject &) override final
 
SubProblemgetSubProblem () const
 
bool shouldDuplicateInitialExecution () const
 
virtual Real spatialValue (const Point &) const
 
virtual const std::vector< Point > spatialPoints () const
 
void gatherSum (T &value)
 
void gatherMax (T &value)
 
void gatherMin (T &value)
 
void gatherProxyValueMax (T1 &proxy, T2 &value)
 
void gatherProxyValueMin (T1 &proxy, T2 &value)
 
void setPrimaryThreadCopy (UserObject *primary)
 
UserObjectprimaryThreadCopy ()
 
std::set< UserObjectName > getDependObjects () const
 
virtual bool needThreadedCopy () const
 
const std::set< std::string > & getRequestedItems () override
 
const std::set< std::string > & getSuppliedItems () override
 
unsigned int systemNumber () const
 
virtual bool enabled () const
 
std::shared_ptr< MooseObjectgetSharedPtr ()
 
std::shared_ptr< const MooseObjectgetSharedPtr () const
 
MooseAppgetMooseApp () const
 
const std::string & type () const
 
virtual const std::string & name () const
 
std::string typeAndName () const
 
std::string errorPrefix (const std::string &error_type) const
 
void callMooseError (std::string msg, const bool with_prefix) const
 
MooseObjectParameterName uniqueParameterName (const std::string &parameter_name) const
 
const InputParametersparameters () const
 
MooseObjectName uniqueName () const
 
const T & getParam (const std::string &name) const
 
std::vector< std::pair< T1, T2 > > getParam (const std::string &param1, const std::string &param2) const
 
const T * queryParam (const std::string &name) const
 
const T & getRenamedParam (const std::string &old_name, const std::string &new_name) const
 
getCheckedPointerParam (const std::string &name, const std::string &error_string="") const
 
bool isParamValid (const std::string &name) const
 
bool isParamSetByUser (const std::string &nm) const
 
void paramError (const std::string &param, Args... args) const
 
void paramWarning (const std::string &param, Args... args) const
 
void paramInfo (const std::string &param, Args... args) const
 
void connectControllableParams (const std::string &parameter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const
 
void mooseError (Args &&... args) const
 
void mooseErrorNonPrefixed (Args &&... args) const
 
void mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const
 
void mooseWarning (Args &&... args) const
 
void mooseWarningNonPrefixed (Args &&... args) const
 
void mooseDeprecated (Args &&... args) const
 
void mooseInfo (Args &&... args) const
 
std::string getDataFileName (const std::string &param) const
 
std::string getDataFileNameByName (const std::string &relative_path) const
 
std::string getDataFilePath (const std::string &relative_path) const
 
virtual void timestepSetup ()
 
virtual void jacobianSetup ()
 
virtual void residualSetup ()
 
virtual void subdomainSetup ()
 
virtual void customSetup (const ExecFlagType &)
 
const ExecFlagEnumgetExecuteOnEnum () const
 
UserObjectName getUserObjectName (const std::string &param_name) const
 
const T & getUserObject (const std::string &param_name, bool is_dependency=true) const
 
const T & getUserObjectByName (const UserObjectName &object_name, bool is_dependency=true) const
 
const UserObjectgetUserObjectBase (const std::string &param_name, bool is_dependency=true) const
 
const UserObjectgetUserObjectBaseByName (const UserObjectName &object_name, bool is_dependency=true) const
 
const std::vector< MooseVariableScalar *> & getCoupledMooseScalarVars ()
 
const std::set< TagID > & getScalarVariableCoupleableVectorTags () const
 
const std::set< TagID > & getScalarVariableCoupleableMatrixTags () const
 
SubdomainID primarySubdomain () const
 
SubdomainID secondarySubdomain () const
 
bool onInterface (BoundaryID primary_boundary_id, BoundaryID secondary_boundary_id) const
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialProperty (const std::string &name, MaterialData &material_data, const unsigned int state=0)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialProperty (const std::string &name, const unsigned int state=0)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialProperty (const std::string &name, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialProperty (const std::string &name, MaterialData &material_data, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialProperty (const std::string &name, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialProperty (const std::string &name, const unsigned int state=0)
 
const ADMaterialProperty< T > & getADMaterialProperty (const std::string &name, MaterialData &material_data)
 
const ADMaterialProperty< T > & getADMaterialProperty (const std::string &name)
 
const ADMaterialProperty< T > & getADMaterialProperty (const std::string &name)
 
const MaterialProperty< T > & getMaterialPropertyOld (const std::string &name, MaterialData &material_data)
 
const MaterialProperty< T > & getMaterialPropertyOld (const std::string &name)
 
const MaterialProperty< T > & getMaterialPropertyOld (const std::string &name)
 
const MaterialProperty< T > & getMaterialPropertyOlder (const std::string &name, MaterialData &material_data)
 
const MaterialProperty< T > & getMaterialPropertyOlder (const std::string &name)
 
const MaterialProperty< T > & getMaterialPropertyOlder (const std::string &name)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialPropertyByName (const MaterialPropertyName &name, MaterialData &material_data, const unsigned int state)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialPropertyByName (const MaterialPropertyName &name, const unsigned int state=0)
 
const GenericMaterialProperty< T, is_ad > & getGenericMaterialPropertyByName (const MaterialPropertyName &name, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialPropertyByName (const MaterialPropertyName &name, MaterialData &material_data, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialPropertyByName (const MaterialPropertyName &name, const unsigned int state=0)
 
const MaterialProperty< T > & getMaterialPropertyByName (const MaterialPropertyName &name, const unsigned int state=0)
 
const ADMaterialProperty< T > & getADMaterialPropertyByName (const MaterialPropertyName &name, MaterialData &material_data)
 
const ADMaterialProperty< T > & getADMaterialPropertyByName (const MaterialPropertyName &name)
 
const ADMaterialProperty< T > & getADMaterialPropertyByName (const MaterialPropertyName &name)
 
const MaterialProperty< T > & getMaterialPropertyOldByName (const MaterialPropertyName &name, MaterialData &material_data)
 
const MaterialProperty< T > & getMaterialPropertyOldByName (const MaterialPropertyName &name)
 
const MaterialProperty< T > & getMaterialPropertyOldByName (const MaterialPropertyName &name)
 
const MaterialProperty< T > & getMaterialPropertyOlderByName (const MaterialPropertyName &name, MaterialData &material_data)
 
const MaterialProperty< T > & getMaterialPropertyOlderByName (const MaterialPropertyName &name)
 
const MaterialProperty< T > & getMaterialPropertyOlderByName (const MaterialPropertyName &name)
 
std::pair< const MaterialProperty< T > *, std::set< SubdomainID > > getBlockMaterialProperty (const MaterialPropertyName &name)
 
const GenericMaterialProperty< T, is_ad > & getGenericZeroMaterialProperty (const std::string &name)
 
const GenericMaterialProperty< T, is_ad > & getGenericZeroMaterialProperty ()
 
const GenericMaterialProperty< T, is_ad > & getGenericZeroMaterialPropertyByName (const std::string &prop_name)
 
const MaterialProperty< T > & getZeroMaterialProperty (Ts... args)
 
std::set< SubdomainIDgetMaterialPropertyBlocks (const std::string &name)
 
std::vector< SubdomainName > getMaterialPropertyBlockNames (const std::string &name)
 
std::set< BoundaryIDgetMaterialPropertyBoundaryIDs (const std::string &name)
 
std::vector< BoundaryName > getMaterialPropertyBoundaryNames (const std::string &name)
 
void checkBlockAndBoundaryCompatibility (std::shared_ptr< MaterialBase > discrete)
 
std::unordered_map< SubdomainID, std::vector< MaterialBase *> > buildRequiredMaterials (bool allow_stateful=true)
 
void statefulPropertiesAllowed (bool)
 
bool getMaterialPropertyCalled () const
 
virtual const std::unordered_set< unsigned int > & getMatPropDependencies () const
 
virtual void resolveOptionalProperties ()
 
const GenericMaterialProperty< T, is_ad > & getPossiblyConstantGenericMaterialPropertyByName (const MaterialPropertyName &prop_name, MaterialData &material_data, const unsigned int state)
 
virtual const VariableValuecoupledNeighborValue (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableValue *> coupledNeighborValues (const std::string &var_name) const
 
std::vector< const VariableValue *> coupledNeighborValuesOld (const std::string &var_name) const
 
std::vector< const VariableValue *> coupledNeighborValuesOlder (const std::string &var_name) const
 
virtual const ADVariableValueadCoupledNeighborValue (const std::string &var_name, unsigned int comp=0) const
 
const auto & coupledGenericNeighborValue (const std::string &var_name, unsigned int comp=0) const
 
const auto & coupledGenericNeighborGradient (const std::string &var_name, unsigned int comp=0) const
 
virtual const ADVariableValueadCoupledNeighborValueDot (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const ADVariableValue *> adCoupledNeighborValues (const std::string &var_name) const
 
virtual const ADVectorVariableValueadCoupledVectorNeighborValue (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledNeighborValueDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledNeighborValueDotDu (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledNeighborValueOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledNeighborValueOlder (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableGradientcoupledNeighborGradient (const std::string &var_name, unsigned int comp=0) const
 
virtual std::vector< const VariableGradient *> coupledNeighborGradients (const std::string &var_name) const
 
virtual const VariableGradientcoupledNeighborGradientOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableGradientcoupledNeighborGradientOlder (const std::string &var_name, unsigned int comp=0) const
 
virtual const ADVariableGradientadCoupledNeighborGradient (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableGradientcoupledVectorNeighborGradient (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableGradientcoupledVectorNeighborGradientOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableGradientcoupledVectorNeighborGradientOlder (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableValuecoupledArrayNeighborValue (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableGradientcoupledArrayNeighborGradient (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableGradientcoupledArrayNeighborGradientOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableGradientcoupledArrayNeighborGradientOlder (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableSecondcoupledNeighborSecond (const std::string &var_name, unsigned int i=0) const
 
virtual const VariableValuecoupledNeighborDofValues (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledNeighborDofValuesOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledNeighborDofValuesOlder (const std::string &var_name, unsigned int comp=0) const
 
const std::unordered_map< std::string, std::vector< MooseVariableFieldBase *> > & getCoupledVars () const
 
const std::vector< MooseVariableFieldBase *> & getCoupledMooseVars () const
 
const std::vector< MooseVariable *> & getCoupledStandardMooseVars () const
 
const std::vector< VectorMooseVariable *> & getCoupledVectorMooseVars () const
 
const std::vector< ArrayMooseVariable *> & getCoupledArrayMooseVars () const
 
void addFEVariableCoupleableVectorTag (TagID tag)
 
void addFEVariableCoupleableMatrixTag (TagID tag)
 
std::set< TagID > & getFEVariableCoupleableVectorTags ()
 
const std::set< TagID > & getFEVariableCoupleableVectorTags () const
 
std::set< TagID > & getFEVariableCoupleableMatrixTags ()
 
const std::set< TagID > & getFEVariableCoupleableMatrixTags () const
 
auto & getWritableCoupledVariables () const
 
bool hasWritableCoupledVariables () const
 
const ADVariableValuegetADDefaultValue (const std::string &var_name) const
 
const ADVectorVariableValuegetADDefaultVectorValue (const std::string &var_name) const
 
const ADVariableGradientgetADDefaultGradient () const
 
const ADVectorVariableGradientgetADDefaultVectorGradient () const
 
const ADVariableSecondgetADDefaultSecond () const
 
const ADVectorVariableCurlgetADDefaultCurl () const
 
bool hasUserObject (const std::string &param_name) const
 
bool hasUserObject (const std::string &param_name) const
 
bool hasUserObject (const std::string &param_name) const
 
bool hasUserObject (const std::string &param_name) const
 
bool hasUserObjectByName (const UserObjectName &object_name) const
 
bool hasUserObjectByName (const UserObjectName &object_name) const
 
bool hasUserObjectByName (const UserObjectName &object_name) const
 
bool hasUserObjectByName (const UserObjectName &object_name) const
 
const GenericMaterialProperty< T, is_ad > & getGenericNeighborMaterialProperty (const std::string &name, const unsigned int state=0)
 
const GenericMaterialProperty< T, is_ad > & getGenericNeighborMaterialProperty (const std::string &name, const unsigned int state=0)
 
const MaterialProperty< T > & getNeighborMaterialProperty (const std::string &name, const unsigned int state=0)
 
const MaterialProperty< T > & getNeighborMaterialProperty (const std::string &name, const unsigned int state=0)
 
const ADMaterialProperty< T > & getNeighborADMaterialProperty (const std::string &name)
 
const ADMaterialProperty< T > & getNeighborADMaterialProperty (const std::string &name)
 
const MaterialProperty< T > & getNeighborMaterialPropertyOld (const std::string &name)
 
const MaterialProperty< T > & getNeighborMaterialPropertyOld (const std::string &name)
 
const MaterialProperty< T > & getNeighborMaterialPropertyOlder (const std::string &name)
 
const MaterialProperty< T > & getNeighborMaterialPropertyOlder (const std::string &name)
 
const GenericMaterialProperty< T, is_ad > & getGenericNeighborMaterialPropertyByName (const std::string &name, const unsigned int state=0)
 
const GenericMaterialProperty< T, is_ad > & getGenericNeighborMaterialPropertyByName (const std::string &name, const unsigned int state=0)
 
const MaterialProperty< T > & getNeighborMaterialPropertyByName (const std::string &name, const unsigned int state=0)
 
const MaterialProperty< T > & getNeighborMaterialPropertyByName (const std::string &name, const unsigned int state=0)
 
const ADMaterialProperty< T > & getNeighborADMaterialPropertyByName (const std::string &name)
 
const ADMaterialProperty< T > & getNeighborADMaterialPropertyByName (const std::string &name)
 
const GenericOptionalMaterialProperty< T, is_ad > & getGenericOptionalMaterialProperty (const std::string &name, const unsigned int state=0)
 
const GenericOptionalMaterialProperty< T, is_ad > & getGenericOptionalMaterialProperty (const std::string &name, const unsigned int state=0)
 
const OptionalMaterialProperty< T > & getOptionalMaterialProperty (const std::string &name, const unsigned int state=0)
 
const OptionalMaterialProperty< T > & getOptionalMaterialProperty (const std::string &name, const unsigned int state=0)
 
const OptionalADMaterialProperty< T > & getOptionalADMaterialProperty (const std::string &name)
 
const OptionalADMaterialProperty< T > & getOptionalADMaterialProperty (const std::string &name)
 
const OptionalMaterialProperty< T > & getOptionalMaterialPropertyOld (const std::string &name)
 
const OptionalMaterialProperty< T > & getOptionalMaterialPropertyOld (const std::string &name)
 
const OptionalMaterialProperty< T > & getOptionalMaterialPropertyOlder (const std::string &name)
 
const OptionalMaterialProperty< T > & getOptionalMaterialPropertyOlder (const std::string &name)
 
MaterialBasegetMaterial (const std::string &name)
 
MaterialBasegetMaterial (const std::string &name)
 
MaterialBasegetMaterialByName (const std::string &name, bool no_warn=false)
 
MaterialBasegetMaterialByName (const std::string &name, bool no_warn=false)
 
bool hasMaterialProperty (const std::string &name)
 
bool hasMaterialProperty (const std::string &name)
 
bool hasMaterialPropertyByName (const std::string &name)
 
bool hasMaterialPropertyByName (const std::string &name)
 
bool hasADMaterialProperty (const std::string &name)
 
bool hasADMaterialProperty (const std::string &name)
 
bool hasADMaterialPropertyByName (const std::string &name)
 
bool hasADMaterialPropertyByName (const std::string &name)
 
bool hasGenericMaterialProperty (const std::string &name)
 
bool hasGenericMaterialProperty (const std::string &name)
 
bool hasGenericMaterialPropertyByName (const std::string &name)
 
bool hasGenericMaterialPropertyByName (const std::string &name)
 
const FunctiongetFunction (const std::string &name) const
 
const FunctiongetFunctionByName (const FunctionName &name) const
 
bool hasFunction (const std::string &param_name) const
 
bool hasFunctionByName (const FunctionName &name) const
 
bool isDefaultPostprocessorValue (const std::string &param_name, const unsigned int index=0) const
 
bool hasPostprocessor (const std::string &param_name, const unsigned int index=0) const
 
bool hasPostprocessorByName (const PostprocessorName &name) const
 
std::size_t coupledPostprocessors (const std::string &param_name) const
 
const PostprocessorName & getPostprocessorName (const std::string &param_name, const unsigned int index=0) const
 
const VectorPostprocessorValuegetVectorPostprocessorValue (const std::string &param_name, const std::string &vector_name) const
 
const VectorPostprocessorValuegetVectorPostprocessorValue (const std::string &param_name, const std::string &vector_name, bool needs_broadcast) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name, bool needs_broadcast) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueOld (const std::string &param_name, const std::string &vector_name) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueOld (const std::string &param_name, const std::string &vector_name, bool needs_broadcast) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
const VectorPostprocessorValuegetVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name, bool needs_broadcast) const
 
const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValue (const std::string &param_name, const std::string &vector_name) const
 
const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValueByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValueOld (const std::string &param_name, const std::string &vector_name) const
 
const ScatterVectorPostprocessorValuegetScatterVectorPostprocessorValueOldByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
bool hasVectorPostprocessor (const std::string &param_name, const std::string &vector_name) const
 
bool hasVectorPostprocessor (const std::string &param_name) const
 
bool hasVectorPostprocessorByName (const VectorPostprocessorName &name, const std::string &vector_name) const
 
bool hasVectorPostprocessorByName (const VectorPostprocessorName &name) const
 
const VectorPostprocessorName & getVectorPostprocessorName (const std::string &param_name) const
 
T & getSampler (const std::string &name)
 
SamplergetSampler (const std::string &name)
 
T & getSamplerByName (const SamplerName &name)
 
SamplergetSamplerByName (const SamplerName &name)
 
virtual void meshChanged ()
 
virtual void meshDisplaced ()
 
PerfGraphperfGraph ()
 
const PostprocessorValuegetPostprocessorValue (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValue (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValueOld (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValueOld (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValueOlder (const std::string &param_name, const unsigned int index=0) const
 
const PostprocessorValuegetPostprocessorValueOlder (const std::string &param_name, const unsigned int index=0) const
 
virtual const PostprocessorValuegetPostprocessorValueByName (const PostprocessorName &name) const
 
virtual const PostprocessorValuegetPostprocessorValueByName (const PostprocessorName &name) const
 
const PostprocessorValuegetPostprocessorValueOldByName (const PostprocessorName &name) const
 
const PostprocessorValuegetPostprocessorValueOldByName (const PostprocessorName &name) const
 
const PostprocessorValuegetPostprocessorValueOlderByName (const PostprocessorName &name) const
 
const PostprocessorValuegetPostprocessorValueOlderByName (const PostprocessorName &name) const
 
bool isVectorPostprocessorDistributed (const std::string &param_name) const
 
bool isVectorPostprocessorDistributed (const std::string &param_name) const
 
bool isVectorPostprocessorDistributedByName (const VectorPostprocessorName &name) const
 
bool isVectorPostprocessorDistributedByName (const VectorPostprocessorName &name) const
 
const DistributiongetDistribution (const std::string &name) const
 
const T & getDistribution (const std::string &name) const
 
const DistributiongetDistribution (const std::string &name) const
 
const T & getDistribution (const std::string &name) const
 
const DistributiongetDistributionByName (const DistributionName &name) const
 
const T & getDistributionByName (const std::string &name) const
 
const DistributiongetDistributionByName (const DistributionName &name) const
 
const T & getDistributionByName (const std::string &name) const
 
const Parallel::Communicator & comm () const
 
processor_id_type n_processors () const
 
processor_id_type processor_id () const
 

Static Public Member Functions

static InputParameters validParams ()
 
static void sort (typename std::vector< T > &vector)
 
static void sortDFS (typename std::vector< T > &vector)
 
static void cyclicDependencyError (CyclicDependencyException< T2 > &e, const std::string &header)
 

Public Attributes

const ConsoleStream _console
 

Static Public Attributes

static constexpr PropertyValue::id_type default_property_id
 
static constexpr PropertyValue::id_type zero_property_id
 
static constexpr auto SYSTEM
 
static constexpr auto NAME
 

Protected Member Functions

virtual void computeQpProperties () override
 Computes properties that are functions only of the current quadrature point (_qp), e.g. More...
 
virtual void computeQpIProperties () override
 Computes properties that are functions both of _qp and _i, for example the weighted gap. More...
 
void selfInitialize ()
 
void selfTimestepSetup ()
 
virtual const VariableTestValuetest () const =0
 
virtual bool constrainedByOwner () const =0
 
template<typename K , typename V >
findValue (const std::unordered_map< K, V > &map, const K &key, const V &default_value=0) const
 Find a value in a map or return a default if the key doesn't exist. More...
 
virtual void addPostprocessorDependencyHelper (const PostprocessorName &name) const override
 
virtual void addVectorPostprocessorDependencyHelper (const VectorPostprocessorName &name) const override
 
virtual void addUserObjectDependencyHelper (const UserObject &uo) const override
 
void addReporterDependencyHelper (const ReporterName &reporter_name) override
 
const ReporterNamegetReporterName (const std::string &param_name) const
 
T & declareRestartableData (const std::string &data_name, Args &&... args)
 
ManagedValue< T > declareManagedRestartableDataWithContext (const std::string &data_name, void *context, Args &&... args)
 
const T & getRestartableData (const std::string &data_name) const
 
T & declareRestartableDataWithContext (const std::string &data_name, void *context, Args &&... args)
 
T & declareRecoverableData (const std::string &data_name, Args &&... args)
 
T & declareRestartableDataWithObjectName (const std::string &data_name, const std::string &object_name, Args &&... args)
 
T & declareRestartableDataWithObjectNameWithContext (const std::string &data_name, const std::string &object_name, void *context, Args &&... args)
 
std::string restartableName (const std::string &data_name) const
 
const T & getMeshProperty (const std::string &data_name, const std::string &prefix)
 
const T & getMeshProperty (const std::string &data_name)
 
bool hasMeshProperty (const std::string &data_name, const std::string &prefix) const
 
bool hasMeshProperty (const std::string &data_name, const std::string &prefix) const
 
bool hasMeshProperty (const std::string &data_name) const
 
bool hasMeshProperty (const std::string &data_name) const
 
std::string meshPropertyName (const std::string &data_name) const
 
PerfID registerTimedSection (const std::string &section_name, const unsigned int level) const
 
PerfID registerTimedSection (const std::string &section_name, const unsigned int level, const std::string &live_message, const bool print_dots=true) const
 
std::string timedSectionName (const std::string &section_name) const
 
bool isCoupledScalar (const std::string &var_name, unsigned int i=0) const
 
unsigned int coupledScalarComponents (const std::string &var_name) const
 
unsigned int coupledScalar (const std::string &var_name, unsigned int comp=0) const
 
libMesh::Order coupledScalarOrder (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarValue (const std::string &var_name, unsigned int comp=0) const
 
const ADVariableValueadCoupledScalarValue (const std::string &var_name, unsigned int comp=0) const
 
const GenericVariableValue< is_ad > & coupledGenericScalarValue (const std::string &var_name, unsigned int comp=0) const
 
const GenericVariableValue< false > & coupledGenericScalarValue (const std::string &var_name, const unsigned int comp) const
 
const GenericVariableValue< true > & coupledGenericScalarValue (const std::string &var_name, const unsigned int comp) const
 
const VariableValuecoupledVectorTagScalarValue (const std::string &var_name, TagID tag, unsigned int comp=0) const
 
const VariableValuecoupledMatrixTagScalarValue (const std::string &var_name, TagID tag, unsigned int comp=0) const
 
const VariableValuecoupledScalarValueOld (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarValueOlder (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDot (const std::string &var_name, unsigned int comp=0) const
 
const ADVariableValueadCoupledScalarDot (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotDot (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotOld (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotDotOld (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotDu (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledScalarDotDotDu (const std::string &var_name, unsigned int comp=0) const
 
const MooseVariableScalargetScalarVar (const std::string &var_name, unsigned int comp) const
 
const std::set< SubdomainID > & getHigherDimSubdomainIDs () const
 
const std::set< BoundaryID > & getBoundaryIDs () const
 
const AutomaticMortarGenerationamg () const
 
bool interpolateNormals () const
 
virtual void checkMaterialProperty (const std::string &name, const unsigned int state)
 
void markMatPropRequested (const std::string &)
 
MaterialPropertyName getMaterialPropertyName (const std::string &name) const
 
void checkExecutionStage ()
 
virtual void coupledCallback (const std::string &, bool) const
 
virtual bool isCoupled (const std::string &var_name, unsigned int i=0) const
 
virtual bool isCoupledConstant (const std::string &var_name) const
 
unsigned int coupledComponents (const std::string &var_name) const
 
VariableName coupledName (const std::string &var_name, unsigned int comp=0) const
 
std::vector< VariableName > coupledNames (const std::string &var_name) const
 
virtual unsigned int coupled (const std::string &var_name, unsigned int comp=0) const
 
std::vector< unsigned intcoupledIndices (const std::string &var_name) const
 
virtual const VariableValuecoupledValue (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableValue *> coupledValues (const std::string &var_name) const
 
std::vector< const VectorVariableValue *> coupledVectorValues (const std::string &var_name) const
 
const GenericVariableValue< is_ad > & coupledGenericValue (const std::string &var_name, unsigned int comp=0) const
 
const GenericVariableValue< false > & coupledGenericValue (const std::string &var_name, unsigned int comp) const
 
const GenericVariableValue< true > & coupledGenericValue (const std::string &var_name, unsigned int comp) const
 
const GenericVectorVariableValue< is_ad > & coupledGenericVectorValue (const std::string &var_name, unsigned int comp=0) const
 
const GenericVectorVariableValue< false > & coupledGenericVectorValue (const std::string &var_name, unsigned int comp) const
 
const GenericVectorVariableValue< true > & coupledGenericVectorValue (const std::string &var_name, unsigned int comp) const
 
std::vector< const GenericVariableValue< is_ad > *> coupledGenericValues (const std::string &var_name) const
 
std::vector< const GenericVariableValue< false > *> coupledGenericValues (const std::string &var_name) const
 
std::vector< const GenericVariableValue< true > *> coupledGenericValues (const std::string &var_name) const
 
const GenericVariableValue< is_ad > & coupledGenericDofValue (const std::string &var_name, unsigned int comp=0) const
 
const GenericVariableValue< false > & coupledGenericDofValue (const std::string &var_name, unsigned int comp) const
 
const GenericVariableValue< true > & coupledGenericDofValue (const std::string &var_name, unsigned int comp) const
 
const GenericVariableValue< is_ad > & coupledGenericDot (const std::string &var_name, unsigned int comp=0) const
 
const GenericVariableValue< false > & coupledGenericDot (const std::string &var_name, unsigned int comp) const
 
const GenericVariableValue< true > & coupledGenericDot (const std::string &var_name, unsigned int comp) const
 
const GenericVariableValue< is_ad > & coupledGenericDotDot (const std::string &var_name, unsigned int comp=0) const
 
const GenericVariableValue< false > & coupledGenericDotDot (const std::string &var_name, unsigned int comp) const
 
const GenericVariableValue< true > & coupledGenericDotDot (const std::string &var_name, unsigned int comp) const
 
virtual const VariableValuecoupledValueLower (const std::string &var_name, unsigned int comp=0) const
 
const ADVariableValueadCoupledValue (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const ADVariableValue *> adCoupledValues (const std::string &var_name) const
 
const ADVariableValueadCoupledLowerValue (const std::string &var_name, unsigned int comp=0) const
 
const ADVectorVariableValueadCoupledVectorValue (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const ADVectorVariableValue *> adCoupledVectorValues (const std::string &var_name) const
 
virtual const VariableValuecoupledVectorTagValue (const std::string &var_names, TagID tag, unsigned int index=0) const
 
virtual const VariableValuecoupledVectorTagValue (const std::string &var_names, const std::string &tag_name, unsigned int index=0) const
 
std::vector< const VariableValue *> coupledVectorTagValues (const std::string &var_names, TagID tag) const
 
std::vector< const VariableValue *> coupledVectorTagValues (const std::string &var_names, const std::string &tag_name) const
 
virtual const ArrayVariableValuecoupledVectorTagArrayValue (const std::string &var_names, TagID tag, unsigned int index=0) const
 
virtual const ArrayVariableValuecoupledVectorTagArrayValue (const std::string &var_names, const std::string &tag_name, unsigned int index=0) const
 
std::vector< const ArrayVariableValue *> coupledVectorTagArrayValues (const std::string &var_names, TagID tag) const
 
std::vector< const ArrayVariableValue *> coupledVectorTagArrayValues (const std::string &var_names, const std::string &tag_name) const
 
virtual const VariableGradientcoupledVectorTagGradient (const std::string &var_names, TagID tag, unsigned int index=0) const
 
virtual const VariableGradientcoupledVectorTagGradient (const std::string &var_names, const std::string &tag_name, unsigned int index=0) const
 
std::vector< const VariableGradient *> coupledVectorTagGradients (const std::string &var_names, TagID tag) const
 
std::vector< const VariableGradient *> coupledVectorTagGradients (const std::string &var_names, const std::string &tag_name) const
 
virtual const ArrayVariableGradientcoupledVectorTagArrayGradient (const std::string &var_names, TagID tag, unsigned int index=0) const
 
virtual const ArrayVariableGradientcoupledVectorTagArrayGradient (const std::string &var_names, const std::string &tag_name, unsigned int index=0) const
 
std::vector< const ArrayVariableGradient *> coupledVectorTagArrayGradients (const std::string &var_names, TagID tag) const
 
std::vector< const ArrayVariableGradient *> coupledVectorTagArrayGradients (const std::string &var_names, const std::string &tag_name) const
 
virtual const VariableValuecoupledVectorTagDofValue (const std::string &var_name, TagID tag, unsigned int index=0) const
 
virtual const VariableValuecoupledVectorTagDofValue (const std::string &var_names, const std::string &tag_name, unsigned int index=0) const
 
const ArrayVariableValuecoupledVectorTagArrayDofValue (const std::string &var_name, const std::string &tag_name, unsigned int comp=0) const
 
std::vector< const VariableValue *> coupledVectorTagDofValues (const std::string &var_names, TagID tag) const
 
std::vector< const VariableValue *> coupledVectorTagDofValues (const std::string &var_names, const std::string &tag_name) const
 
virtual const VariableValuecoupledMatrixTagValue (const std::string &var_names, TagID tag, unsigned int index=0) const
 
virtual const VariableValuecoupledMatrixTagValue (const std::string &var_names, const std::string &tag_name, unsigned int index=0) const
 
std::vector< const VariableValue *> coupledMatrixTagValues (const std::string &var_names, TagID tag) const
 
std::vector< const VariableValue *> coupledMatrixTagValues (const std::string &var_names, const std::string &tag_name) const
 
virtual const VectorVariableValuecoupledVectorValue (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableValuecoupledArrayValue (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const ArrayVariableValue *> coupledArrayValues (const std::string &var_name) const
 
MooseWritableVariablewritableVariable (const std::string &var_name, unsigned int comp=0)
 
virtual VariableValuewritableCoupledValue (const std::string &var_name, unsigned int comp=0)
 
void checkWritableVar (MooseWritableVariable *var)
 
virtual const VariableValuecoupledValueOld (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableValue *> coupledValuesOld (const std::string &var_name) const
 
std::vector< const VectorVariableValue *> coupledVectorValuesOld (const std::string &var_name) const
 
virtual const VariableValuecoupledValueOlder (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableValue *> coupledValuesOlder (const std::string &var_name) const
 
virtual const VariableValuecoupledValuePreviousNL (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableValuecoupledVectorValueOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableValuecoupledVectorValueOlder (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableValuecoupledArrayValueOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableValuecoupledArrayValueOlder (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableGradientcoupledGradient (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableGradient *> coupledGradients (const std::string &var_name) const
 
const ADVariableGradientadCoupledGradient (const std::string &var_name, unsigned int comp=0) const
 
const ADVariableGradientadCoupledGradientDot (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const ADVariableGradient *> adCoupledGradients (const std::string &var_name) const
 
const GenericVariableGradient< is_ad > & coupledGenericGradient (const std::string &var_name, unsigned int comp=0) const
 
const GenericVariableGradient< false > & coupledGenericGradient (const std::string &var_name, unsigned int comp) const
 
const GenericVariableGradient< true > & coupledGenericGradient (const std::string &var_name, unsigned int comp) const
 
std::vector< const GenericVariableGradient< is_ad > *> coupledGenericGradients (const std::string &var_name) const
 
std::vector< const GenericVariableGradient< false > *> coupledGenericGradients (const std::string &var_name) const
 
std::vector< const GenericVariableGradient< true > *> coupledGenericGradients (const std::string &var_name) const
 
const ADVectorVariableGradientadCoupledVectorGradient (const std::string &var_name, unsigned int comp=0) const
 
const ADVariableSecondadCoupledSecond (const std::string &var_name, unsigned int comp=0) const
 
const ADVectorVariableSecondadCoupledVectorSecond (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableGradientcoupledGradientOld (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableGradient *> coupledGradientsOld (const std::string &var_name) const
 
virtual const VariableGradientcoupledGradientOlder (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableGradientcoupledGradientPreviousNL (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableGradientcoupledGradientDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableGradientcoupledGradientDotDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableGradientcoupledVectorGradient (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableGradientcoupledVectorGradientOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableGradientcoupledVectorGradientOlder (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableGradientcoupledArrayGradient (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableGradientcoupledArrayGradientOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableGradientcoupledArrayGradientOlder (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableGradientcoupledArrayGradientDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableCurlcoupledCurl (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableCurlcoupledCurlOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableCurlcoupledCurlOlder (const std::string &var_name, unsigned int comp=0) const
 
const ADVectorVariableCurladCoupledCurl (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableDivergencecoupledDiv (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableDivergencecoupledDivOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableDivergencecoupledDivOlder (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableSecondcoupledSecond (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableSecondcoupledSecondOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableSecondcoupledSecondOlder (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableSecondcoupledSecondPreviousNL (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledDot (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableValue *> coupledDots (const std::string &var_name) const
 
virtual const VariableValuecoupledDotDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledDotOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledDotDotOld (const std::string &var_name, unsigned int comp=0) const
 
const ADVariableValueadCoupledDot (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const ADVariableValue *> adCoupledDots (const std::string &var_name) const
 
const ADVariableValueadCoupledDotDot (const std::string &var_name, unsigned int comp=0) const
 
const ADVectorVariableValueadCoupledVectorDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableValuecoupledVectorDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableValuecoupledVectorDotDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableValuecoupledVectorDotOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VectorVariableValuecoupledVectorDotDotOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledVectorDotDu (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledVectorDotDotDu (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableValuecoupledArrayDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableValuecoupledArrayDotDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableValuecoupledArrayDotOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const ArrayVariableValuecoupledArrayDotDotOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledDotDu (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledDotDotDu (const std::string &var_name, unsigned int comp=0) const
 
const VariableValuecoupledArrayDotDu (const std::string &var_name, unsigned int comp=0) const
 
const T & coupledNodalValue (const std::string &var_name, unsigned int comp=0) const
 
const Moose::ADType< T >::typeadCoupledNodalValue (const std::string &var_name, unsigned int comp=0) const
 
const T & coupledNodalValueOld (const std::string &var_name, unsigned int comp=0) const
 
const T & coupledNodalValueOlder (const std::string &var_name, unsigned int comp=0) const
 
const T & coupledNodalValuePreviousNL (const std::string &var_name, unsigned int comp=0) const
 
const T & coupledNodalDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledNodalDotDot (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledNodalDotOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledNodalDotDotOld (const std::string &var_name, unsigned int comp=0) const
 
virtual const VariableValuecoupledDofValues (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableValue *> coupledAllDofValues (const std::string &var_name) const
 
virtual const VariableValuecoupledDofValuesOld (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableValue *> coupledAllDofValuesOld (const std::string &var_name) const
 
virtual const VariableValuecoupledDofValuesOlder (const std::string &var_name, unsigned int comp=0) const
 
std::vector< const VariableValue *> coupledAllDofValuesOlder (const std::string &var_name) const
 
virtual const ArrayVariableValuecoupledArrayDofValues (const std::string &var_name, unsigned int comp=0) const
 
virtual const ADVariableValueadCoupledDofValues (const std::string &var_name, unsigned int comp=0) const
 
const ADVariableValueadZeroValue () const
 
const ADVariableGradientadZeroGradient () const
 
const ADVariableSecondadZeroSecond () const
 
const GenericVariableValue< is_ad > & genericZeroValue ()
 
const GenericVariableValue< false > & genericZeroValue ()
 
const GenericVariableValue< true > & genericZeroValue ()
 
const GenericVariableGradient< is_ad > & genericZeroGradient ()
 
const GenericVariableGradient< false > & genericZeroGradient ()
 
const GenericVariableGradient< true > & genericZeroGradient ()
 
const GenericVariableSecond< is_ad > & genericZeroSecond ()
 
const GenericVariableSecond< false > & genericZeroSecond ()
 
const GenericVariableSecond< true > & genericZeroSecond ()
 
bool checkVar (const std::string &var_name, unsigned int comp=0, unsigned int comp_bound=0) const
 
const MooseVariableFieldBasegetFEVar (const std::string &var_name, unsigned int comp) const
 
const MooseVariableFieldBasegetFieldVar (const std::string &var_name, unsigned int comp) const
 
MooseVariableFieldBasegetFieldVar (const std::string &var_name, unsigned int comp)
 
const T * getVarHelper (const std::string &var_name, unsigned int comp) const
 
T * getVarHelper (const std::string &var_name, unsigned int comp)
 
MooseVariablegetVar (const std::string &var_name, unsigned int comp)
 
const MooseVariablegetVar (const std::string &var_name, unsigned int comp) const
 
VectorMooseVariablegetVectorVar (const std::string &var_name, unsigned int comp)
 
const VectorMooseVariablegetVectorVar (const std::string &var_name, unsigned int comp) const
 
ArrayMooseVariablegetArrayVar (const std::string &var_name, unsigned int comp)
 
const ArrayMooseVariablegetArrayVar (const std::string &var_name, unsigned int comp) const
 
void validateExecutionerType (const std::string &name, const std::string &fn_name) const
 
std::vector< T > coupledVectorHelper (const std::string &var_name, const Func &func) const
 
const T & getReporterValue (const std::string &param_name, const std::size_t time_index=0)
 
const T & getReporterValue (const std::string &param_name, ReporterMode mode, const std::size_t time_index=0)
 
const T & getReporterValue (const std::string &param_name, const std::size_t time_index=0)
 
const T & getReporterValue (const std::string &param_name, ReporterMode mode, const std::size_t time_index=0)
 
const T & getReporterValueByName (const ReporterName &reporter_name, const std::size_t time_index=0)
 
const T & getReporterValueByName (const ReporterName &reporter_name, ReporterMode mode, const std::size_t time_index=0)
 
const T & getReporterValueByName (const ReporterName &reporter_name, const std::size_t time_index=0)
 
const T & getReporterValueByName (const ReporterName &reporter_name, ReporterMode mode, const std::size_t time_index=0)
 
bool hasReporterValue (const std::string &param_name) const
 
bool hasReporterValue (const std::string &param_name) const
 
bool hasReporterValue (const std::string &param_name) const
 
bool hasReporterValue (const std::string &param_name) const
 
bool hasReporterValueByName (const ReporterName &reporter_name) const
 
bool hasReporterValueByName (const ReporterName &reporter_name) const
 
bool hasReporterValueByName (const ReporterName &reporter_name) const
 
bool hasReporterValueByName (const ReporterName &reporter_name) const
 
const GenericMaterialProperty< T, is_ad > * defaultGenericMaterialProperty (const std::string &name)
 
const GenericMaterialProperty< T, is_ad > * defaultGenericMaterialProperty (const std::string &name)
 
const MaterialProperty< T > * defaultMaterialProperty (const std::string &name)
 
const MaterialProperty< T > * defaultMaterialProperty (const std::string &name)
 
const ADMaterialProperty< T > * defaultADMaterialProperty (const std::string &name)
 
const ADMaterialProperty< T > * defaultADMaterialProperty (const std::string &name)
 

Static Protected Member Functions

static std::string meshPropertyName (const std::string &data_name, const std::string &prefix)
 
static void trimDerivative (dof_id_type remove_derivative_index, ADReal &dual_number)
 
static void trimInteriorNodeDerivatives (const std::map< unsigned int, unsigned int > &primary_ip_lowerd_map, const Variables &moose_var, DualNumbers &ad_vars, const bool is_secondary)
 

Protected Attributes

std::unordered_map< const DofObject *, std::array< ADReal, 2 > > _dof_to_weighted_tangential_velocity
 A map from node to two weighted tangential velocities. More...
 
std::unordered_map< const DofObject *, std::array< ADReal, 2 > > _dof_to_real_tangential_velocity
 A map from node to two interpolated, physical tangential velocities. More...
 
std::array< const ADReal *, 2 > _tangential_vel_ptr = {{nullptr, nullptr}}
 An array of two pointers to avoid copies. More...
 
std::array< ADReal, 2 > _qp_tangential_velocity
 The value of the tangential velocity values at the current quadrature point. More...
 
std::array< ADReal, 2 > _qp_real_tangential_velocity
 The value of the "real" tangential velocity values at the current quadrature point. More...
 
ADRealVectorValue _qp_tangential_velocity_nodal
 The value of the tangential velocity vectors at the current node. More...
 
ADRealVectorValue _qp_real_tangential_velocity_nodal
 The value of the real tangential velocity vectors at the current node. More...
 
SystemBase_sys
 Reference to the EquationSystem object. More...
 
MooseVariableField< Real > & _secondary_var
 Reference to the secondary variable. More...
 
MooseVariableField< Real > & _primary_var
 Reference to the primary variable. More...
 
const ADVariableValue_secondary_x_dot
 x-velocity on the secondary face More...
 
const ADVariableValue_primary_x_dot
 x-velocity on the primary face More...
 
const ADVariableValue_secondary_y_dot
 y-velocity on the secondary face More...
 
const ADVariableValue_primary_y_dot
 y-velocity on the primary face More...
 
const ADVariableValue *const _secondary_z_dot
 z-velocity on the secondary face More...
 
const ADVariableValue *const _primary_z_dot
 z-velocity on the primary face More...
 
bool _3d
 Automatic flag to determine whether we are doing three-dimensional work. More...
 
FEProblemBase_fe_problem
 The base finite element problem. More...
 
ADReal _qp_gap
 The value of the gap at the current quadrature point. More...
 
Real _qp_factor
 The value of the LM at the current quadrature point. More...
 
const bool _nodal
 Whether the dof objects are nodal; if they're not, then they're elemental. More...
 
const MooseVariable *const _disp_x_var
 The x displacement variable. More...
 
const MooseVariable *const _disp_y_var
 The y displacement variable. More...
 
const bool _has_disp_z
 For 2D mortar contact no displacement will be specified, so const pointers used. More...
 
const MooseVariable *const _disp_z_var
 The z displacement variable. More...
 
const ADVariableValue_secondary_disp_x
 x-displacement on the secondary face More...
 
const ADVariableValue_primary_disp_x
 x-displacement on the primary face More...
 
const ADVariableValue_secondary_disp_y
 y-displacement on the secondary face More...
 
const ADVariableValue_primary_disp_y
 y-displacement on the primary face More...
 
const ADVariableValue *const _secondary_disp_z
 z-displacement on the secondary face More...
 
const ADVariableValue *const _primary_disp_z
 z-displacement on the primary face More...
 
const MooseArray< Real > & _coord
 Member for handling change of coordinate systems (xyz, rz, spherical) More...
 
ADRealVectorValue _qp_gap_nodal
 Vector for computation of weighted gap with nodal normals. More...
 
ADRealVectorValue _qp_displacement_nodal
 Vector for computation of relative displacement (determines mixity ratio in interface problems) More...
 
std::unordered_map< const DofObject *, std::pair< ADReal, Real > > _dof_to_weighted_gap
 A map from node to weighted gap and normalization (if requested) More...
 
std::unordered_map< const DofObject *, ADRealVectorValue_dof_to_weighted_displacements
 A map from node to weighted displacements. More...
 
const ADReal_weighted_gap_ptr = nullptr
 A pointer members that can be used to help avoid copying ADReals. More...
 
const Real_normalization_ptr = nullptr
 
const VariableTestValue_test = nullptr
 A pointer to the test function associated with the weighted gap. More...
 
bool _is_weighted_gap_nodal = true
 Whether the weighted gap is associated with nodes or elements (like for a CONSTANT MONOMIAL Lagrange multiplier). More...
 
unsigned int _qp = 0
 Quadrature point index for the mortar segments. More...
 
unsigned int _i = 0
 Test function index. More...
 
SubProblem_subproblem
 
const THREAD_ID _tid
 
Assembly_assembly
 
const Moose::CoordinateSystemType_coord_sys
 
const bool _duplicate_initial_execution
 
std::set< std::string > _depend_uo
 
const bool & _enabled
 
MooseApp_app
 
const std::string _type
 
const std::string _name
 
const InputParameters_pars
 
Factory_factory
 
ActionFactory_action_factory
 
const ExecFlagEnum_execute_enum
 
const ExecFlagType_current_execute_flag
 
MooseApp_restartable_app
 
const std::string _restartable_system_name
 
const THREAD_ID _restartable_tid
 
const bool _restartable_read_only
 
FEProblemBase_mci_feproblem
 
FEProblemBase_mdi_feproblem
 
MooseApp_pg_moose_app
 
const std::string _prefix
 
FEProblemBase_sc_fe_problem
 
const THREAD_ID _sc_tid
 
const Real_real_zero
 
const VariableValue_scalar_zero
 
const Point & _point_zero
 
FEProblemBase_mci_fe_problem
 
SubProblem_mci_subproblem
 
const THREAD_ID _mci_tid
 
MooseMesh_mci_mesh
 
Assembly_mci_assembly
 
const MortarData_mortar_data
 
const BoundaryID _secondary_id
 
const BoundaryID _primary_id
 
const SubdomainID _secondary_subdomain_id
 
const SubdomainID _primary_subdomain_id
 
std::set< BoundaryID_secondary_set
 
std::set< BoundaryID_boundary_ids
 
std::set< SubdomainID_higher_dim_subdomain_ids
 
const bool _interpolate_normals
 
const MooseArray< Point > & _phys_points_secondary
 
const MooseArray< Point > & _phys_points_primary
 
const libMesh::QBase *const & _qrule_msm
 
const libMesh::QBase *const & _qrule_face
 
Elem const *const & _lower_secondary_elem
 
Elem const *const & _lower_primary_elem
 
const std::vector< Real > & _JxW_msm
 
const Elem *const & _msm_elem
 
std::vector< Point > _normals
 
MaterialData_neighbor_material_data
 
const InputParameters_mi_params
 
const std::string _mi_name
 
const MooseObjectName _mi_moose_object_name
 
FEProblemBase_mi_feproblem
 
SubProblem_mi_subproblem
 
const THREAD_ID _mi_tid
 
const Moose::MaterialDataType _material_data_type
 
MaterialData_material_data
 
bool _stateful_allowed
 
bool _get_material_property_called
 
std::vector< std::unique_ptr< PropertyValue > > _default_properties
 
std::unordered_set< unsigned int_material_property_dependencies
 
const MaterialPropertyName _get_suffix
 
const bool _use_interpolated_state
 
bool _neighbor_nodal
 
const InputParameters_c_parameters
 
const std::string & _c_name
 
const std::string & _c_type
 
FEProblemBase_c_fe_problem
 
const SystemBase *const _c_sys
 
std::unordered_map< std::string, std::vector< MooseVariableFieldBase *> > _coupled_vars
 
std::vector< MooseVariableFieldBase *> _coupled_moose_vars
 
std::vector< MooseVariable *> _coupled_standard_moose_vars
 
std::vector< VectorMooseVariable *> _coupled_vector_moose_vars
 
std::vector< ArrayMooseVariable *> _coupled_array_moose_vars
 
std::vector< MooseVariableFV< Real > *> _coupled_standard_fv_moose_vars
 
std::vector< MooseLinearVariableFV< Real > *> _coupled_standard_linear_fv_moose_vars
 
const std::unordered_map< std::string, std::string > & _new_to_deprecated_coupled_vars
 
bool _c_nodal
 
bool _c_is_implicit
 
const bool _c_allow_element_to_nodal_coupling
 
THREAD_ID _c_tid
 
std::unordered_map< std::string, std::vector< std::unique_ptr< VariableValue > > > _default_value
 
std::unordered_map< std::string, std::unique_ptr< MooseArray< ADReal > > > _ad_default_value
 
std::unordered_map< std::string, std::unique_ptr< VectorVariableValue > > _default_vector_value
 
std::unordered_map< std::string, std::unique_ptr< ArrayVariableValue > > _default_array_value
 
std::unordered_map< std::string, std::unique_ptr< MooseArray< ADRealVectorValue > > > _ad_default_vector_value
 
VariableValue _default_value_zero
 
VariableGradient _default_gradient
 
MooseArray< ADRealVectorValue_ad_default_gradient
 
MooseArray< ADRealTensorValue_ad_default_vector_gradient
 
VariableSecond _default_second
 
MooseArray< ADRealTensorValue_ad_default_second
 
MooseArray< ADRealVectorValue_ad_default_curl
 
const VariableValue_zero
 
const VariablePhiValue_phi_zero
 
const MooseArray< ADReal > & _ad_zero
 
const VariableGradient_grad_zero
 
const MooseArray< ADRealVectorValue > & _ad_grad_zero
 
const VariablePhiGradient_grad_phi_zero
 
const VariableSecond_second_zero
 
const MooseArray< ADRealTensorValue > & _ad_second_zero
 
const VariablePhiSecond_second_phi_zero
 
const VectorVariableValue_vector_zero
 
const VectorVariableCurl_vector_curl_zero
 
VectorVariableValue _default_vector_value_zero
 
VectorVariableGradient _default_vector_gradient
 
VectorVariableCurl _default_vector_curl
 
VectorVariableDivergence _default_div
 
ArrayVariableValue _default_array_value_zero
 
ArrayVariableGradient _default_array_gradient
 
bool _coupleable_neighbor
 
const Parallel::Communicator & _communicator
 

Static Protected Attributes

static const std::string _interpolated_old
 
static const std::string _interpolated_older
 

Detailed Description

Creates dof object to weighted tangential velocities map.

Definition at line 17 of file WeightedVelocitiesUserObject.h.

Constructor & Destructor Documentation

◆ WeightedVelocitiesUserObject()

WeightedVelocitiesUserObject::WeightedVelocitiesUserObject ( const InputParameters parameters)

Definition at line 32 of file WeightedVelocitiesUserObject.C.

34  _sys(*getCheckedPointerParam<SystemBase *>("_sys")),
36  isParamValid("secondary_variable")
37  ? _sys.getActualFieldVariable<Real>(_tid, parameters.getMooseType("secondary_variable"))
38  : _sys.getActualFieldVariable<Real>(_tid, parameters.getMooseType("primary_variable"))),
40  isParamValid("primary_variable")
41  ? _sys.getActualFieldVariable<Real>(_tid, parameters.getMooseType("primary_variable"))
42  : _secondary_var),
45  _secondary_y_dot(adCoupledDot("disp_y")),
47  _secondary_z_dot(_has_disp_z ? &adCoupledDot("disp_z") : nullptr),
50 {
51  if (!getParam<bool>("use_displaced_mesh"))
52  paramError("use_displaced_mesh",
53  "'use_displaced_mesh' must be true for the WeightedVelocitiesUserObject object");
54 }
std::string getMooseType(const std::string &name) const
virtual const ADTemplateVariableValue< Real > & adUDot() const =0
const ADVariableValue & _secondary_y_dot
y-velocity on the secondary face
WeightedGapUserObject(const InputParameters &parameters)
const ADVariableValue *const _secondary_z_dot
z-velocity on the secondary face
bool _3d
Automatic flag to determine whether we are doing three-dimensional work.
SystemBase & _sys
Reference to the EquationSystem object.
const bool _has_disp_z
For 2D mortar contact no displacement will be specified, so const pointers used.
const ADVariableValue *const _primary_z_dot
z-velocity on the primary face
bool isParamValid(const std::string &name) const
const ADVariableValue & _primary_y_dot
y-velocity on the primary face
const ADVariableValue & _primary_x_dot
x-velocity on the primary face
const ADVariableValue & adCoupledDot(const std::string &var_name, unsigned int comp=0) const
MooseVariableField< Real > & _secondary_var
Reference to the secondary variable.
void paramError(const std::string &param, Args... args) const
MooseVariableField< Real > & _primary_var
Reference to the primary variable.
virtual const ADVariableValue & adCoupledNeighborValueDot(const std::string &var_name, unsigned int comp=0) const
const ADVariableValue & _secondary_x_dot
x-velocity on the secondary face
const THREAD_ID _tid
const InputParameters & parameters() const
virtual const ADTemplateVariableValue< Real > & adUDotNeighbor() const =0
MooseVariableField< T > & getActualFieldVariable(THREAD_ID tid, const std::string &var_name)

Member Function Documentation

◆ adPhysicalGap()

ADReal WeightedGapUserObject::adPhysicalGap ( const std::pair< ADReal, Real > &  gap) const
inlineinherited

Definition at line 62 of file WeightedGapUserObject.h.

Referenced by PenaltyWeightedGapUserObject::selfFinalize().

62 { return gap.first / gap.second; }

◆ computeQpIProperties()

void WeightedVelocitiesUserObject::computeQpIProperties ( )
overrideprotectedvirtual

Computes properties that are functions both of _qp and _i, for example the weighted gap.

Reimplemented from WeightedGapUserObject.

Reimplemented in BilinearMixedModeCohesiveZoneModel.

Definition at line 103 of file WeightedVelocitiesUserObject.C.

Referenced by BilinearMixedModeCohesiveZoneModel::computeQpIProperties().

104 {
106 
107  const auto & nodal_tangents = amg().getNodalTangents(*_lower_secondary_elem);
108  // Get the _dof_to_weighted_tangential_velocity map
109  const DofObject * const dof =
110  _is_weighted_gap_nodal ? static_cast<const DofObject *>(_lower_secondary_elem->node_ptr(_i))
111  : static_cast<const DofObject *>(_lower_secondary_elem);
112 
114  (*_test)[_i][_qp] * _qp_tangential_velocity_nodal * nodal_tangents[0][_i];
116  (*_test)[_i][_qp] * _qp_real_tangential_velocity_nodal * nodal_tangents[0][_i];
117 
118  // Get the _dof_to_weighted_tangential_velocity map for a second direction
119  if (_3d)
120  {
122  (*_test)[_i][_qp] * _qp_tangential_velocity_nodal * nodal_tangents[1][_i];
123 
125  (*_test)[_i][_qp] * _qp_real_tangential_velocity_nodal * nodal_tangents[1][_i];
126  }
127 }
ADRealVectorValue _qp_tangential_velocity_nodal
The value of the tangential velocity vectors at the current node.
unsigned int _qp
Quadrature point index for the mortar segments.
std::unordered_map< const DofObject *, std::array< ADReal, 2 > > _dof_to_real_tangential_velocity
A map from node to two interpolated, physical tangential velocities.
bool _3d
Automatic flag to determine whether we are doing three-dimensional work.
ADRealVectorValue _qp_real_tangential_velocity_nodal
The value of the real tangential velocity vectors at the current node.
Elem const *const & _lower_secondary_elem
const AutomaticMortarGeneration & amg() const
std::array< MooseUtils::SemidynamicVector< Point, 9 >, 2 > getNodalTangents(const Elem &secondary_elem) const
bool _is_weighted_gap_nodal
Whether the weighted gap is associated with nodes or elements (like for a CONSTANT MONOMIAL Lagrange ...
unsigned int _i
Test function index.
std::unordered_map< const DofObject *, std::array< ADReal, 2 > > _dof_to_weighted_tangential_velocity
A map from node to two weighted tangential velocities.
virtual void computeQpIProperties()
Computes properties that are functions both of _qp and _i, for example the weighted gap...

◆ computeQpProperties()

void WeightedVelocitiesUserObject::computeQpProperties ( )
overrideprotectedvirtual

Computes properties that are functions only of the current quadrature point (_qp), e.g.

indepedent of shape functions

Reimplemented from WeightedGapUserObject.

Reimplemented in BilinearMixedModeCohesiveZoneModel.

Definition at line 57 of file WeightedVelocitiesUserObject.C.

Referenced by BilinearMixedModeCohesiveZoneModel::computeQpProperties().

58 {
59  // Compute the value of _qp_gap
61 
62  // Trim derivatives
63  const auto & primary_ip_lowerd_map = amg().getPrimaryIpToLowerElementMap(
65  const auto & secondary_ip_lowerd_map =
67 
68  std::array<const MooseVariable *, 3> var_array{{_disp_x_var, _disp_y_var, _disp_z_var}};
69  std::array<ADReal, 3> primary_disp_dot{
70  {_primary_x_dot[_qp], _primary_y_dot[_qp], _has_disp_z ? (*_primary_z_dot)[_qp] : 0}};
71  std::array<ADReal, 3> secondary_disp_dot{
72  {_secondary_x_dot[_qp], _secondary_y_dot[_qp], _has_disp_z ? (*_secondary_z_dot)[_qp] : 0}};
73 
74  trimInteriorNodeDerivatives(primary_ip_lowerd_map, var_array, primary_disp_dot, false);
75  trimInteriorNodeDerivatives(secondary_ip_lowerd_map, var_array, secondary_disp_dot, true);
76 
77  const ADReal & prim_x_dot = primary_disp_dot[0];
78  const ADReal & prim_y_dot = primary_disp_dot[1];
79  const ADReal * prim_z_dot = nullptr;
80  if (_has_disp_z)
81  prim_z_dot = &primary_disp_dot[2];
82 
83  const ADReal & sec_x_dot = secondary_disp_dot[0];
84  const ADReal & sec_y_dot = secondary_disp_dot[1];
85  const ADReal * sec_z_dot = nullptr;
86  if (_has_disp_z)
87  sec_z_dot = &secondary_disp_dot[2];
88 
89  // Build relative velocity vector
90  ADRealVectorValue relative_velocity;
91 
92  if (_3d)
93  relative_velocity = {sec_x_dot - prim_x_dot, sec_y_dot - prim_y_dot, *sec_z_dot - *prim_z_dot};
94  else
95  relative_velocity = {sec_x_dot - prim_x_dot, sec_y_dot - prim_y_dot, 0.0};
96 
97  // Geometry is averaged and used at the nodes for constraint enforcement.
98  _qp_real_tangential_velocity_nodal = relative_velocity;
99  _qp_tangential_velocity_nodal = relative_velocity * (_JxW_msm[_qp] * _coord[_qp]);
100 }
ADRealVectorValue _qp_tangential_velocity_nodal
The value of the tangential velocity vectors at the current node.
unsigned int _qp
Quadrature point index for the mortar segments.
const ADVariableValue & _secondary_y_dot
y-velocity on the secondary face
std::map< unsigned int, unsigned int > getPrimaryIpToLowerElementMap(const Elem &primary_elem, const Elem &primary_elem_ip, const Elem &lower_secondary_elem) const
const MooseVariable *const _disp_z_var
The z displacement variable.
bool _3d
Automatic flag to determine whether we are doing three-dimensional work.
Elem const *const & _lower_primary_elem
const bool _has_disp_z
For 2D mortar contact no displacement will be specified, so const pointers used.
const std::vector< Real > & _JxW_msm
DualNumber< Real, DNDerivativeType, true > ADReal
ADRealVectorValue _qp_real_tangential_velocity_nodal
The value of the real tangential velocity vectors at the current node.
Elem const *const & _lower_secondary_elem
const ADVariableValue & _primary_y_dot
y-velocity on the primary face
const AutomaticMortarGeneration & amg() const
static void trimInteriorNodeDerivatives(const std::map< unsigned int, unsigned int > &primary_ip_lowerd_map, const Variables &moose_var, DualNumbers &ad_vars, const bool is_secondary)
const ADVariableValue & _primary_x_dot
x-velocity on the primary face
virtual void computeQpProperties()
Computes properties that are functions only of the current quadrature point (_qp), e.g.
std::map< unsigned int, unsigned int > getSecondaryIpToLowerElementMap(const Elem &lower_secondary_elem) const
const MooseArray< Real > & _coord
Member for handling change of coordinate systems (xyz, rz, spherical)
const ADVariableValue & _secondary_x_dot
x-velocity on the secondary face
const MooseVariable *const _disp_y_var
The y displacement variable.
const MooseVariable *const _disp_x_var
The x displacement variable.

◆ constrainedByOwner()

virtual bool WeightedGapUserObject::constrainedByOwner ( ) const
protectedpure virtualinherited
Returns
Whether the gap constraint will be enforced solely by the owner of the weighted gap or will be enforced in a distributed way (like in a penalty method)

Implemented in PenaltyWeightedGapUserObject, PenaltyFrictionUserObject, BilinearMixedModeCohesiveZoneModel, PenaltySimpleCohesiveZoneModel, LMWeightedVelocitiesUserObject, and LMWeightedGapUserObject.

Referenced by finalize(), and WeightedGapUserObject::finalize().

◆ contactPressure()

virtual const ADVariableValue& WeightedGapUserObject::contactPressure ( ) const
pure virtualinherited
Returns
The contact force at quadrature points on the mortar segment

Implemented in PenaltyWeightedGapUserObject, LMWeightedVelocitiesUserObject, and LMWeightedGapUserObject.

Referenced by NormalMortarMechanicalContact::computeQpResidual().

◆ contactTangentialPressureDirOne()

virtual const ADVariableValue& WeightedVelocitiesUserObject::contactTangentialPressureDirOne ( ) const
pure virtual
Returns
The contact force at quadrature points on the mortar segment

Implemented in PenaltyFrictionUserObject, PenaltySimpleCohesiveZoneModel, and LMWeightedVelocitiesUserObject.

Referenced by TangentialMortarMechanicalContact::computeQpResidual().

◆ contactTangentialPressureDirTwo()

virtual const ADVariableValue& WeightedVelocitiesUserObject::contactTangentialPressureDirTwo ( ) const
pure virtual

◆ dofToWeightedGap()

const std::unordered_map< const DofObject *, std::pair< ADReal, Real > > & WeightedGapUserObject::dofToWeightedGap ( ) const
inlineinherited

Get the degree of freedom to weighted gap information.

Definition at line 203 of file WeightedGapUserObject.h.

Referenced by ComputeFrictionalForceLMMechanicalContact::incorrectEdgeDroppingPost(), ComputeWeightedGapLMMechanicalContact::incorrectEdgeDroppingPost(), ComputeFrictionalForceLMMechanicalContact::post(), and ComputeWeightedGapLMMechanicalContact::post().

204 {
205  return _dof_to_weighted_gap;
206 }
std::unordered_map< const DofObject *, std::pair< ADReal, Real > > _dof_to_weighted_gap
A map from node to weighted gap and normalization (if requested)

◆ dofToWeightedVelocities()

const std::unordered_map< const DofObject *, std::array< ADReal, 2 > > & WeightedVelocitiesUserObject::dofToWeightedVelocities ( ) const
inline

Get the degree of freedom to weighted velocities information.

Definition at line 107 of file WeightedVelocitiesUserObject.h.

Referenced by ComputeFrictionalForceLMMechanicalContact::incorrectEdgeDroppingPost(), and ComputeFrictionalForceLMMechanicalContact::post().

108 {
110 }
std::unordered_map< const DofObject *, std::array< ADReal, 2 > > _dof_to_weighted_tangential_velocity
A map from node to two weighted tangential velocities.

◆ execute()

void WeightedGapUserObject::execute ( )
overridevirtualinherited

Implements MortarUserObject.

Definition at line 160 of file WeightedGapUserObject.C.

161 {
162  for (_qp = 0; _qp < _qrule_msm->n_points(); _qp++)
163  {
165  for (_i = 0; _i < _test->size(); ++_i)
167  }
168 }
unsigned int _qp
Quadrature point index for the mortar segments.
const libMesh::QBase *const & _qrule_msm
const VariableTestValue * _test
A pointer to the test function associated with the weighted gap.
virtual void computeQpProperties()
Computes properties that are functions only of the current quadrature point (_qp), e.g.
unsigned int n_points() const
unsigned int _i
Test function index.
virtual void computeQpIProperties()
Computes properties that are functions both of _qp and _i, for example the weighted gap...

◆ finalize()

void WeightedVelocitiesUserObject::finalize ( )
overridevirtual

Reimplemented from WeightedGapUserObject.

Reimplemented in PenaltyFrictionUserObject, PenaltySimpleCohesiveZoneModel, and BilinearMixedModeCohesiveZoneModel.

Definition at line 145 of file WeightedVelocitiesUserObject.C.

Referenced by PenaltySimpleCohesiveZoneModel::finalize(), and PenaltyFrictionUserObject::finalize().

146 {
148 
149  // If the constraint is performed by the owner, then we don't need any data sent back; the owner
150  // will take care of it. But if the constraint is not performed by the owner and we might have to
151  // do some of the constraining ourselves, then we need data sent back to us
152  const bool send_data_back = !constrainedByOwner();
153 
155  _subproblem.mesh(),
156  _nodal,
158  send_data_back);
161 }
virtual MooseMesh & mesh()=0
void communicateVelocities(std::unordered_map< const DofObject *, T > &dof_map, const MooseMesh &mesh, const bool nodal, const Parallel::Communicator &communicator, const bool send_data_back)
This function is used to communicate velocities across processes.
std::unordered_map< const DofObject *, std::array< ADReal, 2 > > _dof_to_real_tangential_velocity
A map from node to two interpolated, physical tangential velocities.
const bool _nodal
Whether the dof objects are nodal; if they&#39;re not, then they&#39;re elemental.
const Parallel::Communicator & _communicator
SubProblem & _subproblem
virtual bool constrainedByOwner() const =0
std::unordered_map< const DofObject *, std::array< ADReal, 2 > > _dof_to_weighted_tangential_velocity
A map from node to two weighted tangential velocities.
virtual void finalize() override

◆ findValue()

template<typename K , typename V >
V WeightedGapUserObject::findValue ( const std::unordered_map< K, V > &  map,
const K &  key,
const V &  default_value = 0 
) const
inlineprotectedinherited

Find a value in a map or return a default if the key doesn't exist.

Definition at line 125 of file WeightedGapUserObject.h.

Referenced by PenaltySimpleCohesiveZoneModel::reinit(), PenaltyFrictionUserObject::reinit(), and PenaltyWeightedGapUserObject::selfFinalize().

126  {
127  const auto it = map.find(key);
128  if (it == map.end())
129  return default_value;
130  return it->second;
131  }

◆ getAccumulatedSlip()

virtual Real WeightedGapUserObject::getAccumulatedSlip ( const Node *  const,
const unsigned int   
) const
inlinevirtualinherited
Parameters
nodeNode pointer
componentComponent of the local slip vector
Returns
The accumulated slip at the node

Reimplemented in PenaltyFrictionUserObject.

Definition at line 80 of file WeightedGapUserObject.h.

82  {
83  mooseError("Not available in base class.");
84  }
void mooseError(Args &&... args) const

◆ getFrictionalContactPressure()

virtual Real WeightedGapUserObject::getFrictionalContactPressure ( const Node *  const,
const unsigned int   
) const
inlinevirtualinherited
Parameters
nodeNode pointer
componentComponent of the frictional pressure vector
Returns
The frictional contact pressure at the node

Reimplemented in PenaltyFrictionUserObject.

Definition at line 69 of file WeightedGapUserObject.h.

71  {
72  mooseError("Not available in base class.");
73  }
void mooseError(Args &&... args) const

◆ getNormalContactPressure()

virtual Real WeightedGapUserObject::getNormalContactPressure ( const Node *  const) const
inlinevirtualinherited
Parameters
nodeNode pointer
Returns
The normal contact pressure at the node

Reimplemented in PenaltyWeightedGapUserObject.

Definition at line 43 of file WeightedGapUserObject.h.

44  {
45  mooseError("Not available in base class.");
46  }
void mooseError(Args &&... args) const

◆ getNormalGap()

Real WeightedGapUserObject::getNormalGap ( const Node * const  node) const
virtualinherited
Parameters
nodeNode pointer
Returns
The normal gap at the node

Definition at line 171 of file WeightedGapUserObject.C.

Referenced by PenaltyMortarUserObjectAux::PenaltyMortarUserObjectAux(), and PenaltyWeightedGapUserObject::updateAugmentedLagrangianMultipliers().

172 {
173  const auto it = _dof_to_weighted_gap.find(_subproblem.mesh().nodePtr(node->id()));
174 
175  // We are returning the physical weighted gap for analysis purposes
176  if (it != _dof_to_weighted_gap.end())
177  return physicalGap(it->second);
178  else
179  return 0.0;
180 }
virtual MooseMesh & mesh()=0
SubProblem & _subproblem
virtual const Node * nodePtr(const dof_id_type i) const
Real physicalGap(const std::pair< ADReal, Real > &gap) const
Compute physical gap from integration gap quantity.
std::unordered_map< const DofObject *, std::pair< ADReal, Real > > _dof_to_weighted_gap
A map from node to weighted gap and normalization (if requested)

◆ getTangentialVelocity()

virtual Real WeightedGapUserObject::getTangentialVelocity ( const Node *  const,
const unsigned int   
) const
inlinevirtualinherited
Parameters
nodeNode pointer
componentComponent of the local slip vector
Returns
The tangential velocity at the node with local components

Reimplemented in PenaltyFrictionUserObject.

Definition at line 91 of file WeightedGapUserObject.h.

Referenced by PenaltyMortarUserObjectAux::PenaltyMortarUserObjectAux().

93  {
94  mooseError("Not available in base class.");
95  }
void mooseError(Args &&... args) const

◆ initialize()

void WeightedVelocitiesUserObject::initialize ( )
overridevirtual

Reimplemented from WeightedGapUserObject.

Reimplemented in PenaltyFrictionUserObject, PenaltySimpleCohesiveZoneModel, and BilinearMixedModeCohesiveZoneModel.

Definition at line 137 of file WeightedVelocitiesUserObject.C.

138 {
139  // Clear weighted gaps
141  selfInitialize();
142 }
virtual void initialize() override

◆ initialSetup()

void WeightedGapUserObject::initialSetup ( )
overridevirtualinherited

Reimplemented from MortarUserObject.

Definition at line 59 of file WeightedGapUserObject.C.

60 {
62  _test = &test();
63 }
virtual const VariableTestValue & test() const =0
const VariableTestValue * _test
A pointer to the test function associated with the weighted gap.
virtual void initialSetup()

◆ physicalGap()

Real WeightedGapUserObject::physicalGap ( const std::pair< ADReal, Real > &  gap) const
inlineinherited

Compute physical gap from integration gap quantity.

Definition at line 57 of file WeightedGapUserObject.h.

Referenced by PenaltyWeightedGapUserObject::augmentedLagrangianSetup(), WeightedGapUserObject::getNormalGap(), and PenaltyWeightedGapUserObject::isAugmentedLagrangianConverged().

58  {
59  return MetaPhysicL::raw_value(gap.first) / gap.second;
60  }
auto raw_value(const Eigen::Map< T > &in)

◆ selfInitialize()

void WeightedVelocitiesUserObject::selfInitialize ( )
protected

Definition at line 130 of file WeightedVelocitiesUserObject.C.

Referenced by initialize(), PenaltySimpleCohesiveZoneModel::initialize(), and PenaltyFrictionUserObject::initialize().

131 {
134 }
std::unordered_map< const DofObject *, std::array< ADReal, 2 > > _dof_to_real_tangential_velocity
A map from node to two interpolated, physical tangential velocities.
std::unordered_map< const DofObject *, std::array< ADReal, 2 > > _dof_to_weighted_tangential_velocity
A map from node to two weighted tangential velocities.

◆ selfTimestepSetup()

void WeightedVelocitiesUserObject::selfTimestepSetup ( )
inlineprotected

◆ test()

virtual const VariableTestValue& WeightedGapUserObject::test ( ) const
protectedpure virtualinherited

◆ validParams()

InputParameters WeightedVelocitiesUserObject::validParams ( )
static

Definition at line 20 of file WeightedVelocitiesUserObject.C.

Referenced by LMWeightedVelocitiesUserObject::validParams(), PenaltySimpleCohesiveZoneModel::validParams(), and PenaltyFrictionUserObject::validParams().

21 {
23  params.addRequiredParam<VariableName>("secondary_variable",
24  "Primal variable on secondary surface.");
25  params.addParam<VariableName>(
26  "primary_variable",
27  "Primal variable on primary surface. If this parameter is not provided then the primary "
28  "variable will be initialized to the secondary variable");
29  return params;
30 }
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
static InputParameters validParams()
void addRequiredParam(const std::string &name, const std::string &doc_string)

Member Data Documentation

◆ _3d

bool WeightedVelocitiesUserObject::_3d
protected

Automatic flag to determine whether we are doing three-dimensional work.

Definition at line 103 of file WeightedVelocitiesUserObject.h.

Referenced by computeQpIProperties(), and computeQpProperties().

◆ _coord

const MooseArray<Real>& WeightedGapUserObject::_coord
protectedinherited

Member for handling change of coordinate systems (xyz, rz, spherical)

Definition at line 168 of file WeightedGapUserObject.h.

Referenced by BilinearMixedModeCohesiveZoneModel::computeQpProperties(), computeQpProperties(), and WeightedGapUserObject::computeQpProperties().

◆ _disp_x_var

const MooseVariable* const WeightedGapUserObject::_disp_x_var
protectedinherited

◆ _disp_y_var

const MooseVariable* const WeightedGapUserObject::_disp_y_var
protectedinherited

◆ _disp_z_var

const MooseVariable* const WeightedGapUserObject::_disp_z_var
protectedinherited

◆ _dof_to_real_tangential_velocity

std::unordered_map<const DofObject *, std::array<ADReal, 2> > WeightedVelocitiesUserObject::_dof_to_real_tangential_velocity
protected

◆ _dof_to_weighted_displacements

std::unordered_map<const DofObject *, ADRealVectorValue> WeightedGapUserObject::_dof_to_weighted_displacements
protectedinherited

◆ _dof_to_weighted_gap

std::unordered_map<const DofObject *, std::pair<ADReal, Real> > WeightedGapUserObject::_dof_to_weighted_gap
protectedinherited

◆ _dof_to_weighted_tangential_velocity

std::unordered_map<const DofObject *, std::array<ADReal, 2> > WeightedVelocitiesUserObject::_dof_to_weighted_tangential_velocity
protected

A map from node to two weighted tangential velocities.

Definition at line 55 of file WeightedVelocitiesUserObject.h.

Referenced by computeQpIProperties(), dofToWeightedVelocities(), finalize(), and selfInitialize().

◆ _fe_problem

FEProblemBase& WeightedGapUserObject::_fe_problem
protectedinherited

The base finite element problem.

Definition at line 134 of file WeightedGapUserObject.h.

◆ _has_disp_z

const bool WeightedGapUserObject::_has_disp_z
protectedinherited

For 2D mortar contact no displacement will be specified, so const pointers used.

Definition at line 150 of file WeightedGapUserObject.h.

Referenced by computeQpProperties(), WeightedGapUserObject::computeQpProperties(), and PenaltyWeightedGapUserObject::PenaltyWeightedGapUserObject().

◆ _i

unsigned int WeightedGapUserObject::_i = 0
protectedinherited

◆ _is_weighted_gap_nodal

bool WeightedGapUserObject::_is_weighted_gap_nodal = true
protectedinherited

Whether the weighted gap is associated with nodes or elements (like for a CONSTANT MONOMIAL Lagrange multiplier).

We have this member so that we don't do virtual calls during inner quadrature-point/test-function loops

Definition at line 193 of file WeightedGapUserObject.h.

Referenced by computeQpIProperties().

◆ _nodal

const bool WeightedGapUserObject::_nodal
protectedinherited

Whether the dof objects are nodal; if they're not, then they're elemental.

Definition at line 143 of file WeightedGapUserObject.h.

Referenced by finalize(), WeightedGapUserObject::finalize(), and BilinearMixedModeCohesiveZoneModel::finalize().

◆ _normalization_ptr

const Real* WeightedGapUserObject::_normalization_ptr = nullptr
protectedinherited

Definition at line 184 of file WeightedGapUserObject.h.

◆ _primary_disp_x

const ADVariableValue& WeightedGapUserObject::_primary_disp_x
protectedinherited

x-displacement on the primary face

Definition at line 157 of file WeightedGapUserObject.h.

Referenced by WeightedGapUserObject::computeQpProperties().

◆ _primary_disp_y

const ADVariableValue& WeightedGapUserObject::_primary_disp_y
protectedinherited

y-displacement on the primary face

Definition at line 161 of file WeightedGapUserObject.h.

Referenced by WeightedGapUserObject::computeQpProperties().

◆ _primary_disp_z

const ADVariableValue* const WeightedGapUserObject::_primary_disp_z
protectedinherited

z-displacement on the primary face

Definition at line 165 of file WeightedGapUserObject.h.

◆ _primary_var

MooseVariableField<Real>& WeightedVelocitiesUserObject::_primary_var
protected

Reference to the primary variable.

Definition at line 82 of file WeightedVelocitiesUserObject.h.

◆ _primary_x_dot

const ADVariableValue& WeightedVelocitiesUserObject::_primary_x_dot
protected

x-velocity on the primary face

Definition at line 88 of file WeightedVelocitiesUserObject.h.

Referenced by computeQpProperties().

◆ _primary_y_dot

const ADVariableValue& WeightedVelocitiesUserObject::_primary_y_dot
protected

y-velocity on the primary face

Definition at line 94 of file WeightedVelocitiesUserObject.h.

Referenced by computeQpProperties().

◆ _primary_z_dot

const ADVariableValue* const WeightedVelocitiesUserObject::_primary_z_dot
protected

z-velocity on the primary face

Definition at line 100 of file WeightedVelocitiesUserObject.h.

◆ _qp

unsigned int WeightedGapUserObject::_qp = 0
protectedinherited

◆ _qp_displacement_nodal

ADRealVectorValue WeightedGapUserObject::_qp_displacement_nodal
protectedinherited

Vector for computation of relative displacement (determines mixity ratio in interface problems)

Definition at line 174 of file WeightedGapUserObject.h.

Referenced by WeightedGapUserObject::computeQpIProperties(), and WeightedGapUserObject::computeQpProperties().

◆ _qp_factor

Real WeightedGapUserObject::_qp_factor
protectedinherited

The value of the LM at the current quadrature point.

Definition at line 140 of file WeightedGapUserObject.h.

Referenced by WeightedGapUserObject::computeQpIProperties(), and WeightedGapUserObject::computeQpProperties().

◆ _qp_gap

ADReal WeightedGapUserObject::_qp_gap
protectedinherited

The value of the gap at the current quadrature point.

Definition at line 137 of file WeightedGapUserObject.h.

◆ _qp_gap_nodal

ADRealVectorValue WeightedGapUserObject::_qp_gap_nodal
protectedinherited

Vector for computation of weighted gap with nodal normals.

Definition at line 171 of file WeightedGapUserObject.h.

Referenced by WeightedGapUserObject::computeQpIProperties(), and WeightedGapUserObject::computeQpProperties().

◆ _qp_real_tangential_velocity

std::array<ADReal, 2> WeightedVelocitiesUserObject::_qp_real_tangential_velocity
protected

The value of the "real" tangential velocity values at the current quadrature point.

Definition at line 67 of file WeightedVelocitiesUserObject.h.

◆ _qp_real_tangential_velocity_nodal

ADRealVectorValue WeightedVelocitiesUserObject::_qp_real_tangential_velocity_nodal
protected

The value of the real tangential velocity vectors at the current node.

Definition at line 73 of file WeightedVelocitiesUserObject.h.

Referenced by computeQpIProperties(), and computeQpProperties().

◆ _qp_tangential_velocity

std::array<ADReal, 2> WeightedVelocitiesUserObject::_qp_tangential_velocity
protected

The value of the tangential velocity values at the current quadrature point.

Definition at line 64 of file WeightedVelocitiesUserObject.h.

◆ _qp_tangential_velocity_nodal

ADRealVectorValue WeightedVelocitiesUserObject::_qp_tangential_velocity_nodal
protected

The value of the tangential velocity vectors at the current node.

Definition at line 70 of file WeightedVelocitiesUserObject.h.

Referenced by computeQpIProperties(), and computeQpProperties().

◆ _secondary_disp_x

const ADVariableValue& WeightedGapUserObject::_secondary_disp_x
protectedinherited

x-displacement on the secondary face

Definition at line 155 of file WeightedGapUserObject.h.

Referenced by WeightedGapUserObject::computeQpProperties().

◆ _secondary_disp_y

const ADVariableValue& WeightedGapUserObject::_secondary_disp_y
protectedinherited

y-displacement on the secondary face

Definition at line 159 of file WeightedGapUserObject.h.

Referenced by WeightedGapUserObject::computeQpProperties().

◆ _secondary_disp_z

const ADVariableValue* const WeightedGapUserObject::_secondary_disp_z
protectedinherited

z-displacement on the secondary face

Definition at line 163 of file WeightedGapUserObject.h.

◆ _secondary_var

MooseVariableField<Real>& WeightedVelocitiesUserObject::_secondary_var
protected

Reference to the secondary variable.

Definition at line 79 of file WeightedVelocitiesUserObject.h.

◆ _secondary_x_dot

const ADVariableValue& WeightedVelocitiesUserObject::_secondary_x_dot
protected

x-velocity on the secondary face

Definition at line 85 of file WeightedVelocitiesUserObject.h.

Referenced by computeQpProperties().

◆ _secondary_y_dot

const ADVariableValue& WeightedVelocitiesUserObject::_secondary_y_dot
protected

y-velocity on the secondary face

Definition at line 91 of file WeightedVelocitiesUserObject.h.

Referenced by computeQpProperties().

◆ _secondary_z_dot

const ADVariableValue* const WeightedVelocitiesUserObject::_secondary_z_dot
protected

z-velocity on the secondary face

Definition at line 97 of file WeightedVelocitiesUserObject.h.

◆ _sys

SystemBase& WeightedVelocitiesUserObject::_sys
protected

Reference to the EquationSystem object.

Definition at line 76 of file WeightedVelocitiesUserObject.h.

◆ _tangential_vel_ptr

std::array<const ADReal *, 2> WeightedVelocitiesUserObject::_tangential_vel_ptr = {{nullptr, nullptr}}
protected

An array of two pointers to avoid copies.

Definition at line 61 of file WeightedVelocitiesUserObject.h.

◆ _test

const VariableTestValue* WeightedGapUserObject::_test = nullptr
protectedinherited

A pointer to the test function associated with the weighted gap.

We have this member so that we don't do virtual calls during inner quadrature-point/test-function loops

Definition at line 188 of file WeightedGapUserObject.h.

Referenced by WeightedGapUserObject::execute(), WeightedGapUserObject::initialSetup(), BilinearMixedModeCohesiveZoneModel::prepareJumpKinematicQuantities(), BilinearMixedModeCohesiveZoneModel::reinit(), PenaltySimpleCohesiveZoneModel::reinit(), PenaltyFrictionUserObject::reinit(), and PenaltyWeightedGapUserObject::reinit().

◆ _weighted_gap_ptr

const ADReal* WeightedGapUserObject::_weighted_gap_ptr = nullptr
protectedinherited

A pointer members that can be used to help avoid copying ADReals.

Definition at line 183 of file WeightedGapUserObject.h.


The documentation for this class was generated from the following files: