#include <zimmer.hpp>
Public Member Functions | |
Zimmer (std::shared_ptr< eos::EOS > eosIn, PetscReal upperLimitIn=0, PetscReal lowerLimitIn=0) | |
Zimmer (const Zimmer &)=delete | |
void | operator= (const Zimmer &)=delete |
ThermodynamicTemperatureFunction | GetRadiationPropertiesTemperatureFunction (RadiationProperty property, const std::vector< domain::Field > &fields) const override |
PetscInt | GetFieldComponentOffset (const std::string &str, const domain::Field &field) const |
Public Attributes | |
PetscReal | upperLimitStored |
PetscReal | lowerLimitStored |
A radiation gas absorption model which computes the absorptivity based on the presence of certain species.
PetscInt ablate::eos::radiationProperties::Zimmer::GetFieldComponentOffset | ( | const std::string & | str, |
const domain::Field & | field | ||
) | const |
Returns the index where a certain field component can be found. The index will be set to -1 if the component does not exist in the field. Convert all component names to lower case for string comparison
|
overridevirtual |
Single function to produce thermodynamic function for any property based upon the available fields and temperature
property | |
fields |
Check if the species exist in this run. If all don't exist, throw an error. If some don't exist, then the values should be set to zero for their mass fractions in all cases.
Get the offsets that locate the position of the species mass fractions in the fields.
< Create a struct to hold the offsets
< Create a struct to hold the offsets
Implements ablate::eos::radiationProperties::RadiationModel.