12#ifndef DUMUX_ENERGY_IO_FIELDS_HH
13#define DUMUX_ENERGY_IO_FIELDS_HH
25template<
class IsothermalIOFields =
void>
29 template <
class OutputModule>
32 IsothermalIOFields::initOutputModule(out);
33 out.addVolumeVariable( [](
const auto& v){
return v.temperature(); },
IOName::temperature());
36 template <
class ModelTraits,
class Flu
idSystem =
void,
class Sol
idSystem =
void>
39 using IsothermalTraits =
typename ModelTraits::IsothermalTraits;
41 if (pvIdx < ModelTraits::numEq() - 1)
42 return IsothermalIOFields::template primaryVariableName<IsothermalTraits, FluidSystem, SolidSystem>(pvIdx, state);
57 template <
class OutputModule>
60 out.addVolumeVariable( [](
const auto& v){
return v.temperature(); },
IOName::temperature());
63 template <
class ModelTraits,
class Flu
idSystem =
void,
class Sol
idSystem =
void>
static void initOutputModule(OutputModule &out)
Definition: porousmediumflow/nonisothermal/iofields.hh:58
static std::string primaryVariableName(int pvIdx, int state=0)
Definition: porousmediumflow/nonisothermal/iofields.hh:64
Adds I/O fields specific to non-isothermal models.
Definition: porousmediumflow/nonisothermal/iofields.hh:27
static void initOutputModule(OutputModule &out)
Definition: porousmediumflow/nonisothermal/iofields.hh:30
static std::string primaryVariableName(int pvIdx, int state=0)
Definition: porousmediumflow/nonisothermal/iofields.hh:37
A collection of input/output field names for common physical quantities.
std::string temperature() noexcept
I/O name of temperature for equilibrium models.
Definition: name.hh:39