24#ifndef DUMUX_ENERGY_IO_FIELDS_HH
25#define DUMUX_ENERGY_IO_FIELDS_HH
37template<
class IsothermalIOFields =
void>
41 template <
class OutputModule>
44 IsothermalIOFields::initOutputModule(out);
45 out.addVolumeVariable( [](
const auto& v){
return v.temperature(); },
IOName::temperature());
48 template <
class ModelTraits,
class Flu
idSystem =
void,
class Sol
idSystem =
void>
51 using IsothermalTraits =
typename ModelTraits::IsothermalTraits;
53 if (pvIdx < ModelTraits::numEq() - 1)
54 return IsothermalIOFields::template primaryVariableName<IsothermalTraits, FluidSystem, SolidSystem>(pvIdx, state);
69 template <
class OutputModule>
72 out.addVolumeVariable( [](
const auto& v){
return v.temperature(); },
IOName::temperature());
75 template <
class ModelTraits,
class Flu
idSystem =
void,
class Sol
idSystem =
void>
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:51
Adds I/O fields specific to non-isothermal models.
Definition: porousmediumflow/nonisothermal/iofields.hh:39
static void initOutputModule(OutputModule &out)
Definition: porousmediumflow/nonisothermal/iofields.hh:42
static std::string primaryVariableName(int pvIdx, int state=0)
Definition: porousmediumflow/nonisothermal/iofields.hh:49
static void initOutputModule(OutputModule &out)
Definition: porousmediumflow/nonisothermal/iofields.hh:70
static std::string primaryVariableName(int pvIdx, int state=0)
Definition: porousmediumflow/nonisothermal/iofields.hh:76