dune-grid
2.3.1
|
[ provides Dune::Grid ] More...
#include <dune/grid/sgrid.hh>
Public Types | |
enum | { MAXL = 32 } |
maximum number of levels allowed More... | |
typedef SGridFamily< dim, dimworld, _ctype > | GridFamily |
typedef bigunsignedint< dim *sgrid_dim_bits+sgrid_level_bits+sgrid_codim_bits > | PersistentIndexType |
typedef SGridLevelIndexSet < SGrid< dim, dimworld > > | LevelIndexSetType |
typedef SGridLevelIndexSet < SGrid< dim, dimworld > > | LeafIndexSetType |
typedef SGridGlobalIdSet < SGrid< dim, dimworld > > | GlobalIdSetType |
typedef SGridFamily< dim, dimworld, _ctype >::Traits | Traits |
typedef _ctype | ctype |
define type used for coordinates in grid module | |
Exported constants | |
enum | { dimension = dim } |
A constant that exports the template parameter dim. More... | |
enum | { dimensionworld = dimworld } |
A constant that exports the template parameter dimworld. More... | |
Exported types | |
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. |
Public Member Functions | |
SGrid (const int *const N_, const ctype *const H_) | |
Make an SGrid from extend and number of cells per direction. | |
SGrid (const int *const N_, const ctype *const L_, const ctype *const H_) | |
Make an SGrid from position, extend and number of cells per direction. | |
SGrid (FieldVector< int, dim > N_, FieldVector< ctype, dim > L_, FieldVector< ctype, dim > H_) | |
Make an SGrid from position, extend and number of cells per direction. | |
SGrid () | |
empty constructor making grid of unit square discretized with one cell | |
~SGrid () | |
SGrid destructor. | |
int | maxLevel () const |
template<int cd, PartitionIteratorType pitype> | |
Traits::template Codim< cd > ::template Partition< pitype > ::LevelIterator | lbegin (int level) const |
Iterator to first entity of given codim on level. | |
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 | |
template<int cd, PartitionIteratorType pitype> | |
Traits::template Codim< cd > ::template Partition< pitype > ::LeafIterator | leafbegin () const |
return LeafIterator which points to the first entity | |
template<int cd, PartitionIteratorType pitype> | |
Traits::template Codim< cd > ::template Partition< pitype > ::LeafIterator | leafend () const |
one past the end on the leaf level | |
template<int cd> | |
Traits::template Codim< cd > ::template Partition < All_Partition > ::LeafIterator | leafbegin () const |
return LeafIterator which points to the first entity | |
template<int cd> | |
Traits::template Codim< cd > ::template Partition < All_Partition > ::LeafIterator | leafend () const |
return LeafIterator which points behind the last entity | |
template<typename Seed > | |
Traits::template Codim < Seed::codimension > ::EntityPointer | entityPointer (const Seed &seed) const |
template<class T , template< class > class P, int codim> | |
void | communicate (T &t, InterfaceType iftype, CommunicationDirection dir, int 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 codim and geometry type in this process | |
size_t | numBoundarySegments () const |
returns the number of boundary segments within the macro grid | |
int | global_size (int codim) const |
number of grid entities of all level for given codim | |
int | overlapSize (int level, int codim) |
return size (= distance in graph) of overlap region | |
int | ghostSize (int level, int codim) |
return size (= distance in graph) of ghost region | |
void | globalRefine (int refCount) |
Refine mesh globally by one refCount levels. | |
const array< int, dim > & | dims (int level) const |
Get number of elements in each coordinate direction. | |
const FieldVector< ctype, dimworld > & | lowerLeft () const |
Get lower left corner. | |
FieldVector< ctype, dimworld > | upperRight () const |
Get upper right corner. | |
bool | adapt () |
map adapt to global refine | |
const Traits::GlobalIdSet & | globalIdSet () const |
return const reference to the grids global id set | |
const Traits::LocalIdSet & | localIdSet () const |
return const reference to the grids local id set | |
const Traits::LevelIndexSet & | levelIndexSet (int level) const |
return const reference to the grids level index set for level level | |
const Traits::LeafIndexSet & | leafIndexSet () const |
return const reference to the grids leaf index set | |
Traits::template Partition < pitype >::LevelGridView | levelView (int level) const |
View for a grid level. | |
Traits::template Partition < All_Partition > ::LevelGridView | levelView (int level) const |
View for a grid level for All_Partition. | |
Traits::template Partition < pitype >::LeafGridView | leafView () const |
View for the leaf grid. | |
Traits::template Partition < All_Partition > ::LeafGridView | leafView () const |
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. | |
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. | |
bool | preAdapt () |
returns true, if at least one entity is marked for adaption | |
void | postAdapt () |
clean up some markers | |
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 | |
template<class EntitySeed > | |
Codim< EntitySeed::codimension > ::EntityPointer | entityPointer (const EntitySeed &seed) const |
obtain EntityPointer from EntitySeed. | |
Adaptivity and grid refinement | |
bool | mark (int refCount, const typename Codim< 0 >::Entity &e) |
Marks an entity to be refined/coarsened in a subsequent adapt. | |
int | getMark (const typename Codim< 0 >::Entity &e) const |
returns adaptation mark for given entity |
Protected Member Functions | |
GridImp & | asImp () |
Barton-Nackman trick. | |
const GridImp & | asImp () const |
Barton-Nackman trick. |
Static Protected Member Functions | |
static ReturnImplementationType < InterfaceType > ::ImplementationType & | getRealImplementation (InterfaceType &i) |
return real implementation of interface class |
[ provides Dune::Grid ]
A structured mesh in d dimensions consisting of "cubes" (pilot implementation of the Dune grid interface, for debugging only).
This module describes the pilot implementation of the %Dune grid interface. It implements the grid interface for simple structured meshes. \warning SGrid is slow. It is intended for debugging only. The following class diagram shows how the classes are related with each other: \image html sgridclasses.png "Class diagram for classes in the grid interface" \image latex sgridclasses.eps "Class diagram for classes in the grid interface" width=\textwidth Short description of the classes: - SGeometry is a class template providing the geometric part of a grid entity, i.e. a general polyhedron with a mapping from a reference polyhedron to the actual polyhedron. - SLevelIterator is a class template which allows to iterate over all grid entities of a given codimension and level. - SEntity is a class template realizing the grid entities. Grid entities are the constituents of a grid. Grid entities of codimension 0 and codimension dim are defines through specialization. Entities can be used as template parameters to generic algorithms. Each entity must therefore provide the nested classes Geometry, LevelIterator, HierarchicIterator and IntersectionIterator. Geometry and LevelIterator are derived from the classes SELement and SLevelIterator. Note that entities of codimension 0 and dim have an extended interface. - SEntity::IntersectionIterator provides access to all entities of codimension 0 sharing an object of codimension 1 with the given entity of codimension 0. This interface covers nonmatching grids. - SEntity::HierarchicIterator provides access to the sons of an entity of codimension 0. - SGrid is conceptualized as a container of grid entities of various codimensions. Since grids are used as template parameters to generic algorithms they must include the nested classes LevelIterator and Entity which are derived from SLevelIterator and SEntity.
A Grid is a container of grid entities. Given a dimension dim these entities have a codimension codim with 0 <= codim <= dim.
The Grid is assumed to be hierachically refined and nested. It enables iteration over entities of a given level and codimension.
All information is provided to allocate degrees of freedom in appropriate vector data structures.
|
inherited |
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 _ctype Dune::SGrid< dim, dimworld, _ctype >::ctype |
define type used for coordinates in grid module
|
inherited |
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 SGridGlobalIdSet<SGrid<dim,dimworld> > Dune::SGrid< dim, dimworld, _ctype >::GlobalIdSetType |
typedef SGridFamily<dim,dimworld,_ctype> Dune::SGrid< dim, dimworld, _ctype >::GridFamily |
|
inherited |
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.
|
inherited |
|
inherited |
A type that is a model of Dune::IndexSet which provides a consecutive, but non persistent, numbering for entities in the leaf grid.
typedef SGridLevelIndexSet<SGrid<dim,dimworld> > Dune::SGrid< dim, dimworld, _ctype >::LeafIndexSetType |
|
inherited |
A type that is a model of Dune::Intersection, an intersections of two codimension 1 of two codimension 0 entities in the leaf view.
|
inherited |
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.
|
inherited |
View types for All_Partition.
|
inherited |
A type that is a model of Dune::IndexSet which provides a consecutive, but non persistent, numbering for entities on a grid level.
typedef SGridLevelIndexSet<SGrid<dim,dimworld> > Dune::SGrid< dim, dimworld, _ctype >::LevelIndexSetType |
|
inherited |
A type that is a model of Dune::Intersection, an intersections of two codimension 1 of two codimension 0 entities in a level view.
|
inherited |
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.
|
inherited |
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 bigunsignedint<dim*sgrid_dim_bits+sgrid_level_bits+sgrid_codim_bits> Dune::SGrid< dim, dimworld, _ctype >::PersistentIndexType |
typedef SGridFamily<dim,dimworld,_ctype>::Traits Dune::SGrid< dim, dimworld, _ctype >::Traits |
|
inherited |
|
inherited |
anonymous enum |
Dune::SGrid< dim, dimworld, _ctype >::SGrid | ( | const int *const | N_, |
const ctype *const | H_ | ||
) |
Make an SGrid from extend and number of cells per direction.
[in] | N_ | number of cells in each direction on coarsest level |
[in] | H_ | extend of the unit cube in each dimension |
Note: The origin of the cube is always at (0,0,...,0), only the extend is given.
Dune::SGrid< dim, dimworld, _ctype >::SGrid | ( | const int *const | N_, |
const ctype *const | L_, | ||
const ctype *const | H_ | ||
) |
Make an SGrid from position, extend and number of cells per direction.
[in] | N_ | number of cells in each direction on coarsest level |
[in] | L_ | position of origin of the cube |
[in] | H_ | position of the upper right corner of the cube |
Dune::SGrid< dim, dimworld, _ctype >::SGrid | ( | FieldVector< int, dim > | N_, |
FieldVector< ctype, dim > | L_, | ||
FieldVector< ctype, dim > | H_ | ||
) |
Make an SGrid from position, extend and number of cells per direction.
[in] | N_ | number of cells in each direction on coarsest level |
[in] | L_ | position of origin of the cube |
[in] | H_ | position of the upper right corner of the cube |
Note: This constructor uses FieldVectors instead of built-in arrays. This is compatible with the YaspGrid class.
Dune::SGrid< dim, dimworld, _ctype >::SGrid | ( | ) |
empty constructor making grid of unit square discretized with one cell
Dune::SGrid< dim, dimworld, _ctype >::~SGrid | ( | ) |
SGrid destructor.
|
inline |
map adapt to global refine
Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >.
References Dune::SGrid< dim, dimworld, _ctype >::globalRefine().
|
inlineprotectedinherited |
Barton-Nackman trick.
Referenced by Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::adapt(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::comm(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::communicate(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::entityPointer(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::getMark(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::ghostSize(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::globalIdSet(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::globalRefine(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::lbegin(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::leafbegin(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::leafend(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::leafGridView(), Dune::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::leafGridView(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::leafIndexSet(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::leafView(), Dune::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::leafView(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::lend(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::levelGridView(), Dune::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::levelGridView(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::levelIndexSet(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::levelView(), Dune::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::levelView(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::loadBalance(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::localIdSet(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::mark(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::maxLevel(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::numBoundarySegments(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::overlapSize(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::postAdapt(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::preAdapt(), and Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::size().
|
inlineprotectedinherited |
Barton-Nackman trick.
|
inline |
return const reference to a collective communication object. The return type is a model of Dune::CollectiveCommunication.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inlineinherited |
dummy communicate, doing nothing
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inlineinherited |
dummy communicate, doing nothing
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
The communication interface
T | array class holding data associated with the entities |
P | type used to gather/scatter data in and out of the message buffer |
codim | communicate entites of given codim |
t | array holding data associated with the entities |
iftype | one of the predefined interface types, throws error if it is not implemented |
dir | choose beetween forward and backward communication |
level | communicate for entities on the given level |
Implements a generic communication function sending an object of type P for each entity in the intersection of two processors. P has two methods gather and scatter that implement the protocol. Therefore P is called the "protocol class".
|
inline |
|
inline |
|
inline |
Get number of elements in each coordinate direction.
|
inlineinherited |
obtain EntityPointer from EntitySeed.
Reimplemented in Dune::ALU3dGrid< elType, Comm >, Dune::ALU3dGrid< tetra >, Dune::ALU3dGrid< hexa >, Dune::ALU2dGrid< dim, dimworld, eltype >, Dune::ALU2dGrid< 2, dimw, ALU2DSPACE triangle >, Dune::ALU2dGrid< 2, dimw, ALU2DSPACE quadrilateral >, and Dune::AlbertaGrid< dim, dimworld >.
Referenced by Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::entityPointer().
|
inline |
|
inlineinherited |
|
inlineinherited |
returns adaptation mark for given entity, i.e. here the default implementation returns 0.
[in] | e | Entity for which adaptation mark should be determined |
|
inlinestaticprotectedinherited |
return real implementation of interface class
Referenced by Dune::SGrid< dim, dimworld, _ctype >::entityPointer().
|
inline |
return size (= distance in graph) of ghost region
|
inline |
return size (= distance in graph) of ghost region
Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >.
|
inline |
return size (= distance in graph) of ghost region
Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >.
int Dune::SGrid< dim, dimworld, _ctype >::global_size | ( | int | codim | ) | const |
number of grid entities of all level for given codim
|
inline |
return const reference to the grids global id set
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
void Dune::SGrid< dim, dimworld, _ctype >::globalRefine | ( | int | refCount | ) |
Refine mesh globally by one refCount levels.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
Referenced by Dune::SGrid< dim, dimworld, _ctype >::adapt().
Traits::template Codim<cd>::template Partition<pitype>::LevelIterator Dune::SGrid< dim, dimworld, _ctype >::lbegin | ( | int | level | ) | const |
Iterator to first entity of given codim on level.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
Iterator to first entity of given codim on level.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
Traits::template Codim<cd>::template Partition<pitype>::LeafIterator Dune::SGrid< dim, dimworld, _ctype >::leafbegin | ( | ) | const |
return LeafIterator which points to the first entity
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
return LeafIterator which points to the first entity
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
Traits::template Codim<cd>::template Partition<pitype>::LeafIterator Dune::SGrid< dim, dimworld, _ctype >::leafend | ( | ) | const |
one past the end on the leaf level
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
return LeafIterator which points behind the last entity
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inlineinherited |
View for the leaf grid.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
References Dune::Grid< dim, dimworld, ct, GridFamily >::asImp().
|
inlineinherited |
View for the leaf grid for All_Partition.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
References Dune::Grid< dim, dimworld, ct, GridFamily >::asImp().
|
inline |
return const reference to the grids leaf index set
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inlineinherited |
View for the leaf grid.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
References Dune::Grid< dim, dimworld, ct, GridFamily >::asImp().
|
inlineinherited |
View for the leaf grid for All_Partition.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
References Dune::Grid< dim, dimworld, ct, GridFamily >::asImp().
Traits::template Codim<cd>::template Partition<pitype>::LevelIterator Dune::SGrid< dim, dimworld, _ctype >::lend | ( | int | level | ) | const |
one past the end on this level
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
one past the end on this level
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inlineinherited |
View for a grid level.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
References Dune::Grid< dim, dimworld, ct, GridFamily >::asImp().
|
inlineinherited |
View for a grid level for All_Partition.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
References Dune::Grid< dim, dimworld, ct, GridFamily >::asImp().
|
inline |
return const reference to the grids level index set for level level
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
References Dune::SGrid< dim, dimworld, _ctype >::maxLevel().
|
inlineinherited |
View for a grid level.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
References Dune::Grid< dim, dimworld, ct, GridFamily >::asImp().
|
inlineinherited |
View for a grid level for All_Partition.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
References Dune::Grid< dim, dimworld, ct, GridFamily >::asImp().
|
inlineinherited |
default implementation of load balance does nothing and returns false
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inlineinherited |
default implementation of load balance does nothing and returns false
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
return const reference to the grids local id set
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
Get lower left corner.
|
inlineinherited |
|
inlineinherited |
Marks an entity to be refined/coarsened in a subsequent adapt.
[in] | refCount | Number of subdivisions that should be applied. Negative value means coarsening. |
[in] | e | Entity to Entity that should be refined |
int Dune::SGrid< dim, dimworld, _ctype >::maxLevel | ( | ) | const |
Return maximum level defined in this grid. Levels are numbered 0 ... maxLevel with 0 the coarsest level.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
Referenced by Dune::SGrid< dim, dimworld, _ctype >::levelIndexSet(), and Dune::SGrid< dim, dimworld, _ctype >::size().
|
inline |
returns the number of boundary segments within the macro grid
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
return size (= distance in graph) of overlap region
|
inline |
return size (= distance in graph) of overlap region
Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >.
|
inline |
return size (= distance in graph) of overlap region
Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >.
|
inlineinherited |
clean up some markers
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inlineinherited |
returns true, if at least one entity is marked for adaption
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
int Dune::SGrid< dim, dimworld, _ctype >::size | ( | int | level, |
int | codim | ||
) | const |
number of grid entities per level and codim
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
Referenced by Dune::SGrid< dim, dimworld, _ctype >::size().
|
inline |
number of leaf entities per codim in this process
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
References Dune::SGrid< dim, dimworld, _ctype >::maxLevel(), and Dune::SGrid< dim, dimworld, _ctype >::size().
|
inline |
number of entities per level and geometry type in this process
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
References Dune::SGrid< dim, dimworld, _ctype >::size().
|
inline |
number of leaf entities per codim and geometry type in this process
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
References Dune::SGrid< dim, dimworld, _ctype >::maxLevel(), and Dune::SGrid< dim, dimworld, _ctype >::size().
|
inline |
Get upper right corner.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |