Dune Core Modules (2.6.0)

Common Grid parameters. More...

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

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
 
bool markLongestEdge () const
 returns true if longest edge should be marked for AlbertaGrid
 

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 (Nov 13, 23:29, 2024)