3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
parameters.hh File Reference

The infrastructure to retrieve run-time parameters from Dune::ParameterTrees. More...

#include <iostream>
#include <list>
#include <sstream>
#include <unordered_map>
#include <fstream>
#include <dune/common/parametertree.hh>
#include <dune/common/parametertreeparser.hh>
#include <dune/common/parallel/mpihelper.hh>
#include <dumux/common/exceptions.hh>
#include <dumux/common/defaultusagemessage.hh>
#include <dumux/common/loggingparametertree.hh>

Go to the source code of this file.

Description

The infrastructure to retrieve run-time parameters from Dune::ParameterTrees.

Classes

class  Dumux::Parameters
 Parameter class managing runtime input parameters. More...

Namespaces

namespace  Dumux
 make the local view function available whenever we use the grid geometry

Functions

void Dumux::setParam (Dune::ParameterTree &params, const std::string &group, const std::string &key, const std::string &value)
 a free function to set model- or problem-specific default parameters
template<typename T, typename... Args>
Dumux::getParam (Args &&... args)
 A free function to get a parameter from the parameter tree singleton.
template<typename T, typename... Args>
Dumux::getParamFromGroup (Args &&... args)
 A free function to get a parameter from the parameter tree singleton with a model group.
bool Dumux::hasParam (const std::string &param)
 Check whether a key exists in the parameter tree.
bool Dumux::hasParamInGroup (const std::string &paramGroup, const std::string &param)
 Check whether a key exists in the parameter tree with a model group prefix.