13#ifndef DUMUX_RICHARDSEXTENDED_IO_FIELDS_HH 
   14#define DUMUX_RICHARDSEXTENDED_IO_FIELDS_HH 
   29    template <
class OutputModule>
 
   32        using VV = 
typename OutputModule::VolumeVariables;
 
   33        using FS = 
typename VV::FluidSystem;
 
   37        out.addVolumeVariable([](
const auto& v){ 
return v.moleFraction(FS::phase1Idx, FS::comp0Idx); },
 
   39        out.addVolumeVariable([](
const auto& v){ 
return v.priVars().state(); },
 
 
 
   44    template<
class ModelTraits, 
class Flu
idSystem, 
class Sol
idSystem = 
void>
 
   47        using Indices = 
typename ModelTraits::Indices;
 
   49        if (state == Indices::gasPhaseOnly)
 
 
Adds I/O fields specific to the extended Richards model.
Definition porousmediumflow/richardsextended/iofields.hh:26
static void initOutputModule(OutputModule &out)
Definition porousmediumflow/richardsextended/iofields.hh:30
Adds I/O fields specific to the Richards model.
Definition porousmediumflow/richards/iofields.hh:27
static void initOutputModule(OutputModule &out)
Definition porousmediumflow/richards/iofields.hh:30
A collection of input/output field names for common physical quantities.
std::string pressure() noexcept
I/O name of pressure for singlephase systems.
Definition name.hh:26
std::string phasePresence() noexcept
I/O name of phase presence.
Definition name.hh:135
std::string moleFraction(int phaseIdx, int compIdx) noexcept
I/O name of mole fraction.
Definition name.hh:98
static std::string primaryVariableName(int pvIdx, int state)
Definition porousmediumflow/richardsextended/iofields.hh:45
Adds I/O fields specific to the Richards model.