adamantine
Public Types | Static Public Attributes | List of all members
adamantine::SolidLiquid Struct Reference

#include <MaterialStates.hh>

Public Types

enum class  State { solid , liquid , SIZE }
 

Static Public Attributes

static unsigned constexpr int n_material_states
 

Detailed Description

This struct describes a material that can be found in two states: solid and liquid as it is the case in DED.

Definition at line 38 of file MaterialStates.hh.

Member Enumeration Documentation

◆ State

Enum on the possible material states.

Enumerator
solid 
liquid 
SIZE 

Definition at line 43 of file MaterialStates.hh.

Member Data Documentation

◆ n_material_states

unsigned constexpr int adamantine::SolidLiquid::n_material_states
staticconstexpr
Initial value:
=
static_cast<unsigned int>(State::SIZE)

Maximum different number of states a given material can be.

Definition at line 53 of file MaterialStates.hh.