#include <eos.hpp>
Public Attributes | |
PetscErrorCode(* | function )(const PetscReal conserved[], PetscReal T, PetscReal *property, void *ctx) = nullptr |
function to be called | |
std::shared_ptr< void > | context = nullptr |
optional context to pass into the function | |
PetscInt | propertySize = 1 |
the property size being set | |
Simple struct representing the context and function for computing any thermodynamic value when temperature is available.