ASPECT
Enumerations | Functions
aspect::MaterialModel::MaterialProperties Namespace Reference

Enumerations

enum  Property {
  uninitialized = 0, none = 1, viscosity = 2, density = 4,
  thermal_expansion_coefficient = 8, specific_heat = 16, thermal_conductivity = 32, compressibility = 64,
  entropy_derivative_pressure = 128, entropy_derivative_temperature = 256, reaction_terms = 512, reaction_rates = 1024,
  additional_outputs = 2048, equation_of_state_properties, all_properties
}
 

Functions

Property operator| (const Property d1, const Property d2)
 
Property operator|= (Property &d1, const Property d2)
 

Detailed Description

A namespace whose enum members are used in querying which material properties should be computed.

Enumeration Type Documentation

§ Property

An enum whose members identify material model output properties.

Because the values of the enum are chosen so that they represent single bits in an integer, the result here is a number that can be represented in base-2 as 110 (the number 100=4 for the density and 010=2 for the viscosity).

Enumerator
uninitialized 
none 
viscosity 
density 
thermal_expansion_coefficient 
specific_heat 
thermal_conductivity 
compressibility 
entropy_derivative_pressure 
entropy_derivative_temperature 
reaction_terms 
reaction_rates 
additional_outputs 
equation_of_state_properties 
all_properties 

Definition at line 185 of file interface.h.

Function Documentation

§ operator|()

Property aspect::MaterialModel::MaterialProperties::operator| ( const Property  d1,
const Property  d2 
)
inline

Provide an operator that or's two Property variables. This allows to combine more than one property in a single variable.

Definition at line 220 of file interface.h.

§ operator|=()

Property aspect::MaterialModel::MaterialProperties::operator|= ( Property d1,
const Property  d2 
)
inline

Definition at line 226 of file interface.h.