5#ifndef DUNE_DGF_GRIDPARAMETERBLOCK_HH
6#define DUNE_DGF_GRIDPARAMETERBLOCK_HH
58 const std::string &
name (
const std::string &defaultValue )
const
62 dwarn <<
"GridParameterBlock: Parameter 'name' not specified, "
63 <<
"defaulting to '" << defaultValue <<
"'." << std::endl;
74 dwarn <<
"GridParameterBlock: found Parameter 'dumpfilename', "
85 dwarn <<
"GridParameterBlock: Parameter 'refinementedge' not specified, "
86 <<
"defaulting to 'ARBITRARY'." << 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:70
static const Flags foundName
Definition: gridparameter.hh:39
GridParameterBlock(std::istream &in)
constructor: read commmon parameters
unsigned int Flags
Definition: gridparameter.hh:37
std::string dumpFileName_
Definition: gridparameter.hh:46
bool ok()
Definition: gridparameter.hh:92
Flags foundFlags_
Definition: gridparameter.hh:44
const std::string & name(const std::string &defaultValue) const
return the name of the grid
Definition: gridparameter.hh:58
std::string name_
Definition: gridparameter.hh:45
bool markLongestEdge() const
returns true if longest edge should be marked for AlbertaGrid
Definition: gridparameter.hh:81
static const Flags foundLongestEdge
Definition: gridparameter.hh:41
bool markLongestEdge_
Definition: gridparameter.hh:47