#include <tChem.hpp>
Public Attributes | |
PetscErrorCode(* | function )(const PetscReal conserved[], const PetscReal yi[], 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 | |
a thermodynamic function specific to TChem that takes yi from the arguments instead of conserved