25#ifndef DUMUX_TWOP_ONEC_IO_FIELDS_HH
26#define DUMUX_TWOP_ONEC_IO_FIELDS_HH
40 template <
class OutputModule>
47 out.addVolumeVariable([](
const auto& v){
return v.priVars().state(); },
51 template <
class ModelTraits,
class Flu
idSystem,
class Sol
idSystem =
void>
54 using Indices =
typename ModelTraits::Indices;
58 (state == Indices::twoPhases)
63 (state == Indices::twoPhases)
A collection of input/output field names for common physical quantities.
@ p0s1
first phase pressure and second phase saturation as primary variables
Definition formulation.hh:36
std::string temperature() noexcept
I/O name of temperature for equilibrium models.
Definition name.hh:51
std::string pressure() noexcept
I/O name of pressure for singlephase systems.
Definition name.hh:38
std::string saturation(int phaseIdx) noexcept
I/O name of saturation for multiphase systems.
Definition name.hh:43
std::string phasePresence() noexcept
I/O name of phase presence.
Definition name.hh:147
static void initOutputModule(OutputModule &out)
Definition porousmediumflow/2p/iofields.hh:42
Adds I/O fields specific to two-phase one-component model.
Definition porousmediumflow/2p1c/iofields.hh:38
static std::string primaryVariableName(int pvIdx, int state)
Definition porousmediumflow/2p1c/iofields.hh:52
static void initOutputModule(OutputModule &out)
Definition porousmediumflow/2p1c/iofields.hh:41
Adds I/O fields specific to the two-phase model.