26 const std::set<SubdomainID> & blocks_ids,
27 const std::set<BoundaryID> & boundary_ids);
36 template <
typename T,
bool is_ad>
45 const unsigned int state = 0)
47 return getGenericNeighborMaterialProperty<T, false>(
name, state);
52 return getGenericNeighborMaterialProperty<T, true>(
name, 0);
57 return getGenericNeighborMaterialProperty<T, false>(
name, 1);
62 return getGenericNeighborMaterialProperty<T, false>(
name, 2);
71 template <
typename T,
bool is_ad>
80 const unsigned int state = 0)
82 return getGenericNeighborMaterialPropertyByName<T, false>(
name, state);
87 return getGenericNeighborMaterialPropertyByName<T, true>(
name, 0);
std::string name(const ElemQuality q)
const MaterialProperty< T > & getNeighborMaterialPropertyOlder(const std::string &name)
const MaterialProperty< T > & getNeighborMaterialPropertyOld(const std::string &name)
MaterialData & _neighbor_material_data
const MaterialProperty< T > & getNeighborMaterialProperty(const std::string &name, const unsigned int state=0)
const MaterialProperty< T > & getNeighborMaterialPropertyByName(const std::string &name, const unsigned int state=0)
TwoMaterialPropertyInterface(const MooseObject *moose_object, const std::set< SubdomainID > &blocks_ids, const std::set< BoundaryID > &boundary_ids)
Every object that can be built by the factory should be derived from this class.
const ADMaterialProperty< T > & getNeighborADMaterialPropertyByName(const std::string &name)
typename GenericMaterialPropertyStruct< T, is_ad >::type GenericMaterialProperty
const GenericMaterialProperty< T, is_ad > & getGenericNeighborMaterialProperty(const std::string &name, const unsigned int state=0)
Retrieve the neighbor property deduced from the name name.
const GenericMaterialProperty< T, is_ad > & getGenericNeighborMaterialPropertyByName(const std::string &name, const unsigned int state=0)
Retrieve the neighbor property named "name" without any deduction.
An interface for accessing Materials.
static InputParameters validParams()
This interface is designed for DGKernel, InternalSideUserObject, InterfaceUserObject, where material properties on a side of both its primary side (face) and its secondary side (neighbor) all required.
Proxy for accessing MaterialPropertyStorage.
const ADMaterialProperty< T > & getNeighborADMaterialProperty(const std::string &name)