An interface for accessing Materials. More...
#include <MaterialPropertyInterface.h>
Public Member Functions | |
MaterialPropertyInterface (const MooseObject *moose_object, const std::set< SubdomainID > &block_ids, const std::set< BoundaryID > &boundary_ids) | |
template<typename T > | |
std::pair< const MaterialProperty< T > *, std::set< SubdomainID > > | getBlockMaterialProperty (const MaterialPropertyName &name) |
Retrieve pointer to a material property with the mesh blocks where it is defined The name required by this method is the name defined in the input file. More... | |
template<typename T , bool is_ad> | |
const GenericMaterialProperty< T, is_ad > & | getGenericZeroMaterialProperty (const std::string &name) |
Return a material property that is initialized to zero by default and does not need to (but can) be declared by another material. More... | |
template<typename T , bool is_ad> | |
const GenericMaterialProperty< T, is_ad > & | getGenericZeroMaterialPropertyByName (const std::string &prop_name) |
template<typename T , bool is_ad> | |
const GenericMaterialProperty< T, is_ad > & | getGenericZeroMaterialProperty () |
Return a constant zero anonymous material property. More... | |
template<typename T , typename... Ts> | |
const MaterialProperty< T > & | getZeroMaterialProperty (Ts... args) |
for backwards compatibility More... | |
std::set< SubdomainID > | getMaterialPropertyBlocks (const std::string &name) |
Retrieve the block ids that the material property is defined. More... | |
std::vector< SubdomainName > | getMaterialPropertyBlockNames (const std::string &name) |
Retrieve the block names that the material property is defined. More... | |
std::set< BoundaryID > | getMaterialPropertyBoundaryIDs (const std::string &name) |
Retrieve the boundary ids that the material property is defined. More... | |
std::vector< BoundaryName > | getMaterialPropertyBoundaryNames (const std::string &name) |
Retrieve the boundary namess that the material property is defined. More... | |
void | checkBlockAndBoundaryCompatibility (std::shared_ptr< MaterialBase > discrete) |
Check if block and boundary restrictions of a given material are compatible with the current material. More... | |
std::unordered_map< SubdomainID, std::vector< MaterialBase * > > | buildRequiredMaterials (bool allow_stateful=true) |
get a map of MaterialBase pointers for all material objects that this object depends on for each block More... | |
void | statefulPropertiesAllowed (bool) |
Derived classes can declare whether or not they work with stateful material properties. More... | |
bool | getMaterialPropertyCalled () const |
Returns true if getMaterialProperty() has been called, false otherwise. More... | |
const std::unordered_set< unsigned int > & | getMatPropDependencies () const |
Retrieve the set of material properties that this object depends on. More... | |
virtual void | resolveOptionalProperties () |
resolve all optional properties More... | |
template<typename T , bool is_ad> | |
const GenericMaterialProperty< T, is_ad > & | getGenericMaterialProperty (const std::string &name, MaterialData &material_data, const unsigned int state=0) |
Retrieve the generic property named "name" for the specified material_data at state state . More... | |
template<typename T > | |
const MaterialProperty< T > & | getMaterialProperty (const std::string &name, MaterialData &material_data, const unsigned int state=0) |
Retrieve the property named "name" for the specified material_data . More... | |
template<typename T > | |
const ADMaterialProperty< T > & | getADMaterialProperty (const std::string &name, MaterialData &material_data) |
Retrieve the AD property named "name" for the specified material_data . More... | |
template<typename T , bool is_ad> | |
const GenericMaterialProperty< T, is_ad > & | getGenericMaterialPropertyByName (const MaterialPropertyName &name, MaterialData &material_data, const unsigned int state) |
Retrieve the generic property named "name" without any deduction for the specified material_data for state state . More... | |
template<typename T , bool is_ad> | |
const GenericMaterialProperty< T, is_ad > & | getPossiblyConstantGenericMaterialPropertyByName (const MaterialPropertyName &prop_name, MaterialData &material_data, const unsigned int state) |
Retrieve the generic property named "prop_name" without any deduction for the specified material_data for state state . More... | |
template<typename T > | |
const MaterialProperty< T > & | getMaterialPropertyByName (const MaterialPropertyName &name, MaterialData &material_data, const unsigned int state=0) |
Retrieve the property named "name" without any deduction for the specified material_data . More... | |
template<typename T > | |
const ADMaterialProperty< T > & | getADMaterialPropertyByName (const MaterialPropertyName &name, MaterialData &material_data) |
Retrieve the AD property named "name" without any deduction for the specified material_data. More... | |
template<typename T > | |
const MaterialProperty< T > & | getMaterialPropertyOld (const std::string &name, MaterialData &material_data) |
Retrieve the old property deduced from the name name for the specified material_data . More... | |
template<typename T > | |
const MaterialProperty< T > & | getMaterialPropertyOlder (const std::string &name, MaterialData &material_data) |
Retrieve the older property deduced from the name name for the specified material_data . More... | |
template<typename T > | |
const MaterialProperty< T > & | getMaterialPropertyOldByName (const MaterialPropertyName &name, MaterialData &material_data) |
Retrieve the old property named name without any deduction for the specified material_data . More... | |
template<typename T > | |
const MaterialProperty< T > & | getMaterialPropertyOlderByName (const MaterialPropertyName &name, MaterialData &material_data) |
Retrieve the older property named name without any deduction for the specified material_data . More... | |
template<typename T , bool is_ad> | |
const GenericMaterialProperty< T, is_ad > & | getGenericMaterialProperty (const std::string &name, const unsigned int state=0) |
Retrieve reference to material property or one of it's old or older values. More... | |
template<typename T > | |
const MaterialProperty< T > & | getMaterialProperty (const std::string &name, const unsigned int state=0) |
template<typename T > | |
const ADMaterialProperty< T > & | getADMaterialProperty (const std::string &name) |
template<typename T > | |
const MaterialProperty< T > & | getMaterialPropertyOld (const std::string &name) |
template<typename T > | |
const MaterialProperty< T > & | getMaterialPropertyOlder (const std::string &name) |
template<typename T , bool is_ad> | |
const GenericMaterialProperty< T, is_ad > & | getGenericMaterialPropertyByName (const MaterialPropertyName &name, const unsigned int state=0) |
Retrieve reference to material property or its old or older value The name required by this method is the name defined in the input file. More... | |
template<typename T > | |
const MaterialProperty< T > & | getMaterialPropertyByName (const MaterialPropertyName &name, const unsigned int state=0) |
template<typename T > | |
const ADMaterialProperty< T > & | getADMaterialPropertyByName (const MaterialPropertyName &name) |
template<typename T > | |
const MaterialProperty< T > & | getMaterialPropertyOldByName (const MaterialPropertyName &name) |
template<typename T > | |
const MaterialProperty< T > & | getMaterialPropertyOlderByName (const MaterialPropertyName &name) |
template<typename T , bool is_ad> | |
const GenericOptionalMaterialProperty< T, is_ad > & | getGenericOptionalMaterialProperty (const std::string &name, const unsigned int state=0) |
template<typename T > | |
const OptionalMaterialProperty< T > & | getOptionalMaterialProperty (const std::string &name, const unsigned int state=0) |
template<typename T > | |
const OptionalADMaterialProperty< T > & | getOptionalADMaterialProperty (const std::string &name) |
template<typename T > | |
const OptionalMaterialProperty< T > & | getOptionalMaterialPropertyOld (const std::string &name) |
template<typename T > | |
const OptionalMaterialProperty< T > & | getOptionalMaterialPropertyOlder (const std::string &name) |
MaterialBase & | getMaterial (const std::string &name) |
Return a MaterialBase reference - usable for computing directly. More... | |
MaterialBase & | getMaterialByName (const std::string &name, bool no_warn=false) |
template<typename T > | |
bool | hasMaterialProperty (const std::string &name) |
Check if the material property exists. More... | |
template<typename T > | |
bool | hasMaterialPropertyByName (const std::string &name) |
template<typename T > | |
bool | hasADMaterialProperty (const std::string &name) |
template<typename T > | |
bool | hasADMaterialPropertyByName (const std::string &name) |
template<typename T , bool is_ad> | |
bool | hasGenericMaterialProperty (const std::string &name) |
generic hasMaterialProperty helper More... | |
template<typename T , bool is_ad> | |
bool | hasGenericMaterialPropertyByName (const std::string &name) |
Static Public Member Functions | |
static InputParameters | validParams () |
Static Public Attributes | |
static constexpr PropertyValue::id_type | default_property_id |
The material property ID for a default (parsed from input) property. More... | |
static constexpr PropertyValue::id_type | zero_property_id = PropertyValue::invalid_property_id - 2 |
The material property ID for a zero property. More... | |
Protected Member Functions | |
virtual void | checkMaterialProperty (const std::string &name, const unsigned int state) |
A helper method for checking material properties This method was required to avoid a compiler problem with the template getMaterialProperty method. More... | |
void | markMatPropRequested (const std::string &) |
A proxy method for _mi_feproblem.markMatPropRequested(name) More... | |
MaterialPropertyName | getMaterialPropertyName (const std::string &name) const |
void | checkExecutionStage () |
Check and throw an error if the execution has progressed past the construction stage. More... | |
template<typename T , bool is_ad> | |
const GenericMaterialProperty< T, is_ad > * | defaultGenericMaterialProperty (const std::string &name) |
template<typename T > | |
const MaterialProperty< T > * | defaultMaterialProperty (const std::string &name) |
template<typename T > | |
const ADMaterialProperty< T > * | defaultADMaterialProperty (const std::string &name) |
Protected Attributes | |
const InputParameters & | _mi_params |
Parameters of the object with this interface. More... | |
const std::string | _mi_name |
The name of the object that this interface belongs to. More... | |
const MooseObjectName | _mi_moose_object_name |
The "complete" name of the object that this interface belongs for material property output. More... | |
FEProblemBase & | _mi_feproblem |
Reference to the FEProblemBase class. More... | |
SubProblem & | _mi_subproblem |
Reference to the subproblem. More... | |
const THREAD_ID | _mi_tid |
Current threaded it. More... | |
const Moose::MaterialDataType | _material_data_type |
The type of data. More... | |
MaterialData & | _material_data |
The material data class that stores properties. More... | |
bool | _stateful_allowed |
True by default. More... | |
bool | _get_material_property_called |
Initialized to false. More... | |
std::vector< std::unique_ptr< PropertyValue > > | _default_properties |
Storage vector for default properties. More... | |
std::unordered_set< unsigned int > | _material_property_dependencies |
The set of material properties (as given by their IDs) that this object depends on. More... | |
const MaterialPropertyName | _get_suffix |
const bool | _use_interpolated_state |
Use the interpolated state set up through the ProjectedStatefulMaterialStorageAction. More... | |
Static Protected Attributes | |
static const std::string | _interpolated_old = "_interpolated_old" |
name suffixes for interpolated old and older properties More... | |
static const std::string | _interpolated_older = "_interpolated_older" |
Private Member Functions | |
Moose::MaterialDataType | getMaterialDataType (const std::set< BoundaryID > &boundary_ids) const |
unsigned int | getMaxQps () const |
void | addConsumedPropertyName (const MooseObjectName &obj_name, const std::string &prop_name) |
Private Attributes | |
const MooseObject & | _mi_moose_object |
The MooseObject creating the MaterialPropertyInterface. More... | |
const bool | _mi_boundary_restricted |
BoundaryRestricted flag. More... | |
const std::set< SubdomainID > & | _mi_block_ids |
Storage for the block ids created by BlockRestrictable. More... | |
const std::set< BoundaryID > & | _mi_boundary_ids |
Storage for the boundary ids created by BoundaryRestrictable. More... | |
std::vector< std::unique_ptr< OptionalMaterialPropertyProxyBase< MaterialPropertyInterface > > > | _optional_property_proxies |
optional material properties More... | |
An interface for accessing Materials.
Any object that needs material properties should inherit this interface. If your object is also restricted to blocks and/or boundaries via the BlockRestrictable and/or BoundaryRestrictable class, then MaterialPropertyInterface must be inherited following these two classes for the material property checks to operate correctly.
Definition at line 65 of file MaterialPropertyInterface.h.
MaterialPropertyInterface::MaterialPropertyInterface | ( | const MooseObject * | moose_object, |
const std::set< SubdomainID > & | block_ids, | ||
const std::set< BoundaryID > & | boundary_ids | ||
) |
Definition at line 53 of file MaterialPropertyInterface.C.
|
private |
Definition at line 115 of file MaterialPropertyInterface.C.
Referenced by getBlockMaterialProperty(), and getGenericMaterialPropertyByName().
std::unordered_map< SubdomainID, std::vector< MaterialBase * > > MaterialPropertyInterface::buildRequiredMaterials | ( | bool | allow_stateful = true | ) |
get a map of MaterialBase pointers for all material objects that this object depends on for each block
Definition at line 209 of file MaterialPropertyInterface.C.
void MaterialPropertyInterface::checkBlockAndBoundaryCompatibility | ( | std::shared_ptr< MaterialBase > | discrete | ) |
Check if block and boundary restrictions of a given material are compatible with the current material.
Error out otherwise.
Definition at line 151 of file MaterialPropertyInterface.C.
Referenced by getMaterialByName().
|
protected |
Check and throw an error if the execution has progressed past the construction stage.
Definition at line 226 of file MaterialPropertyInterface.C.
Referenced by getGenericMaterialPropertyByName().
|
protectedvirtual |
A helper method for checking material properties This method was required to avoid a compiler problem with the template getMaterialProperty method.
Reimplemented in Material.
Definition at line 122 of file MaterialPropertyInterface.C.
Referenced by Material::checkMaterialProperty(), and getGenericMaterialPropertyByName().
|
inlineprotected |
Definition at line 521 of file MaterialPropertyInterface.h.
|
protected |
name
, if any."Default" properties are properties whose default values are set from within the name. That is, if we can cast name
to a Real, and the prop type is a Real or RealVectorValue, we'll return said value.
Definition at line 618 of file MaterialPropertyInterface.h.
|
inlineprotected |
Definition at line 516 of file MaterialPropertyInterface.h.
|
inline |
Definition at line 103 of file MaterialPropertyInterface.h.
|
inline |
Retrieve the AD property named "name" for the specified material_data
.
state
is the property state; 0 = current, 1 = old, 2 = older, etc.
Definition at line 362 of file MaterialPropertyInterface.h.
|
inline |
Definition at line 140 of file MaterialPropertyInterface.h.
|
inline |
Retrieve the AD property named "name" without any deduction for the specified material_data.
Definition at line 405 of file MaterialPropertyInterface.h.
std::pair< const MaterialProperty< T > *, std::set< SubdomainID > > MaterialPropertyInterface::getBlockMaterialProperty | ( | const MaterialPropertyName & | name | ) |
Retrieve pointer to a material property with the mesh blocks where it is defined The name required by this method is the name defined in the input file.
This function can be thought as the combination of getMaterialPropertyByName and getMaterialPropertyBlocks. It can be called after the action of all actions.
name | The name of the material property to retrieve |
Definition at line 648 of file MaterialPropertyInterface.h.
|
inline |
Retrieve reference to material property or one of it's old or older values.
The name required by this method is the name that is hard-coded into your source code as the input parameter key. If no input parameter is found this behaves like the getMaterialPropertyByName family as a fall back.
name | The name of the parameter key of the material property to retrieve |
state | The state (current = 0, old = 1, older = 2) |
Definition at line 91 of file MaterialPropertyInterface.h.
const GenericMaterialProperty< T, is_ad > & MaterialPropertyInterface::getGenericMaterialProperty | ( | const std::string & | name, |
MaterialData & | material_data, | ||
const unsigned int | state = 0 |
||
) |
Retrieve the generic property named "name" for the specified material_data
at state state
.
Definition at line 786 of file MaterialPropertyInterface.h.
|
inline |
Retrieve reference to material property or its old or older value The name required by this method is the name defined in the input file.
name | The name of the material property to retrieve |
state | The state (current = 0, old = 1, older = 2) |
Definition at line 129 of file MaterialPropertyInterface.h.
const GenericMaterialProperty< T, is_ad > & MaterialPropertyInterface::getGenericMaterialPropertyByName | ( | const MaterialPropertyName & | name, |
MaterialData & | material_data, | ||
const unsigned int | state | ||
) |
Retrieve the generic property named "name" without any deduction for the specified material_data
for state state
.
Definition at line 799 of file MaterialPropertyInterface.h.
const GenericOptionalMaterialProperty< T, is_ad > & MaterialPropertyInterface::getGenericOptionalMaterialProperty | ( | const std::string & | name, |
const unsigned int | state = 0 |
||
) |
Optional material property getters state
is the property state; 0 = current, 1 = old, 2 = older, etc.
Definition at line 754 of file MaterialPropertyInterface.h.
const GenericMaterialProperty< T, is_ad > & MaterialPropertyInterface::getGenericZeroMaterialProperty | ( | const std::string & | name | ) |
Return a material property that is initialized to zero by default and does not need to (but can) be declared by another material.
Definition at line 696 of file MaterialPropertyInterface.h.
const GenericMaterialProperty< T, is_ad > & MaterialPropertyInterface::getGenericZeroMaterialProperty | ( | ) |
Return a constant zero anonymous material property.
Definition at line 715 of file MaterialPropertyInterface.h.
const GenericMaterialProperty< T, is_ad > & MaterialPropertyInterface::getGenericZeroMaterialPropertyByName | ( | const std::string & | prop_name | ) |
Definition at line 704 of file MaterialPropertyInterface.h.
MaterialBase & MaterialPropertyInterface::getMaterial | ( | const std::string & | name | ) |
Return a MaterialBase reference - usable for computing directly.
name | The name of the input parameter or explicit material name. |
no_warn | If true, suppress warning about retrieving the material potentially during its calculation. If you don't know what this is/means, then you don't need it. |
Definition at line 193 of file MaterialPropertyInterface.C.
MaterialBase & MaterialPropertyInterface::getMaterialByName | ( | const std::string & | name, |
bool | no_warn = false |
||
) |
Definition at line 199 of file MaterialPropertyInterface.C.
Referenced by ElementMaterialSampler::ElementMaterialSampler(), getMaterial(), and Material::getMaterialByName().
|
private |
Definition at line 241 of file MaterialPropertyInterface.C.
|
inline |
Definition at line 97 of file MaterialPropertyInterface.h.
|
inline |
Retrieve the property named "name" for the specified material_data
.
state
is the property state; 0 = current, 1 = old, 2 = older, etc.
Definition at line 349 of file MaterialPropertyInterface.h.
std::vector< SubdomainName > MaterialPropertyInterface::getMaterialPropertyBlockNames | ( | const std::string & | name | ) |
Retrieve the block names that the material property is defined.
name | The name of the material property |
Definition at line 91 of file MaterialPropertyInterface.C.
std::set< SubdomainID > MaterialPropertyInterface::getMaterialPropertyBlocks | ( | const std::string & | name | ) |
Retrieve the block ids that the material property is defined.
name | The name of the material property |
Definition at line 85 of file MaterialPropertyInterface.C.
Referenced by getBlockMaterialProperty().
std::set< BoundaryID > MaterialPropertyInterface::getMaterialPropertyBoundaryIDs | ( | const std::string & | name | ) |
Retrieve the boundary ids that the material property is defined.
name | The name of the material property |
Definition at line 97 of file MaterialPropertyInterface.C.
std::vector< BoundaryName > MaterialPropertyInterface::getMaterialPropertyBoundaryNames | ( | const std::string & | name | ) |
Retrieve the boundary namess that the material property is defined.
name | The name of the material property |
Definition at line 103 of file MaterialPropertyInterface.C.
|
inline |
Definition at line 134 of file MaterialPropertyInterface.h.
|
inline |
Retrieve the property named "name" without any deduction for the specified material_data
.
state
is the property state; 0 = current, 1 = old, 2 = older, etc.
Definition at line 393 of file MaterialPropertyInterface.h.
|
inline |
Returns true if getMaterialProperty() has been called, false otherwise.
Definition at line 320 of file MaterialPropertyInterface.h.
|
protected |
name
.If name
is the name of a material property parameter and the parameter is valid, this will return the value of said parameter. Otherwise, it will just return the name.
Definition at line 77 of file MaterialPropertyInterface.C.
Referenced by InterfaceMaterial::getGenericMaterialProperty(), Material::getGenericMaterialProperty(), getGenericMaterialProperty(), InterfaceMaterial::getGenericNeighborMaterialProperty(), getGenericZeroMaterialProperty(), hasADMaterialProperty(), and hasMaterialProperty().
|
inline |
Definition at line 108 of file MaterialPropertyInterface.h.
|
inline |
Retrieve the old property deduced from the name name
for the specified material_data
.
Definition at line 415 of file MaterialPropertyInterface.h.
|
inline |
Definition at line 145 of file MaterialPropertyInterface.h.
|
inline |
Retrieve the old property named name
without any deduction for the specified material_data
.
Definition at line 437 of file MaterialPropertyInterface.h.
|
inline |
Definition at line 113 of file MaterialPropertyInterface.h.
|
inline |
Retrieve the older property deduced from the name name
for the specified material_data
.
Definition at line 426 of file MaterialPropertyInterface.h.
|
inline |
Definition at line 150 of file MaterialPropertyInterface.h.
|
inline |
Retrieve the older property named name
without any deduction for the specified material_data
.
Definition at line 448 of file MaterialPropertyInterface.h.
|
inline |
Retrieve the set of material properties that this object depends on.
Definition at line 328 of file MaterialPropertyInterface.h.
Referenced by InterfaceMaterial::getMatPropDependencies(), Material::getMatPropDependencies(), NodalPatchRecovery::reinitPatch(), ComputeUserObjectsThread::subdomainChanged(), and MooseObjectWarehouseBase< Indicator >::updateMatPropDependencyHelper().
|
private |
Definition at line 109 of file MaterialPropertyInterface.C.
Referenced by getGenericZeroMaterialProperty().
|
inline |
Definition at line 169 of file MaterialPropertyInterface.h.
|
inline |
Definition at line 163 of file MaterialPropertyInterface.h.
|
inline |
Definition at line 175 of file MaterialPropertyInterface.h.
|
inline |
Definition at line 180 of file MaterialPropertyInterface.h.
const GenericMaterialProperty< T, is_ad > & MaterialPropertyInterface::getPossiblyConstantGenericMaterialPropertyByName | ( | const MaterialPropertyName & | prop_name, |
MaterialData & | material_data, | ||
const unsigned int | state | ||
) |
Retrieve the generic property named "prop_name" without any deduction for the specified material_data
for state state
.
This API allows the prop_name
to be a constant, e.g. it allows the possibility that prop_name
is not a name at all
Definition at line 766 of file MaterialPropertyInterface.h.
|
inline |
for backwards compatibility
Definition at line 219 of file MaterialPropertyInterface.h.
bool MaterialPropertyInterface::hasADMaterialProperty | ( | const std::string & | name | ) |
Definition at line 735 of file MaterialPropertyInterface.h.
bool MaterialPropertyInterface::hasADMaterialPropertyByName | ( | const std::string & | name | ) |
Definition at line 744 of file MaterialPropertyInterface.h.
|
inline |
generic hasMaterialProperty helper
Definition at line 293 of file MaterialPropertyInterface.h.
|
inline |
Definition at line 301 of file MaterialPropertyInterface.h.
bool MaterialPropertyInterface::hasMaterialProperty | ( | const std::string & | name | ) |
Check if the material property exists.
name | the name of the property to query |
Definition at line 677 of file MaterialPropertyInterface.h.
bool MaterialPropertyInterface::hasMaterialPropertyByName | ( | const std::string & | name | ) |
Definition at line 686 of file MaterialPropertyInterface.h.
|
protected |
A proxy method for _mi_feproblem.markMatPropRequested(name)
Definition at line 139 of file MaterialPropertyInterface.C.
Referenced by getGenericMaterialPropertyByName().
|
virtual |
resolve all optional properties
Reimplemented in Material.
Definition at line 234 of file MaterialPropertyInterface.C.
void MaterialPropertyInterface::statefulPropertiesAllowed | ( | bool | stateful_allowed | ) |
Derived classes can declare whether or not they work with stateful material properties.
See, for example, DiracKernel. By default, they are allowed.
Definition at line 145 of file MaterialPropertyInterface.C.
Referenced by DiracKernelBase::DiracKernelBase(), and DiracKernelTempl< T >::DiracKernelTempl().
|
static |
Definition at line 20 of file MaterialPropertyInterface.C.
Referenced by QuadraturePointMarker::validParams(), IntegratedBCBase::validParams(), GeneralUserObject::validParams(), TwoMaterialPropertyInterface::validParams(), NodalDamper::validParams(), KernelBase::validParams(), FVElementalKernel::validParams(), DiracKernelBase::validParams(), ElementIndicator::validParams(), SideUserObject::validParams(), ElementUserObject::validParams(), ElementDamper::validParams(), Material::validParams(), Indicator::validParams(), InitialConditionBase::validParams(), and AuxKernelTempl< Real >::validParams().
|
protected |
Storage vector for default properties.
Definition at line 546 of file MaterialPropertyInterface.h.
Referenced by defaultGenericMaterialProperty().
|
protected |
Initialized to false.
Gets set to true when getMaterialProperty() is called. Clients of this class can inquire whether getMaterialProperty() has been called by calling getMaterialPropertyCalled().
Definition at line 543 of file MaterialPropertyInterface.h.
Referenced by getGenericMaterialPropertyByName(), and getMaterialPropertyCalled().
|
protected |
Definition at line 551 of file MaterialPropertyInterface.h.
Referenced by getBlockMaterialProperty(), Material::getGenericMaterialPropertyByName(), getGenericMaterialPropertyByName(), hasADMaterialPropertyByName(), and hasMaterialPropertyByName().
|
staticprotected |
name suffixes for interpolated old and older properties
Definition at line 557 of file MaterialPropertyInterface.h.
Referenced by Material::getGenericMaterialPropertyByName(), and getGenericMaterialPropertyByName().
|
staticprotected |
Definition at line 558 of file MaterialPropertyInterface.h.
Referenced by Material::getGenericMaterialPropertyByName(), and getGenericMaterialPropertyByName().
|
protected |
The material data class that stores properties.
Definition at line 481 of file MaterialPropertyInterface.h.
Referenced by Material::computeProperties(), getBlockMaterialProperty(), getGenericMaterialProperty(), getGenericMaterialPropertyByName(), hasADMaterialPropertyByName(), hasMaterialPropertyByName(), InterfaceMaterial::materialData(), and Material::materialData().
|
protected |
The type of data.
Definition at line 478 of file MaterialPropertyInterface.h.
Referenced by buildRequiredMaterials(), and getMaterialByName().
|
protected |
The set of material properties (as given by their IDs) that this object depends on.
Definition at line 549 of file MaterialPropertyInterface.h.
Referenced by getBlockMaterialProperty(), getGenericMaterialPropertyByName(), and getMatPropDependencies().
|
private |
Storage for the block ids created by BlockRestrictable.
Definition at line 581 of file MaterialPropertyInterface.h.
Referenced by buildRequiredMaterials(), checkBlockAndBoundaryCompatibility(), checkMaterialProperty(), and getBlockMaterialProperty().
|
private |
Storage for the boundary ids created by BoundaryRestrictable.
Definition at line 584 of file MaterialPropertyInterface.h.
Referenced by checkBlockAndBoundaryCompatibility(), and checkMaterialProperty().
|
private |
BoundaryRestricted flag.
Definition at line 578 of file MaterialPropertyInterface.h.
Referenced by checkMaterialProperty().
|
protected |
Reference to the FEProblemBase class.
Definition at line 469 of file MaterialPropertyInterface.h.
Referenced by addConsumedPropertyName(), buildRequiredMaterials(), checkExecutionStage(), checkMaterialProperty(), Material::getMaterialByName(), getMaterialByName(), getMaterialPropertyBlockNames(), getMaterialPropertyBlocks(), getMaterialPropertyBoundaryIDs(), getMaterialPropertyBoundaryNames(), getMaxQps(), and markMatPropRequested().
|
private |
The MooseObject creating the MaterialPropertyInterface.
Definition at line 456 of file MaterialPropertyInterface.h.
Referenced by getBlockMaterialProperty(), and getGenericMaterialPropertyByName().
|
protected |
The "complete" name of the object that this interface belongs for material property output.
Definition at line 466 of file MaterialPropertyInterface.h.
Referenced by getBlockMaterialProperty(), and getGenericMaterialPropertyByName().
|
protected |
The name of the object that this interface belongs to.
Definition at line 463 of file MaterialPropertyInterface.h.
Referenced by checkMaterialProperty().
|
protected |
Parameters of the object with this interface.
Definition at line 460 of file MaterialPropertyInterface.h.
Referenced by checkBlockAndBoundaryCompatibility(), getMaterial(), getMaterialDataType(), and getMaterialPropertyName().
|
protected |
Reference to the subproblem.
Definition at line 472 of file MaterialPropertyInterface.h.
|
protected |
Current threaded it.
Definition at line 475 of file MaterialPropertyInterface.h.
Referenced by buildRequiredMaterials(), and getMaterialByName().
|
private |
optional material properties
Definition at line 588 of file MaterialPropertyInterface.h.
Referenced by getGenericOptionalMaterialProperty(), and resolveOptionalProperties().
|
protected |
True by default.
If false, this class throws an error if any of the stateful material properties interfaces are used.
Definition at line 536 of file MaterialPropertyInterface.h.
Referenced by getPossiblyConstantGenericMaterialPropertyByName(), and statefulPropertiesAllowed().
|
protected |
Use the interpolated state set up through the ProjectedStatefulMaterialStorageAction.
Definition at line 554 of file MaterialPropertyInterface.h.
Referenced by Material::getGenericMaterialPropertyByName(), and getGenericMaterialPropertyByName().
|
static |
The material property ID for a default (parsed from input) property.
Definition at line 75 of file MaterialPropertyInterface.h.
Referenced by defaultGenericMaterialProperty().
|
static |
The material property ID for a zero property.
Definition at line 78 of file MaterialPropertyInterface.h.
Referenced by MaterialBase::getGenericZeroMaterialProperty(), and getGenericZeroMaterialProperty().