Dune Core Modules (2.3.1)
Dune::FacadeOptions::StoreGeometryReference< mydim, cdim, GridImp, GeometryImp > Struct Template Reference
Traits class determining whether the Dune::Geometry facade class stores the implementation object by reference or by value. More...
#include <dune/grid/common/geometry.hh>
Static Public Attributes | |
static const bool | v = true |
Whether to store by reference. | |
Detailed Description
template<int mydim, int cdim, class GridImp, template< int, int, class > class GeometryImp>
struct Dune::FacadeOptions::StoreGeometryReference< mydim, cdim, GridImp, GeometryImp >
struct Dune::FacadeOptions::StoreGeometryReference< mydim, cdim, GridImp, GeometryImp >
Traits class determining whether the Dune::Geometry facade class stores the implementation object by reference or by value.
Storing by reference is appropriate for grid managers that keep an instance of each geometry around anyway. Note that the reference to that instance must be valid at least until the next grid modification.
- Note
- Even grid managers that let the facade class store a copy must take care to keep that copy valid until the next grid modification, e.g. if the geometry implementation object does not itself store the corner coordinates but only keeps references.
The documentation for this struct was generated from the following file:
- dune/grid/common/geometry.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)