OGS
Phase.h File Reference
#include <memory>
#include <span>
#include <string>
#include <vector>
#include "Component.h"
Include dependency graph for Phase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MaterialPropertyLib::Phase

Namespaces

namespace  MaterialPropertyLib

Enumerations

enum class  MaterialPropertyLib::PhaseName { MaterialPropertyLib::Solid , MaterialPropertyLib::AqueousLiquid , MaterialPropertyLib::Gas , MaterialPropertyLib::FrozenLiquid }
 Enumeration of phase types. More...

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)