OGS
Phase.cpp File Reference
#include "Phase.h"
#include "BaseLib/Algorithm.h"
#include "BaseLib/Error.h"
#include "Component.h"
#include "Properties/Properties.h"
Include dependency graph for Phase.cpp:

Go to the source code of this file.

Namespaces

namespace  MaterialPropertyLib

Functions

std::string_view MaterialPropertyLib::toString (PhaseName phase_name)
 Convert phase enum to its string representation.
PhaseName MaterialPropertyLib::fromString (std::string const &phase_name)
 Convert string to phase enum. Throws if invalid phase name.
void MaterialPropertyLib::checkRequiredProperties (Phase const &phase, std::span< PropertyType const > const required_properties)