26 ContainerMedium
const& required_properties_medium,
27 ContainerSolid
const& required_properties_solid_phase,
28 ContainerLiquid
const& required_properties_liquid_phase,
29 ContainerGas
const& required_properties_gas_phase)
33 auto const& medium = *media_map.
getMedium(element_id);
34 if (!required_properties_medium.empty())
37 medium, required_properties_medium);
39 if (!required_properties_liquid_phase.empty())
42 medium.phase(
"AqueousLiquid"),
43 required_properties_liquid_phase);
45 if (!required_properties_gas_phase.empty())
48 medium.phase(
"Gas"), required_properties_gas_phase);
50 if (!required_properties_solid_phase.empty())
53 medium.phase(
"Solid"), required_properties_solid_phase);
void checkMaterialSpatialDistributionMap(MeshLib::Mesh const &mesh, MaterialPropertyLib::MaterialSpatialDistributionMap const &media_map, ContainerMedium const &required_properties_medium, ContainerSolid const &required_properties_solid_phase, ContainerLiquid const &required_properties_liquid_phase, ContainerGas const &required_properties_gas_phase)