dune-grid
2.4.1
|
Grid parameters for YaspGridThe YaspGridParameter class is in charge of passing parameters specific to YaspGrid to the grid construction. Current parameters are:
See the examplegrid5.dgf file for an example. More...
#include <dune/grid/io/file/dgfparser/dgfyasp.hh>
Public Types | |
typedef unsigned int | Flags |
Public Member Functions | |
YaspGridParameterBlock (std::istream &in) | |
constructor taking istream More... | |
int | overlap () const |
get dimension of world found in block 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 | |
int | _overlap |
Flags | foundFlags_ |
std::string | name_ |
std::string | dumpFileName_ |
bool | markLongestEdge_ |
std::stringstream | line |
The YaspGridParameter class is in charge of passing parameters specific to YaspGrid to the grid construction. Current parameters are:
See the examplegrid5.dgf file for an example.
|
inherited |
|
inline |
constructor taking istream
References Dune::dgf::BasicBlock::findtoken(), and Dune::dgf::BasicBlock::getnextentry().
|
inlineinherited |
References Dune::dgf::GridParameterBlock::dumpFileName_.
|
protectedinherited |
References Dune::dgf::BasicBlock::getnextline(), Dune::dgf::makeupcase(), and Dune::dgf::BasicBlock::reset().
Referenced by Dune::dgf::BoundaryDomBlock::BoundaryDomBlock(), Dune::dgf::GridParameterBlock::GridParameterBlock(), Dune::dgf::SimplexGenerationBlock::SimplexGenerationBlock(), Dune::dgf::UGGridParameterBlock::UGGridParameterBlock(), Dune::dgf::VertexBlock::VertexBlock(), and YaspGridParameterBlock().
|
inlineprotectedinherited |
References Dune::dgf::BasicBlock::line.
Referenced by Dune::dgf::BoundaryDomBlock::BoundaryDomBlock(), Dune::dgf::GridParameterBlock::GridParameterBlock(), Dune::dgf::IntervalBlock::IntervalBlock(), Dune::dgf::PeriodicFaceTransformationBlock::PeriodicFaceTransformationBlock(), Dune::dgf::SimplexGenerationBlock::SimplexGenerationBlock(), Dune::dgf::UGGridParameterBlock::UGGridParameterBlock(), Dune::dgf::VertexBlock::VertexBlock(), and YaspGridParameterBlock().
|
protectedinherited |
|
protectedinherited |
|
inlineinherited |
Referenced by Dune::dgf::BoundaryDomBlock::BoundaryDomBlock(), and Dune::dgf::VertexBlock::VertexBlock().
|
inlineinherited |
|
inlineinherited |
Referenced by Dune::dgf::DimBlock::DimBlock(), and Dune::dgf::GridParameterBlock::GridParameterBlock().
|
inlineinherited |
|
inlineinherited |
returns true if longest edge should be marked for AlbertaGrid
References Dune::dgf::GridParameterBlock::markLongestEdge_.
|
inlineinherited |
return the name of the grid
References Dune::dgf::GridParameterBlock::name_.
|
inlineinherited |
|
inlineinherited |
|
inline |
get dimension of world found in block
References _overlap.
|
inlineprotectedinherited |
|
protected |
Referenced by overlap().
|
protectedinherited |
|
staticinherited |
Referenced by Dune::dgf::GridParameterBlock::GridParameterBlock().
|
protectedinherited |
Referenced by Dune::dgf::GridParameterBlock::GridParameterBlock().
|
staticinherited |
Referenced by Dune::dgf::GridParameterBlock::GridParameterBlock().
|
staticinherited |
Referenced by Dune::dgf::GridParameterBlock::GridParameterBlock().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |