|
dune-grid 2.9.1
|
Loading...
Searching...
No Matches
Public Types |
Public Member Functions |
Static Public Attributes |
Protected Member Functions |
Protected Attributes |
List of all members
Dune::dgf::GridParameterBlock Class Reference
Common Grid parameters. More...
#include <dune/grid/io/file/dgfparser/blocks/gridparameter.hh>
Inheritance diagram for Dune::dgf::GridParameterBlock:

Public Types | |
| typedef unsigned int | Flags |
Public Member Functions | |
| GridParameterBlock (std::istream &in) | |
| constructor: read commmon parameters | |
| 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 | |
| Flags | foundFlags_ |
| std::string | name_ |
| std::string | dumpFileName_ |
| bool | markLongestEdge_ |
| std::stringstream | line |
Detailed Description
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:
- name: The name of the grid ( later returned by the method grid.name() ).
- refinementedge: parameter to specify the refinement edge in simplices. Valid values are arbitrary (which is the default value) and longest which marks the longest edge/face of each simplex to be the refinement edge.
See also the examplegrid5.dgf file for examples.
Member Typedef Documentation
◆ Flags
| typedef unsigned int Dune::dgf::GridParameterBlock::Flags |
Constructor & Destructor Documentation
◆ GridParameterBlock()
| Dune::dgf::GridParameterBlock::GridParameterBlock | ( | std::istream & | in | ) |
constructor: read commmon parameters
Member Function Documentation
◆ dumpFileName()
|
inline |
◆ findtoken()
|
protectedinherited |
◆ getnextentry()
template<class ENTRY >
|
inlineprotectedinherited |
◆ getnextline()
|
protectedinherited |
◆ gettokenparam()
|
protectedinherited |
◆ id()
|
inlineinherited |
◆ isactive()
|
inlineinherited |
◆ isempty()
|
inlineinherited |
◆ linenumber()
|
inlineinherited |
◆ markLongestEdge()
|
inline |
returns true if longest edge should be marked for AlbertaGrid
◆ name()
|
inline |
return the name of the grid
◆ noflines()
|
inlineinherited |
◆ ok()
|
inline |
◆ reset()
|
inlineprotectedinherited |
Member Data Documentation
◆ dumpFileName_
|
protected |
◆ foundDumpFileName
|
static |
◆ foundFlags_
|
protected |
◆ foundLongestEdge
|
static |
◆ foundName
|
static |
◆ line
|
protectedinherited |
◆ markLongestEdge_
|
protected |
◆ name_
|
protected |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8