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

#include <MaterialStates.hh>

Public Types

enum class  State { solid , liquid , powder , SIZE }
 

Static Public Attributes

static unsigned constexpr int n_material_states
 

Detailed Description

This struct describes a material that can be found in three states: solid, liquid, and powder as it is the case in PBF.

Definition at line 14 of file MaterialStates.hh.

Member Enumeration Documentation

◆ State

Enum on the possible material states.

Enumerator
solid 
liquid 
powder 
SIZE 

Definition at line 19 of file MaterialStates.hh.

Member Data Documentation

◆ n_material_states

unsigned constexpr int adamantine::SolidLiquidPowder::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 30 of file MaterialStates.hh.