dune-grid
2.3beta2
|
[ provides Dune::Grid ] More...
#include <dune/grid/albertagrid/agrid.hh>
Classes | |
struct | AdaptationCallback |
struct | AdaptationState |
AdaptationState. |
Public Types | |
typedef AlbertaGridFamily< dim, dimworld > | GridFamily |
the grid family of AlbertaGrid | |
typedef GridFamily::ctype | ctype |
typedef AlbertaGridFamily< dim, dimworld >::Traits | Traits |
typedef Traits::LeafIndexSet | LeafIndexSet |
type of leaf index set | |
typedef Traits::LevelIndexSet | LevelIndexSet |
type of level index sets | |
typedef Traits::HierarchicIndexSet | HierarchicIndexSet |
type of hierarchic index set | |
typedef Traits::GlobalIdSet | GlobalIdSet |
type of global id set | |
typedef Traits::LocalIdSet | LocalIdSet |
type of local id set | |
typedef Traits::CollectiveCommunication | CollectiveCommunication |
type of collective communication | |
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. |
Public Member Functions | |
AlbertaGrid () | |
create an empty grid | |
AlbertaGrid (const Alberta::MacroData< dimension > ¯oData, const Dune::shared_ptr< DuneBoundaryProjection< dimensionworld > > &projection=Dune::shared_ptr< DuneBoundaryProjection< dimensionworld > >()) | |
create a grid from an ALBERTA macro data structure | |
template<class Proj , class Impl > | |
AlbertaGrid (const Alberta::MacroData< dimension > ¯oData, const Alberta::ProjectionFactoryInterface< Proj, Impl > &projectionFactory) | |
AlbertaGrid (const std::string ¯oGridFileName) | |
create a grid from an ALBERTA macro grid file | |
~AlbertaGrid () | |
desctructor | |
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 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 > ::LeafIterator | leafbegin () const |
return LeafIterator which points to first leaf entity | |
template<int codim, PartitionIteratorType pitype> | |
Traits::template Codim< codim > ::template Partition< pitype > ::LeafIterator | leafend () const |
return LeafIterator which points behind last leaf entity | |
template<int codim> | |
Traits::template Codim< codim > ::LeafIterator | leafbegin () const |
return LeafIterator which points to first leaf entity | |
template<int codim> | |
Traits::template Codim< codim > ::LeafIterator | leafend () const |
return LeafIterator which points behind last leaf entity | |
int | size (int level, int codim) const |
Number of grid entities per level and codim because lbegin and lend are none const, and we need this methods counting the entities on each level, you know. | |
int | size (int level, GeometryType type) const |
number of entities per level and geometry type in this process | |
int | size (int codim) const |
number of leaf entities per codim in this process | |
int | size (GeometryType type) const |
number of leaf entities per geometry type in this process | |
size_t | numBoundarySegments () const |
number of boundary segments within the macro grid | |
template<PartitionIteratorType pitype> | |
Traits::template Partition < pitype >::LevelGridView | levelView (int level) const |
View for a grid level. | |
template<PartitionIteratorType pitype> | |
Traits::template Partition < pitype >::LeafGridView | leafView () const |
View for the leaf grid. | |
Traits::template Partition < All_Partition > ::LevelGridView | levelView (int level) const |
View for a grid level for All_Partition. | |
Traits::template Partition < All_Partition > ::LeafGridView | leafView () const |
View for the leaf grid for All_Partition. | |
int | getMark (const typename Traits::template Codim< 0 >::Entity &e) const |
returns adaptation mark for given entity | |
bool | mark (int refCount, const typename Traits::template Codim< 0 >::Entity &e) |
Marks an entity to be refined/coarsened in a subsequent adapt. | |
void | globalRefine (int refCount) |
uses the interface, mark on entity and refineLocal | |
template<class DataHandle > | |
void | globalRefine (int refCount, AdaptDataHandleInterface< This, DataHandle > &handle) |
bool | adapt () |
Refine all positive marked leaf entities, coarsen all negative marked entities if possible. | |
template<class DataHandle > | |
bool | adapt (AdaptDataHandleInterface< This, DataHandle > &handle) |
callback adapt method with AdaptDataHandleInterface | |
bool | preAdapt () |
returns true, if a least one element is marked for coarsening | |
void | postAdapt () |
clean up some markers | |
const CollectiveCommunication & | comm () const |
return reference to collective communication, if MPI found this is specialisation for MPI | |
template<class EntitySeed > | |
Traits::template Codim < EntitySeed::codimension > ::EntityPointer | entityPointer (const EntitySeed &seed) const |
obtain EntityPointer from EntitySeed. | |
template<GrapeIOFileFormatType ftype> | |
bool | writeGrid (const std::string &filename, ctype time) const |
write Grid to file in specified GrapeIOFileFormatType | |
template<GrapeIOFileFormatType ftype> | |
bool | readGrid (const std::string &filename, ctype &time) |
read Grid from file filename and store time of mesh in time | |
const HierarchicIndexSet & | hierarchicIndexSet () const |
const Traits::LevelIndexSet & | levelIndexSet (int level) const |
return level index set for given level | |
const Traits::LeafIndexSet & | leafIndexSet () const |
return leaf index set | |
const GlobalIdSet & | globalIdSet () const |
return global IdSet | |
const LocalIdSet & | localIdSet () const |
return local IdSet | |
ALBERTA MESH * | getMesh () const |
const MeshPointer & | meshPointer () const |
const DofNumbering & | dofNumbering () const |
const LevelProvider & | levelProvider () const |
int | dune2alberta (int codim, int i) const |
int | alberta2dune (int codim, int i) const |
int | generic2alberta (int codim, int i) const |
int | alberta2generic (int codim, int i) const |
bool | writeGridXdr (const std::string &filename, ctype time) const |
bool | readGridXdr (const std::string &filename, ctype &time) |
reads ALBERTA mesh file | |
const AlbertaGridLeafIntersection < const This > & | getRealIntersection (const typename Traits::LeafIntersection &intersection) const |
const Alberta::GlobalVector & | getCoord (const ElementInfo &elementInfo, int vertex) const |
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. | |
int | ghostSize (int level, int codim) const |
ghostSize is zero by default | |
int | ghostSize (int codim) const |
ghostSize is zero by default | |
int | overlapSize (int level, int codim) const |
overlapSize is zero by default | |
int | overlapSize (int codim) const |
overlapSize is zero by default | |
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 | |
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 |
Static Public Member Functions | |
static std::string | typeName () |
template<int codim> | |
static int | getTwist (const typename Traits::template Codim< codim >::Entity &entity) |
template<int codim> | |
static int | getTwist (const typename Traits::template Codim< 0 >::Entity &entity, int subEntity) |
static int | getTwistInInside (const typename Traits::LeafIntersection &intersection) |
static int | getTwistInOutside (const typename Traits::LeafIntersection &intersection) |
Static Public Attributes | |
static const int | dimension = GridFamily::dimension |
static const int | dimensionworld = GridFamily::dimensionworld |
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 ]
simplicial grid imlementation from the ALBERTA finite element toolbox
AlbertaGrid provides access to the grid from the ALBERTA finite element toolbox through the Dune interface.
ALBERTA is a finite element toolbox written by Alfred Schmidt and Kunibert G. Siebert (see http://www.alberta-fem.de). It contains a simplicial mesh in 1, 2 and 3 space dimensions that can be dynamically adapted by a bisection algorithm.
Supported ALBERTA versions include 2.0 or higher. It can be downloaded from the ALBERTA website (www.alberta-fem.de). After installing ALBERTA, just configure DUNE with the –with-alberta option and provide the path to ALBERTA.
Each program linking to ALBERTA only supports a fixed dimension of world. This is obtained from the ALBERTA_DIM
preprocessor variable, which defaults to WORLDDIM
.
Further installation instructions can be found here: http://www.dune-project.org/external_libraries/install_alberta.html
If you use automake and want to compile a program maude, the following Makefile.am
snippet might help:
This will compile and link your program with the world dimension specified by WORLDDIM
. If you want to use different world dimensions per program, you can use the following snippet in your Makefile.am
:
In either case the preprocessor variables HAVE_ALBERTA
, which tells you whether ALBERTA was found by configure, and ALBERTA_DIM
which tells you the dimension of world for this program.
For further details look into the alberta.m4
autoconf snippet.
typedef Traits::CollectiveCommunication Dune::AlbertaGrid< dim, dimworld >::CollectiveCommunication |
type of collective communication
typedef GridFamily::ctype Dune::AlbertaGrid< dim, dimworld >::ctype |
typedef Traits::GlobalIdSet Dune::AlbertaGrid< dim, dimworld >::GlobalIdSet |
type of global id set
typedef AlbertaGridFamily< dim, dimworld > Dune::AlbertaGrid< dim, dimworld >::GridFamily |
the grid family of AlbertaGrid
typedef Traits::HierarchicIndexSet Dune::AlbertaGrid< dim, dimworld >::HierarchicIndexSet |
type of hierarchic index set
|
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 |
typedef Traits::LeafIndexSet Dune::AlbertaGrid< dim, dimworld >::LeafIndexSet |
type of leaf index set
|
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.
typedef Traits::LevelIndexSet Dune::AlbertaGrid< dim, dimworld >::LevelIndexSet |
type of level index sets
|
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.
typedef Traits::LocalIdSet Dune::AlbertaGrid< dim, dimworld >::LocalIdSet |
type of local id set
typedef AlbertaGridFamily< dim, dimworld >::Traits Dune::AlbertaGrid< dim, dimworld >::Traits |
|
inherited |
|
inherited |
|
inline |
create an empty grid
|
inline |
create a grid from an ALBERTA macro data structure
[in] | macroData | macro data to create grid from |
[in] | projection | shared pointer to a global boundary projection (defaults to 0) |
|
inline |
|
inline |
create a grid from an ALBERTA macro grid file
[in] | macroGridFileName | name of the macro grid file |
|
inline |
desctructor
|
inline |
Refine all positive marked leaf entities, coarsen all negative marked entities if possible.
The complete adaptation process works as follows:
Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, Alberta::Real, AlbertaGridFamily< dim, dimworld > >.
|
inline |
callback adapt method with AdaptDataHandleInterface
References Dune::Alberta::adaptationDataHandler_, Dune::Alberta::max(), Dune::AdaptDataHandleInterface< Grid, Impl >::postAdapt(), and Dune::AdaptDataHandleInterface< Grid, Impl >::preAdapt().
|
inline |
|
inline |
|
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 reference to collective communication, if MPI found this is specialisation for MPI
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 |
|
inline |
|
inline |
|
inline |
|
inline |
References Dune::Alberta::ElementInfo< dim >::coordinate().
|
inline |
returns adaptation mark for given entity
[in] | e | Entity for which adaptation mark should be determined |
Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, Alberta::Real, AlbertaGridFamily< dim, dimworld > >.
|
inlineinherited |
|
inline |
|
inlinestaticprotectedinherited |
return real implementation of interface class
Referenced by Dune::AlbertaGridIndexSet< dim, dimworld >::contains(), Dune::AlbertaGrid< dim, dimworld >::entityPointer(), Dune::AlbertaGrid< dim, dimworld >::getRealIntersection(), Dune::AlbertaGrid< dim, dimworld >::getTwist(), Dune::AlbertaGrid< dim, dimworld >::getTwistInInside(), Dune::AlbertaGrid< dim, dimworld >::getTwistInOutside(), Dune::AlbertaGridHierarchicIndexSet< dim, dimworld >::index(), Dune::AlbertaGridIndexSet< dim, dimworld >::index(), Dune::AlbertaMarkerVector< dim, dimworld >::MarkSubEntities< bool >::mark(), Dune::AlbertaGridHierarchicIndexSet< dim, dimworld >::subIndex(), Dune::AlbertaGridIndexSet< dim, dimworld >::subIndex(), and Dune::AlbertaGridIndexSet< dim, dimworld >::update().
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlineinherited |
ghostSize is zero by default
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inlineinherited |
ghostSize is zero by default
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
return global IdSet
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
uses the interface, mark on entity and refineLocal
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
|
inline |
|
inline |
Iterator to first entity of given codim on level.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
Traits::template Codim< codim >::LevelIterator Dune::AlbertaGrid< dim, dimworld >::lbegin | ( | int | level | ) | const |
Iterator to first entity of given codim on level.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
return LeafIterator which points to first leaf entity
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
References Dune::AlbertaMarkerVector< dim, dimworld >::up2Date().
Traits::template Codim< codim >::LeafIterator Dune::AlbertaGrid< dim, dimworld >::leafbegin | ( | ) | const |
return LeafIterator which points to first leaf entity
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
return LeafIterator which points behind last leaf entity
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
Traits::template Codim< codim >::LeafIterator Dune::AlbertaGrid< dim, dimworld >::leafend | ( | ) | const |
return LeafIterator which points behind last leaf entity
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inlineinherited |
View for the leaf grid.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inlineinherited |
View for the leaf grid for All_Partition.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
return leaf index set
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
View for the leaf grid.
Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, Alberta::Real, AlbertaGridFamily< dim, dimworld > >.
|
inline |
View for the leaf grid for All_Partition.
Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, Alberta::Real, AlbertaGridFamily< dim, dimworld > >.
|
inline |
one past the end on this level
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
Traits::template Codim< codim >::LevelIterator Dune::AlbertaGrid< dim, dimworld >::lend | ( | int | level | ) | const |
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 >.
|
inlineinherited |
View for a grid level for All_Partition.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
return level index set for given level
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
|
inline |
View for a grid level.
Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, Alberta::Real, AlbertaGridFamily< dim, dimworld > >.
|
inline |
View for a grid level for All_Partition.
Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, Alberta::Real, AlbertaGridFamily< dim, dimworld > >.
|
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 local IdSet
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
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 that should be marked |
Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, Alberta::Real, AlbertaGridFamily< dim, dimworld > >.
|
inlineinherited |
|
inline |
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 >.
|
inline |
Referenced by Dune::AlbertaGrid< dim, dimworld >::entityPointer().
|
inline |
number of boundary segments within the macro grid
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inlineinherited |
overlapSize is zero by default
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inlineinherited |
overlapSize is zero by default
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
clean up some markers
Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, Alberta::Real, AlbertaGridFamily< dim, dimworld > >.
References Dune::AlbertaGrid< dim, dimworld >::size().
|
inline |
returns true, if a least one element is marked for coarsening
Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, Alberta::Real, AlbertaGridFamily< dim, dimworld > >.
|
inline |
read Grid from file filename and store time of mesh in time
References Dune::ascii, and Dune::xdr.
|
inline |
reads ALBERTA mesh file
Referenced by Dune::BackupRestoreFacility< AlbertaGrid< dim, dimworld > >::restore().
|
inline |
Number of grid entities per level and codim because lbegin and lend are none const, and we need this methods counting the entities on each level, you know.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
Referenced by Dune::AlbertaGrid< dim, dimworld >::postAdapt().
|
inline |
number of entities per level and geometry type in this process
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
number of leaf entities per codim in this process
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
number of leaf entities per geometry type in this process
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inlinestatic |
|
inline |
write Grid to file in specified GrapeIOFileFormatType
References Dune::ascii, and Dune::xdr.
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
static |
|
static |