24#ifndef DUMUX_PNM_COMMON_OUTPUT_FIELDS_HH
25#define DUMUX_PNM_COMMON_OUTPUT_FIELDS_HH
39 template <
class OutputModule>
42 out.addField(out.problem().gridGeometry().coordinationNumber(),
"coordinationNumber",
Vtk::FieldType::vertex);
46 out.addVolumeVariable([](
const auto& volVars){
return volVars.poreInscribedRadius(); },
"poreInscribedRadius");
50 out.addFluxVariable([](
const auto& fluxVars,
const auto& fluxVarsCache)
51 {
return fluxVarsCache.throatInscribedRadius(); },
"throatInscribedRadius");
53 out.addFluxVariable([](
const auto& fluxVars,
const auto& fluxVarsCache)
54 {
return fluxVarsCache.throatLength(); },
"throatLength");
Vtk field types available in Dumux.
Dune style VTK functions.
Definition: discretization/porenetwork/fvelementgeometry.hh:34
Adds output fields specific to all pore-network models.
Definition: porenetwork/common/iofields.hh:37
static void initOutputModule(OutputModule &out)
Definition: porenetwork/common/iofields.hh:40