|
dune-grid
2.2.0
|
#include <dune/grid/io/file/dgfparser/dgfug.hh>
Public Types | |
| typedef unsigned int | Flags |
Public Member Functions | |
| UGGridParameterBlock (std::istream &input) | |
| constructor taking istream | |
| bool | noClosure () const |
| returns true if no closure should be used for UGGrid | |
| bool | noCopy () const |
| returns true if no copies are made for UGGrid elements | |
| size_t | heapSize () const |
| returns heap size used on construction of the grid | |
| const std::string & | name (const std::string &defaultValue) const |
| return the name of the grid | |
| const std::string & | dumpFileName () const |
| bool | markLongestEdge () const |
| returns true if longest edge should be marked for AlbertaGrid | |
| 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 | |
| bool | noClosure_ |
| bool | noCopy_ |
| size_t | heapSize_ |
| Flags | foundFlags_ |
| std::string | name_ |
| std::string | dumpFileName_ |
| bool | markLongestEdge_ |
| std::stringstream | line |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const BasicBlock &b) |
typedef unsigned int Dune::dgf::GridParameterBlock::Flags [inherited] |
| Dune::dgf::UGGridParameterBlock::UGGridParameterBlock | ( | std::istream & | input | ) | [explicit] |
constructor taking istream
References Dune::dgf::BasicBlock::findtoken(), Dune::dgf::BasicBlock::getnextentry(), heapSize(), heapSize_, Dune::dgf::makeupcase(), noClosure_, and noCopy_.
| const std::string& Dune::dgf::GridParameterBlock::dumpFileName | ( | ) | const [inline, inherited] |
| bool Dune::dgf::BasicBlock::findtoken | ( | std::string | token | ) | [protected, inherited] |
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(), UGGridParameterBlock(), Dune::dgf::VertexBlock::VertexBlock(), and Dune::dgf::YaspGridParameterBlock::YaspGridParameterBlock().
| bool Dune::dgf::BasicBlock::getnextentry | ( | ENTRY & | entry | ) | [inline, protected, inherited] |
References Dune::dgf::BasicBlock::line.
Referenced by Dune::dgf::BoundaryDomBlock::BoundaryDomBlock(), Dune::dgf::GridParameterBlock::GridParameterBlock(), Dune::dgf::IntervalBlock::IntervalBlock(), Dune::dgf::SimplexGenerationBlock::SimplexGenerationBlock(), UGGridParameterBlock(), Dune::dgf::VertexBlock::VertexBlock(), and Dune::dgf::YaspGridParameterBlock::YaspGridParameterBlock().
| bool Dune::dgf::BasicBlock::getnextline | ( | ) | [protected, inherited] |
| bool Dune::dgf::BasicBlock::gettokenparam | ( | std::string | token, |
| std::string & | entry | ||
| ) | [protected, inherited] |
| size_t Dune::dgf::UGGridParameterBlock::heapSize | ( | ) | const [inline] |
returns heap size used on construction of the grid
References heapSize_.
Referenced by UGGridParameterBlock().
| const std::string& Dune::dgf::BasicBlock::id | ( | ) | const [inline, inherited] |
Referenced by Dune::dgf::BoundaryDomBlock::BoundaryDomBlock(), and Dune::dgf::VertexBlock::VertexBlock().
| bool Dune::dgf::BasicBlock::isactive | ( | ) | [inline, inherited] |
| bool Dune::dgf::BasicBlock::isempty | ( | ) | [inline, inherited] |
Referenced by Dune::dgf::DimBlock::DimBlock(), and Dune::dgf::GridParameterBlock::GridParameterBlock().
| int Dune::dgf::BasicBlock::linenumber | ( | ) | [inline, inherited] |
| bool Dune::dgf::GridParameterBlock::markLongestEdge | ( | ) | const [inline, inherited] |
returns true if longest edge should be marked for AlbertaGrid
References Dune::dgf::GridParameterBlock::foundFlags_, Dune::dgf::GridParameterBlock::foundLongestEdge, and Dune::dgf::GridParameterBlock::markLongestEdge_.
| const std::string& Dune::dgf::GridParameterBlock::name | ( | const std::string & | defaultValue | ) | const [inline, inherited] |
return the name of the grid
References Dune::dgf::GridParameterBlock::foundFlags_, Dune::dgf::GridParameterBlock::foundName, and Dune::dgf::GridParameterBlock::name_.
| bool Dune::dgf::UGGridParameterBlock::noClosure | ( | ) | const [inline] |
returns true if no closure should be used for UGGrid
References noClosure_.
| bool Dune::dgf::UGGridParameterBlock::noCopy | ( | ) | const [inline] |
| int& Dune::dgf::BasicBlock::noflines | ( | ) | [inline, inherited] |
| bool Dune::dgf::GridParameterBlock::ok | ( | ) | [inline, inherited] |
| void Dune::dgf::BasicBlock::reset | ( | ) | [inline, protected, inherited] |
| std :: ostream& operator<< | ( | std::ostream & | os, |
| const BasicBlock & | b | ||
| ) | [friend, inherited] |
std::string Dune::dgf::GridParameterBlock::dumpFileName_ [protected, inherited] |
const Flags Dune::dgf::GridParameterBlock::foundDumpFileName = 1 << 1 [static, inherited] |
Flags Dune::dgf::GridParameterBlock::foundFlags_ [protected, inherited] |
const Flags Dune::dgf::GridParameterBlock::foundLongestEdge = 1 << 5 [static, inherited] |
const Flags Dune::dgf::GridParameterBlock::foundName = 1 << 0 [static, inherited] |
size_t Dune::dgf::UGGridParameterBlock::heapSize_ [protected] |
Referenced by heapSize(), and UGGridParameterBlock().
std::stringstream Dune::dgf::BasicBlock::line [protected, inherited] |
bool Dune::dgf::GridParameterBlock::markLongestEdge_ [protected, inherited] |
std::string Dune::dgf::GridParameterBlock::name_ [protected, inherited] |
bool Dune::dgf::UGGridParameterBlock::noClosure_ [protected] |
Referenced by noClosure(), and UGGridParameterBlock().
bool Dune::dgf::UGGridParameterBlock::noCopy_ [protected] |
Referenced by noCopy(), and UGGridParameterBlock().
1.7.6.1