dune-grid
2.2.1
|
Common Grid parametersFor each grid implementation there is a set of parameters that can be passed via the GridParameter block to the momment of grid construction. Currently implemented common parameters are:
.
More...
#include <dune/grid/io/file/dgfparser/blocks/gridparameter.hh>
Public Types | |
typedef unsigned int | Flags |
Public Member Functions | |
GridParameterBlock (std::istream &in) | |
constructor: read commmon parameters More... | |
const std::string & | name (const std::string &defaultValue) const |
return the name of the grid More... | |
const std::string & | dumpFileName () const |
bool | markLongestEdge () const |
returns true if longest edge should be marked for AlbertaGrid More... | |
bool | ok () |
bool | isactive () |
bool | isempty () |
int & | noflines () |
int | linenumber () |
const std::string & | id () const |
Static Public Attributes | |
static const Flags | foundName = 1 << 0 |
static const Flags | foundDumpFileName = 1 << 1 |
static const Flags | foundLongestEdge = 1 << 5 |
Protected Member Functions | |
void | reset () |
bool | getnextline () |
template<class ENTRY > | |
bool | getnextentry (ENTRY &entry) |
bool | gettokenparam (std::string token, std::string &entry) |
bool | findtoken (std::string token) |
Protected Attributes | |
Flags | foundFlags_ |
std::string | name_ |
std::string | dumpFileName_ |
bool | markLongestEdge_ |
std::stringstream | line |
Common Grid parameters
For each grid implementation there is a set of parameters that can be passed via the GridParameter block to the momment of grid construction. Currently implemented common parameters are:
.
typedef unsigned int Dune::dgf::GridParameterBlock::Flags |
Dune::dgf::GridParameterBlock::GridParameterBlock | ( | std::istream & | in | ) |
constructor: read commmon parameters
References dumpFileName_, Dune::dgf::BasicBlock::findtoken(), foundDumpFileName, foundFlags_, foundLongestEdge, foundName, Dune::dgf::BasicBlock::getnextentry(), Dune::dgf::BasicBlock::isempty(), Dune::dgf::makeupcase(), markLongestEdge_, and name_.
|
inline |
References dumpFileName_, foundDumpFileName, and foundFlags_.
|
protectedinherited |
References Dune::dgf::BasicBlock::getnextline(), Dune::dgf::makeupcase(), and Dune::dgf::BasicBlock::reset().
Referenced by Dune::dgf::BoundaryDomBlock::BoundaryDomBlock(), GridParameterBlock(), Dune::dgf::SimplexGenerationBlock::SimplexGenerationBlock(), Dune::dgf::UGGridParameterBlock::UGGridParameterBlock(), Dune::dgf::VertexBlock::VertexBlock(), and Dune::dgf::YaspGridParameterBlock::YaspGridParameterBlock().
|
inlineprotectedinherited |
References Dune::dgf::BasicBlock::line.
Referenced by Dune::dgf::BoundaryDomBlock::BoundaryDomBlock(), GridParameterBlock(), Dune::dgf::IntervalBlock::IntervalBlock(), Dune::dgf::PeriodicFaceTransformationBlock::PeriodicFaceTransformationBlock(), Dune::dgf::SimplexGenerationBlock::SimplexGenerationBlock(), Dune::dgf::UGGridParameterBlock::UGGridParameterBlock(), Dune::dgf::VertexBlock::VertexBlock(), and Dune::dgf::YaspGridParameterBlock::YaspGridParameterBlock().
|
protectedinherited |
|
protectedinherited |
|
inlineinherited |
Referenced by Dune::dgf::BoundaryDomBlock::BoundaryDomBlock(), and Dune::dgf::VertexBlock::VertexBlock().
|
inlineinherited |
|
inlineinherited |
Referenced by Dune::dgf::DimBlock::DimBlock(), and GridParameterBlock().
|
inlineinherited |
|
inline |
returns true if longest edge should be marked for AlbertaGrid
References foundFlags_, foundLongestEdge, and markLongestEdge_.
|
inline |
return the name of the grid
References foundFlags_, foundName, and name_.
|
inlineinherited |
|
inline |
|
inlineprotectedinherited |
|
protected |
Referenced by dumpFileName(), and GridParameterBlock().
|
static |
Referenced by dumpFileName(), and GridParameterBlock().
|
protected |
Referenced by dumpFileName(), GridParameterBlock(), markLongestEdge(), and name().
|
static |
Referenced by GridParameterBlock(), and markLongestEdge().
|
static |
Referenced by GridParameterBlock(), and name().
|
protectedinherited |
|
protected |
Referenced by GridParameterBlock(), and markLongestEdge().
|
protected |
Referenced by GridParameterBlock(), and name().