3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Namespaces | Classes | Functions
Dumux::MetaData Namespace Reference

Namespaces

namespace  Concept
 
namespace  Detail
 

Classes

class  Collector
 Class to collect metadata. More...
 

Functions

bool jsonFileExists (const std::string &fileName)
 convenience function to check if file exists More...
 
template<class Collector >
void readJsonFile (Collector &collector, const std::string &fileName)
 reads a json file into a tree More...
 
template<class Collector >
void writeJsonFile (const Collector &collector, const std::string &fileName)
 writes a json tree to file More...
 
template<class Collector >
void print (const Collector &collector)
 prints json tree More...
 
template<class Collector , class TypeTag , DiffMethod diffmethod, bool isImplicit>
void collectMetaData (Collector &collector, const FVAssembler< TypeTag, diffmethod, isImplicit > &a, bool hideTemplates=true)
 
template<class Collector , class GridGeometry >
auto collectMetaData (Collector &collector, const GridGeometry &gg, bool hideTemplates=true) -> typename std::enable_if_t< Dune::models< Concept::GridGeometry, GridGeometry >()>
 
template<class Collector , class GridVariables >
auto collectMetaData (Collector &collector, const GridVariables &gv, bool hideTemplates=true) -> typename std::enable_if_t< Dune::models< Concept::GridVariables, GridVariables >()>
 
template<class Collector , class GridView >
auto collectMetaData (Collector &collector, const GridView &gridView, bool hideTemplates=true) -> typename std::enable_if_t< Dune::models< Concept::GridView, GridView >()>
 
template<class TypeTag , class Collector >
auto collectTypeTags (Collector &collector)
 

Function Documentation

◆ collectMetaData() [1/4]

template<class Collector , class TypeTag , DiffMethod diffmethod, bool isImplicit>
void Dumux::MetaData::collectMetaData ( Collector collector,
const FVAssembler< TypeTag, diffmethod, isImplicit > &  a,
bool  hideTemplates = true 
)

◆ collectMetaData() [2/4]

template<class Collector , class GridGeometry >
auto Dumux::MetaData::collectMetaData ( Collector collector,
const GridGeometry &  gg,
bool  hideTemplates = true 
) -> typename std::enable_if_t<Dune::models<Concept::GridGeometry, GridGeometry>()>

◆ collectMetaData() [3/4]

template<class Collector , class GridVariables >
auto Dumux::MetaData::collectMetaData ( Collector collector,
const GridVariables &  gv,
bool  hideTemplates = true 
) -> typename std::enable_if_t<Dune::models<Concept::GridVariables, GridVariables>()>

◆ collectMetaData() [4/4]

template<class Collector , class GridView >
auto Dumux::MetaData::collectMetaData ( Collector collector,
const GridView &  gridView,
bool  hideTemplates = true 
) -> typename std::enable_if_t<Dune::models<Concept::GridView, GridView>()>

◆ collectTypeTags()

template<class TypeTag , class Collector >
auto Dumux::MetaData::collectTypeTags ( Collector collector)

◆ jsonFileExists()

bool Dumux::MetaData::jsonFileExists ( const std::string &  fileName)

convenience function to check if file exists

◆ print()

template<class Collector >
void Dumux::MetaData::print ( const Collector collector)

prints json tree

◆ readJsonFile()

template<class Collector >
void Dumux::MetaData::readJsonFile ( Collector collector,
const std::string &  fileName 
)

reads a json file into a tree

◆ writeJsonFile()

template<class Collector >
void Dumux::MetaData::writeJsonFile ( const Collector collector,
const std::string &  fileName 
)

writes a json tree to file