Dune Core Modules (unstable)

Common Grid parameters. More...

#include <dune/grid/io/file/dgfparser/blocks/gridparameter.hh>

Public Member Functions

 GridParameterBlock (std::istream &in)
 constructor: read common parameters
 
const std::string & name (const std::string &defaultValue) const
 return the name of the grid
 
bool markLongestEdge () const
 returns true if longest edge should be marked for AlbertaGrid
 
bool bisectionCompatibility () const
 returns true if grid is compatible for bisection refinement
 

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:

  1. name: The name of the grid ( later returned by the method grid.name() ).
  2. 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.

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 21, 23:30, 2024)