5#ifndef DUNE_DGF_GRIDPARAMETERBLOCK_HH
6#define DUNE_DGF_GRIDPARAMETERBLOCK_HH
60 const std::string &
name (
const std::string &defaultValue )
const
64 dwarn <<
"GridParameterBlock: Parameter 'name' not specified, "
65 <<
"defaulting to '" << defaultValue <<
"'." << std::endl;
76 dwarn <<
"GridParameterBlock: found Parameter 'dumpfilename', "
87 dwarn <<
"GridParameterBlock: Parameter 'refinementedge' not specified, "
88 <<
"defaulting to 'ARBITRARY'." << std::endl;
98 dwarn <<
"GridParameterBlock: Parameter 'bisectioncompatibility' not specified, "
99 <<
"defaulting to '0' (false)." << std::endl;
Include standard header files.
Definition agrid.hh:60
Common Grid parameters.
Definition gridparameter.hh:35
static const Flags foundDumpFileName
Definition gridparameter.hh:40
const std::string & dumpFileName() const
Definition gridparameter.hh:72
static const Flags foundName
Definition gridparameter.hh:39
GridParameterBlock(std::istream &in)
constructor: read common parameters
static const Flags foundCompatible
Definition gridparameter.hh:42
unsigned int Flags
Definition gridparameter.hh:37
bool bisectionCompatibility_
Definition gridparameter.hh:49
std::string dumpFileName_
Definition gridparameter.hh:47
bool ok()
Definition gridparameter.hh:105
Flags foundFlags_
Definition gridparameter.hh:45
const std::string & name(const std::string &defaultValue) const
return the name of the grid
Definition gridparameter.hh:60
std::string name_
Definition gridparameter.hh:46
bool bisectionCompatibility() const
returns true if grid is compatible for bisection refinement
Definition gridparameter.hh:94
bool markLongestEdge() const
returns true if longest edge should be marked for AlbertaGrid
Definition gridparameter.hh:83
static const Flags foundLongestEdge
Definition gridparameter.hh:41
bool markLongestEdge_
Definition gridparameter.hh:48