|
| enum | { MAXL = 64
} |
| | maximal number of levels More...
|
| |
| enum | { newElementsChunk_ = 100
} |
| | element chunk for refinement More...
|
| |
| enum | { refineEstimate_ = 40
} |
| | upper estimate on number of elements that could be created when a new element is created More...
|
| |
|
typedef ALU2dGridObjectStream | ObjectStreamType |
| | dummy object stream
|
| |
|
typedef ALU2dGridFamily< dim, dimworld, eltype > | GridFamily |
| | my Traits class
|
| |
|
typedef ALU2dGridHierarchicIndexSet< dim, dimworld, elementType > | HierarchicIndexSet |
| | Type of the hierarchic index set.
|
| |
|
typedef ALU2dGridLocalIdSet< dim, dimworld, elementType > | LocalIdSetImp |
| | Type of the local id set.
|
| |
|
typedef Traits::GlobalIdSet | GlobalIdSet |
| | Type of the global id set.
|
| |
|
typedef Traits::LocalIdSet | LocalIdSet |
| | Type of the local id set.
|
| |
|
typedef GridFamily::LevelIndexSetImp | LevelIndexSetImp |
| | Type of the level index set.
|
| |
|
typedef GridFamily::LeafIndexSetImp | LeafIndexSetImp |
| | Type of the leaf index set.
|
| |
|
typedef ALU2dGridLeafIterator< 0, All_Partition, const ThisType > | LeafIteratorImp |
| | a standard leaf iterator
|
| |
|
typedef ALU2dGridLevelIterator< 0, All_Partition, const ThisType > | LevelIteratorImp |
| | a standard leaf iterator
|
| |
|
typedef Traits::DuneBoundaryProjectionType | DuneBoundaryProjectionType |
| | boundary projection type
|
| |
|
typedef Traits::DuneBoundaryProjectionVector | DuneBoundaryProjectionVector |
| | boundary projection type
|
| |
|
| 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::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.
|
| |
|
typedef alu2d_ctype | ctype |
| | Define type used for coordinates in grid module.
|
| |
|
|
| ~ALU2dGrid () |
| | Desctructor.
|
| |
| int | maxLevel () const |
| |
| template<int cd, PartitionIteratorType pitype> |
| Traits::template Codim< cd >::template Partition< pitype >::LevelIterator | lbegin (int level) const |
| |
|
template<int cd, PartitionIteratorType pitype> |
| Traits::template Codim< cd >::template Partition< pitype >::LevelIterator | lend (int level) const |
| | one past the end on this level
|
| |
|
template<int cd> |
| Traits::template Codim< cd >::template Partition< All_Partition >::LevelIterator | lbegin (int level) const |
| | Iterator to first entity of given codim on level.
|
| |
|
template<int cd> |
| Traits::template Codim< cd >::template Partition< All_Partition >::LevelIterator | lend (int level) const |
| | one past the end on this level
|
| |
|
LevelIteratorType | lbegin (int level) const |
| | Iterator to first entity of codim 0 on level.
|
| |
|
LevelIteratorType | lend (int level) const |
| | last entity of codim 0 on level
|
| |
|
template<int codim, PartitionIteratorType pitype> |
| Traits::template Codim< codim >::template Partition< pitype >::LeafIterator | leafbegin () const |
| | General definiton for a leaf iterator.
|
| |
|
template<int codim, PartitionIteratorType pitype> |
| Traits::template Codim< codim >::template Partition< pitype >::LeafIterator | leafend () const |
| | General definition for an end iterator on leaf level.
|
| |
|
template<int codim> |
| Traits::template Codim< codim >::LeafIterator | leafbegin () const |
| | General definiton for a leaf iterator.
|
| |
|
template<int codim> |
| Traits::template Codim< codim >::LeafIterator | leafend () const |
| | General definition for an end iterator on leaf level.
|
| |
|
int | size (int level, int cd) 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, codim and geometry type in this process
|
| |
|
int | size (GeometryType type) const |
| | number of leaf entities per codim and geometry type in this process
|
| |
|
const std::vector< GeometryType > & | geomTypes (int codim) const |
| | deliver all geometry types used in this grid
|
| |
|
const GlobalIdSet & | globalIdSet () const |
| | get global id set of grid
|
| |
|
const LocalIdSet & | localIdSet () const |
| | get global id set of grid
|
| |
|
int | hierSetSize (int cd) const |
| | number of grid entities in the entire grid for given codim
|
| |
|
const HierarchicIndexSet & | hierarchicIndexSet () const |
| | get hierarchic index set of the grid
|
| |
|
const Traits::LeafIndexSet & | leafIndexSet () const |
| | get leaf index set of the grid
|
| |
|
const Traits::LevelIndexSet & | levelIndexSet (int level) const |
| | get level index set of the grid
|
| |
|
void | globalRefine (int refCount) |
| | refine grid refCount times
|
| |
|
bool | preAdapt () |
| | returns if a least one entity was marked for coarsening
|
| |
|
void | postAdapt () |
| | clear all entity new markers
|
| |
| bool | adapt () |
| |
| int | getMark (const typename Traits::template Codim< 0 >::Entity &e) const |
| | returns adaptation mark for given entity More...
|
| |
| bool | mark (int refCount, const typename Traits::template Codim< 0 >::Entity &e) |
| | Marks an entity to be refined/coarsened in a subsequent adapt. More...
|
| |
|
const CollectiveCommunicationType & | comm () const |
| | return dummy communication
|
| |
|
size_t | numBoundarySegments () const |
| | return number of macro boundary segments
|
| |
|
bool | hasBoundaryProjection () const |
| | return true if boudanry projection is set
|
| |
| ALU2dGridMarkerVector & | getMarkerVector (int level) const |
| |
| ALU2dGridLeafMarkerVectorType & | getLeafMarker () const |
| |
|
template<GrapeIOFileFormatType ftype> |
| bool | writeGrid (const std::string filename, alu2d_ctype time) const |
| | write Grid to file in specified FileFormatType
|
| |
|
template<GrapeIOFileFormatType ftype> |
| bool | readGrid (const std::string filename, alu2d_ctype &time) |
| | read Grid from file filename and store time of mesh in time
|
| |
|
void | backup (std::ostream &) const |
| | backup to ostream
|
| |
|
void | restore (std::istream &) |
| | restore from istream
|
| |
|
bool | conformingRefinement () const |
| | return true if grid uses conforming refinement
|
| |
| template<class DataHandleImp , class DataTypeImp > |
| void | communicate (CommDataHandleIF< DataHandleImp, DataTypeImp > &data, InterfaceType iftype, CommunicationDirection dir, int level) const |
| | Communicate information on distributed entities on a given level Template parameter is a model of Dune::CommDataHandleIF. More...
|
| |
|
template<class DataHandleImp , class DataTypeImp > |
| void | communicate (CommDataHandleIF< DataHandleImp, DataTypeImp > &data, InterfaceType iftype, CommunicationDirection dir) const |
| | Communicate information on distributed entities on the leaf grid. Template parameter is a model of Dune::CommDataHandleIF.
|
| |
| bool | loadBalance () |
| | Re-balances the load each process has to handle for a parallel grid,. More...
|
| |
| template<class DataHandle > |
| bool | loadBalance (DataHandle &data) |
| | Re-balances the load each process has to handle for a parallel grid,. More...
|
| |
|
Traits::template Codim< codim >::LevelIterator | DUNE_DEPRECATED_MSG ("The method lbegin( level ) is superseded by levelGridView( level ).begin.") lbegin(int level) const |
| | Iterator to first entity of given codim on level for PartitionType All_Partition.
|
| |
|
Traits::template Codim< codim >::LevelIterator | DUNE_DEPRECATED_MSG ("The method lend( level ) is superseded by levelGridView( level ).end.") lend(int level) const |
| | one past the end on this level for PartitionType All_Partition
|
| |
|
Traits::template Codim< codim >::template Partition< pitype >::LevelIterator | DUNE_DEPRECATED_MSG ("The method lbegin( level ) is superseded by levelGridView( level ).begin.") lbegin(int level) const |
| | Iterator to first entity of given codim on level.
|
| |
|
Traits::template Codim< codim >::template Partition< pitype >::LevelIterator | DUNE_DEPRECATED_MSG ("The method lend( level ) is superseded by levelGridView( level ).end.") lend(int level) const |
| | one past the end on this level
|
| |
|
Traits::template Codim< codim >::LeafIterator | DUNE_DEPRECATED_MSG ("The method leafbegin() is superseded by leafGridView().begin.") leafbegin() const |
| | Iterator to first entity of given codim on leaf grid for PartitionType All_Partition.
|
| |
|
Traits::template Codim< codim >::LeafIterator | DUNE_DEPRECATED_MSG ("The method leafend() is superseded by leafGridView().end.") leafend() const |
| | one past the end on the leaf grid for PartitionType All_Partition
|
| |
|
Traits::template Codim< codim >::template Partition< pitype >::LeafIterator | DUNE_DEPRECATED_MSG ("The method leafbegin() is superseded by leafGridView().begin.") leafbegin() const |
| | Iterator to first entity of given codim on leaf grid.
|
| |
|
Traits::template Codim< codim >::template Partition< pitype >::LeafIterator | DUNE_DEPRECATED_MSG ("The method leafend() is superseded by leafGridView().end.") leafend() const |
| | one past the end on the leaf level grid
|
| |
|
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 | overlapSize (int level, int codim) const |
| | overlapSize is zero by default
|
| |
|
int | overlapSize (int codim) const |
| | overlapSize is zero by default
|
| |
|
|
Codim< cd >::template Partition< pitype >::LevelIterator | DUNE_DEPRECATED_MSG ("The method lbegin( level ) is superseded by levelGridView( level ).begin and will be removed after Dune 2.4.") lbegin(int level) const |
| | Iterator to first entity of given codim on level.
|
| |
|
Codim< cd >::template Partition< pitype >::LevelIterator | DUNE_DEPRECATED_MSG ("The method lend( level ) is superseded by levelGridView( level ).end and will be removed after Dune 2.4.") lend(int level) const |
| | one past the end on this level
|
| |
|
Codim< cd >::template Partition< pitype >::LeafIterator | DUNE_DEPRECATED_MSG ("The method leafbegin() is superseded by leafGridView().begin and will be removed after Dune 2.4.") leafbegin() const |
| | Iterator to first entity of given codim on leaf grid.
|
| |
|
Codim< cd >::template Partition< pitype >::LeafIterator | DUNE_DEPRECATED_MSG ("The method leafend() is superseded by leafGridView().end and will be removed after Dune 2.4.") leafend() const |
| | one past the end on the leaf level grid
|
| |
|
| | DUNE_DEPRECATED_MSG ("entityPointer() is deprecated and will be removed after the release of dune-grid 2.4. Use entity() instead to directly obtain an Entity object.") typename Codim< EntitySeed |
| | obtain EntityPointer from EntitySeed. More...
|
| |
|
const GridImp & | asImp () const |
| | Barton-Nackman trick.
|
| |
|
| 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...
|
| |
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
class Dune::ALU2dGrid< dim, dimworld, eltype >
[ provides Dune::Grid ]
2D grid, will provide non conform grids The ALU2dGrid implements the Dune GridInterface for 2d meshes. This grid can be locally adapted and will provide non conform grids.
- Note
- Adaptive grid, written mainly by Bernard Schupp. This grid supports non conform grids.
(see ALUGrid homepage: http://www.mathematik.uni-freiburg.de/IAM/Research/alugrid/)