1 #ifndef ABLATELIBRARY_TRANSPORT_MODEL_CONSTANT_HPP
2 #define ABLATELIBRARY_TRANSPORT_MODEL_CONSTANT_HPP
3 #include "transportModel.hpp"
4 namespace ablate::eos::transport {
11 const std::vector<PetscReal> diff;
19 static PetscErrorCode ConstantFunction(
const PetscReal conserved[], PetscReal* property,
void* ctx);
27 static PetscErrorCode ConstantVectorFunction(
const PetscReal conserved[], PetscReal* property,
void* ctx);
35 static PetscErrorCode ConstantTemperatureFunction(
const PetscReal conserved[], PetscReal temperature, PetscReal* property,
void* ctx);
43 static PetscErrorCode ConstantTemperatureVectorFunction(
const PetscReal conserved[], PetscReal temperature, PetscReal* property,
void* ctx);
52 explicit Constant(
double k = 0,
double mu = 0,
double diff = 0);
59 explicit Constant(
double k,
double mu, std::vector<double> difft);
61 void operator=(
const Constant&) =
delete;
Definition: constant.hpp:6
ThermodynamicFunction GetTransportFunction(TransportProperty property, const std::vector< domain::Field > &fields) const override
Definition: constant.cpp:31
ThermodynamicTemperatureFunction GetTransportTemperatureFunction(TransportProperty property, const std::vector< domain::Field > &fields) const override
Definition: constant.cpp:52
Constant(double k=0, double mu=0, double diff=0)
Definition: constant.cpp:3
Definition: transportModel.hpp:10