|
enum | RefinementType { LOCAL
, COPY
} |
| The different forms of grid refinement supported by OneDGrid. More...
|
|
typedef double | ctype |
| The type used to store coordinates. More...
|
|
typedef OneDGridFamily< dim, dimworld > | GridFamily |
| GridFamily of OneDGrid.
|
|
|
enum | |
| A constant that exports the template parameter dim.
|
|
enum | |
| A constant that exports the template parameter dimworld.
|
|
|
typedef Partition< All_Partition >::LevelGridView | LevelGridView |
| View types for All_Partition.
|
|
typedef Partition< All_Partition >::LeafGridView | LeafGridView |
|
typedef GridFamily::Traits::LeafIntersection | LeafIntersection |
| A type that is a model of Dune::Intersection, an intersections of two codimension 1 of two codimension 0 entities in the leaf view.
|
|
typedef GridFamily::Traits::LevelIntersection | LevelIntersection |
| A type that is a model of Dune::Intersection, an intersections of two codimension 1 of two codimension 0 entities in a level view.
|
|
typedef GridFamily::Traits::LeafIntersectionIterator | LeafIntersectionIterator |
| A type that is a model of Dune::IntersectionIterator which is an iterator that allows to examine, but not to modify, the intersections of codimension 1 of an leaf element (entity of codimension 0) with other leaf elements.
|
|
typedef GridFamily::Traits::LevelIntersectionIterator | LevelIntersectionIterator |
| A type that is a model of Dune::IntersectionIterator which is an iterator that allows to examine, but not to modify, the intersections of codimension 1 of an element (entity of codimension 0) with other elements on the same level.
|
|
typedef GridFamily::Traits::HierarchicIterator | HierarchicIterator |
| A type that is a model of Dune::HierarchicIterator A type of iterator that allows to examine, but not to modify, entities of codimension 0 that result from refinement of an entity of codimension 0.
|
|
typedef GridFamily::Traits::LevelIndexSet | LevelIndexSet |
| A type that is a model of Dune::IndexSet which provides a consecutive, but non persistent, numbering for entities on a grid level.
|
|
typedef GridFamily::Traits::LeafIndexSet | LeafIndexSet |
| A type that is a model of Dune::IndexSet which provides a consecutive, but non persistent, numbering for entities in the leaf grid.
|
|
typedef GridFamily::Traits::GlobalIdSet | GlobalIdSet |
| A type that is a model of Dune::IdSet which provides a unique and persistent numbering for all entities in the grid. The numbering is unique over all processes over which the grid is partitioned. The numbering is not necessarily consecutive.
|
|
typedef GridFamily::Traits::LocalIdSet | LocalIdSet |
| A type that is a model of Dune::IdSet which provides a unique and persistent numbering for all entities in the grid. The numbering is only unique in a single process and it is not necessarily consecutive.
|
|
typedef GridFamily::Traits::CollectiveCommunication | CollectiveCommunication |
| A type that is a model of Dune::CollectiveCommunication. It provides a portable way for collective communication on the set of processes used by the grid.
|
|
|
| OneDGrid (const std::vector< ctype > &coords) |
| Constructor with an explicit set of coordinates.
|
|
| OneDGrid (int numElements, const ctype &leftBoundary, const ctype &rightBoundary) |
| Constructor for a uniform grid.
|
|
| ~OneDGrid () |
| Destructor.
|
|
int | maxLevel () const |
| Return maximum level defined in this grid. More...
|
|
template<int codim> |
Traits::template Codim< codim >::LevelIterator | lbegin (int level) const |
| Iterator to first entity of given codim on level.
|
|
template<int codim> |
Traits::template Codim< codim >::LevelIterator | lend (int level) const |
| one past the end on this level
|
|
template<int codim, PartitionIteratorType PiType> |
Traits::template Codim< codim >::template Partition< PiType >::LevelIterator | lbegin (int level) const |
| Iterator to first entity of given codim on level.
|
|
template<int codim, PartitionIteratorType PiType> |
Traits::template Codim< codim >::template Partition< PiType >::LevelIterator | lend (int level) const |
| one past the end on this level
|
|
template<int codim> |
Traits::template Codim< codim >::LeafIterator | leafbegin () const |
| Iterator to first entity of given codim on leaf level.
|
|
template<int codim> |
Traits::template Codim< codim >::LeafIterator | leafend () const |
| one past the end on leaf level
|
|
template<int codim, PartitionIteratorType PiType> |
Traits::template Codim< codim >::template Partition< PiType >::LeafIterator | leafbegin () const |
| Iterator to first entity of given codim on level.
|
|
template<int codim, PartitionIteratorType PiType> |
Traits::template Codim< codim >::template Partition< PiType >::LeafIterator | leafend () const |
| one past the end on this level
|
|
int | size (int level, int codim) const |
| Number of grid entities per level and codim.
|
|
int | size (int codim) const |
| number of leaf entities per codim in this process
|
|
int | size (int level, GeometryType type) const |
| number of entities per level and geometry type in this process
|
|
int | size (GeometryType type) const |
| number of leaf entities per geometry type in this process
|
|
size_t | numBoundarySegments () const |
| Return the number of coarse grid boundary segments. More...
|
|
int | overlapSize (int codim) const |
| The processor overlap for parallel computing. Always zero because this is a strictly sequential grid.
|
|
int | ghostSize (int codim) const |
| The processor ghost overlap for parallel computing. Always zero because this is a strictly sequential grid.
|
|
int | overlapSize (int level, int codim) const |
| The processor overlap for parallel computing. Always zero because this is a strictly sequential grid.
|
|
int | ghostSize (int level, int codim) const |
| The processor ghost overlap for parallel computing. Always zero because this is a strictly sequential grid.
|
|
const Traits::GlobalIdSet & | globalIdSet () const |
| Get the set of global ids.
|
|
const Traits::LocalIdSet & | localIdSet () const |
| Get the set of local ids.
|
|
const Traits::LevelIndexSet & | levelIndexSet (int level) const |
| Get an index set for the given level.
|
|
const Traits::LeafIndexSet & | leafIndexSet () const |
| Get an index set for the leaf level.
|
|
bool | mark (int refCount, const Traits::Codim< 0 >::Entity &e) |
| Mark entity for refinement. More...
|
|
int | getMark (const Traits::Codim< 0 >::Entity &e) const |
| return current adaptation marker of given entity More...
|
|
bool | preAdapt () |
| Does nothing except return true if some element has been marked for refinement.
|
|
bool | adapt () |
| Triggers the grid refinement process.
|
|
void | postAdapt () |
| Adaptation post-processing: Reset all adaptation state flags.
|
|
void | setRefinementType (RefinementType type) |
| Sets the type of grid refinement.
|
|
void | globalRefine (int refCount) |
| Does one uniform refinement step. More...
|
|
Traits::template Partition< pitype >::LevelGridView | DUNE_DEPRECATED_MSG ("The method levelView has been renamed to levelGridView.") levelView(int level) const |
| View for a grid level.
|
|
Traits::template Partition< pitype >::LeafGridView | DUNE_DEPRECATED_MSG ("The method levelView has been renamed to leafGridView.") leafView() const |
| View for the leaf grid.
|
|
Traits::template Partition< All_Partition >::LevelGridView | levelView (int level) const DUNE_DEPRECATED_MSG("The method levelView has been renamed to levelGridView.") |
| View for a grid level for All_Partition.
|
|
Traits::template Partition< All_Partition >::LeafGridView | leafView () const DUNE_DEPRECATED_MSG("The method leafView has been renamed to leafGridView.") |
| View for the leaf grid for All_Partition.
|
|
Traits::template Partition< pitype >::LevelGridView | levelGridView (int level) const |
| View for a grid level.
|
|
Traits::template Partition< All_Partition >::LevelGridView | levelGridView (int level) const |
| View for a grid level for All_Partition.
|
|
Traits::template Partition< pitype >::LeafGridView | leafGridView () const |
| View for the leaf grid.
|
|
Traits::template Partition< All_Partition >::LeafGridView | leafGridView () const |
| View for the leaf grid for All_Partition.
|
|
bool | mark (int refCount, const typename Traits ::template Codim< 0 >::Entity &e) |
| Marks an entity to be refined/coarsened in a subsequent adapt. More...
|
|
int | getMark (const typename Traits::template Codim< 0 >::Entity &e) const |
| returns adaptation mark for given entity, i.e. here the default implementation returns 0. More...
|
|
void | communicate (CommDataHandleIF< DataHandleImp, DataTypeImp > &data, InterfaceType iftype, CommunicationDirection dir, int level) const |
|
void | communicate (CommDataHandleIF< DataHandleImp, DataTypeImp > &data, InterfaceType iftype, CommunicationDirection dir) const |
|
bool | loadBalance () |
| default implementation of load balance does nothing and returns false
|
|
bool | loadBalance (DataHandle &data) |
| default implementation of load balance does nothing and returns false
|
|
|
bool | mark (int refCount, const typename Codim< 0 >::Entity &e) |
| Marks an entity to be refined/coarsened in a subsequent adapt. More...
|
|
int | getMark (const typename Codim< 0 >::Entity &e) const |
| returns adaptation mark for given entity More...
|
|
One-dimensional adaptive grid.
[ provides Dune::Grid ]
This implementation of the grid interface provides one-dimensional grids only. The OneDGrid can be nonuniform and provides local mesh refinement and coarsening.