27 "Compute a Real material property for bi-materials problem (consisting of two "
28 "different materials) defined by a level set function.");
35 _bimaterial_material_prop(2),
36 _material_prop(declareGenericProperty<Real, is_ad>(_base_name + _prop_name))
39 getParam<std::string>(
"levelset_positive_base") +
"_" +
_prop_name);
41 getParam<std::string>(
"levelset_negative_base") +
"_" +
_prop_name);
48 _material_prop[_qp] = (*_bimaterial_material_prop[0])[_qp];
55 _material_prop[_qp] = (*_bimaterial_material_prop[1])[_qp];
registerMooseObjectReplaced("XFEMApp", LevelSetBiMaterialReal, "01/01/2022 00:00", XFEMCutSwitchingMaterialReal)
Base class for switching between materials in a bi-material system where the interface is defined by ...
std::string _prop_name
Property name.
static InputParameters validParams()
Compute a Real material property for bi-materials problem (consisting of two different materials) def...
static InputParameters validParams()
virtual void assignQpPropertiesForLevelSetPositive() override
assign the material properties for the positive level set region.
virtual void assignQpPropertiesForLevelSetNegative() override
assign the material properties for the negative level set region.
std::vector< const GenericMaterialProperty< Real, is_ad > * > _bimaterial_material_prop
Real Material properties for the two separate materials in the bi-material system.
LevelSetBiMaterialRealTempl(const InputParameters ¶meters)
Switches between materials in a multi-material system where the interfaces are defined by multiple ge...