dune-grid
2.4.1
|
[ provides Dune::Grid ] More...
#include <dune/grid/alugrid/2d/entity.hh>
Public Types | |
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 ALU2dGridFamily< dim, dimworld, elementType > ::Traits | Traits |
typedef ALU2dGridLeafIntersectionIterator < const ThisType > | LeafIntersectionIteratorImp |
typedef ALU2dGridLevelIntersectionIterator < const ThisType > | LevelIntersectionIteratorImp |
typedef ALUGridObjectFactory < ThisType > | GridObjectFactoryType |
typedef ALU2dGridObjectStream | ObjectStreamType |
dummy object stream More... | |
typedef ObjectStreamType | InStreamType |
typedef ObjectStreamType | OutStreamType |
typedef ALU2dGridFamily< dim, dimworld, eltype > | GridFamily |
my Traits class More... | |
typedef ALU2dGridHierarchicIndexSet < dim, dimworld, elementType > | HierarchicIndexSet |
Type of the hierarchic index set. More... | |
typedef ALU2dGridLocalIdSet < dim, dimworld, elementType > | LocalIdSetImp |
Type of the local id set. More... | |
typedef LocalIdSetImp | GlobalIdSetImp |
typedef Traits::GlobalIdSet | GlobalIdSet |
Type of the global id set. More... | |
typedef Traits::LocalIdSet | LocalIdSet |
Type of the local id set. More... | |
typedef GridFamily::LevelIndexSetImp | LevelIndexSetImp |
Type of the level index set. More... | |
typedef GridFamily::LeafIndexSetImp | LeafIndexSetImp |
Type of the leaf index set. More... | |
typedef ALU2dGridLeafIterator < 0, All_Partition, const ThisType > | LeafIteratorImp |
a standard leaf iterator More... | |
typedef Traits::template Codim < 0 >::LeafIterator | LeafIteratorType |
typedef Traits::template Codim < 0 >::LeafIterator | LeafIterator |
typedef ALU2dGridLevelIterator < 0, All_Partition, const ThisType > | LevelIteratorImp |
a standard leaf iterator More... | |
typedef Traits::template Codim < 0 >::LevelIterator | LevelIteratorType |
typedef Traits::template Codim < 0 >::LevelIterator | LevelIterator |
typedef ALU2dGridHierarchicIterator < ThisType > | HierarchicIteratorImp |
typedef Traits::CollectiveCommunication | CollectiveCommunicationType |
typedef Traits::DuneBoundaryProjectionType | DuneBoundaryProjectionType |
boundary projection type More... | |
typedef Traits::DuneBoundaryProjectionVector | DuneBoundaryProjectionVector |
boundary projection type More... | |
typedef MakeableInterfaceObject < typename Traits::template Codim< 0 >::Entity > | EntityObject |
typedef MakeableInterfaceObject < typename Traits::template Codim< 1 >::Entity > | FaceObject |
typedef MakeableInterfaceObject < typename Traits::template Codim< 2 >::Entity > | VertexObject |
typedef ALU2dGridLeafMarkerVector | ALU2dGridLeafMarkerVectorType |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
typedef ct | ctype |
Define type used for coordinates in grid module. More... | |
Public Member Functions | |
~ALU2dGrid () | |
Desctructor. More... | |
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 More... | |
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. More... | |
template<int cd> | |
Traits::template Codim< cd > ::template Partition < All_Partition > ::LevelIterator | lend (int level) const |
one past the end on this level More... | |
LevelIteratorType | lbegin (int level) const |
Iterator to first entity of codim 0 on level. More... | |
LevelIteratorType | lend (int level) const |
last entity of codim 0 on level More... | |
template<int codim, PartitionIteratorType pitype> | |
Traits::template Codim< codim > ::template Partition< pitype > ::LeafIterator | leafbegin () const |
General definiton for a leaf iterator. More... | |
template<int codim, PartitionIteratorType pitype> | |
Traits::template Codim< codim > ::template Partition< pitype > ::LeafIterator | leafend () const |
General definition for an end iterator on leaf level. More... | |
template<int codim> | |
Traits::template Codim< codim > ::LeafIterator | leafbegin () const |
General definiton for a leaf iterator. More... | |
template<int codim> | |
Traits::template Codim< codim > ::LeafIterator | leafend () const |
General definition for an end iterator on leaf level. More... | |
int | size (int level, int cd) const |
number of grid entities per level and codim More... | |
int | size (int codim) const |
number of leaf entities per codim in this process More... | |
int | size (int level, GeometryType type) const |
number of entities per level, codim and geometry type in this process More... | |
int | size (GeometryType type) const |
number of leaf entities per codim and geometry type in this process More... | |
const std::vector< GeometryType > & | geomTypes (int codim) const |
deliver all geometry types used in this grid More... | |
const GlobalIdSet & | globalIdSet () const |
get global id set of grid More... | |
const LocalIdSet & | localIdSet () const |
get global id set of grid More... | |
int | hierSetSize (int cd) const |
number of grid entities in the entire grid for given codim More... | |
const HierarchicIndexSet & | hierarchicIndexSet () const |
get hierarchic index set of the grid More... | |
const Traits::LeafIndexSet & | leafIndexSet () const |
get leaf index set of the grid More... | |
const Traits::LevelIndexSet & | levelIndexSet (int level) const |
get level index set of the grid More... | |
HmeshType & | myGrid () |
HmeshType & | myGrid () const |
void | globalRefine (int refCount) |
refine grid refCount times More... | |
template<class GridImp , class DataHandle > | |
void | globalRefine (int refCount, AdaptDataHandleInterface< GridImp, DataHandle > &hamdle) |
bool | preAdapt () |
returns if a least one entity was marked for coarsening More... | |
void | postAdapt () |
clear all entity new markers More... | |
bool | adapt () |
template<class GridImp , class DataHandle > | |
bool | adapt (AdaptDataHandleInterface< GridImp, DataHandle > &handle) |
bool | refineGrid () |
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 More... | |
size_t | numBoundarySegments () const |
return number of macro boundary segments More... | |
bool | hasBoundaryProjection () const |
return true if boudanry projection is set More... | |
template<class IntersectionType > | |
const BaseType::template ReturnImplementationType < IntersectionType > ::ImplementationType & | getRealIntersection (const IntersectionType &intersection) const |
const GridObjectFactoryType & | factory () const |
template<class EntitySeed > | |
Traits::template Codim < EntitySeed::codimension > ::EntityPointer | entityPointer (const EntitySeed &seed) const |
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 More... | |
bool | writeGrid_Xdr (const std::string filename, alu2d_ctype time) const |
bool | writeGrid_Ascii (const std::string filename, alu2d_ctype time) const |
template<GrapeIOFileFormatType ftype> | |
bool | readGrid (const std::string filename, alu2d_ctype &time) |
read Grid from file filename and store time of mesh in time More... | |
void | backup (std::ostream &) const |
backup to ostream More... | |
void | restore (std::istream &) |
restore from istream More... | |
bool | conformingRefinement () const |
return true if grid uses conforming refinement More... | |
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. More... | |
int | ghostSize (int level, int codim) const |
int | ghostSize (int codim) const |
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... | |
void | checkManager () |
Traits::template Partition < pitype >::LevelGridView | levelGridView (int level) const |
View for a grid level. More... | |
Traits::template Partition < All_Partition > ::LevelGridView | levelGridView (int level) const |
View for a grid level for All_Partition. More... | |
Traits::template Partition < pitype >::LeafGridView | leafGridView () const |
View for the leaf grid. More... | |
Traits::template Partition < All_Partition > ::LeafGridView | leafGridView () const |
View for the leaf grid for All_Partition. More... | |
int | overlapSize (int level, int codim) const |
overlapSize is zero by default More... | |
int | overlapSize (int codim) const |
overlapSize is zero by default More... | |
template<class EntitySeed > | |
Codim< EntitySeed::codimension > ::Entity | entity (const EntitySeed &seed) const |
obtain Entity from EntitySeed. More... | |
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. More... | |
int | getMark (const typename Codim< 0 >::Entity &e) const |
returns adaptation mark for given entity More... | |
Static Public Attributes | |
static const ALU2DSPACE ElementType | elementType = eltype |
Protected Types | |
enum | { numberOfGeomTypes = 1 } |
typedef MakeableInterfaceObject < typename Traits::template Codim< 0 >::Geometry > | GeometryObject |
typedef ALU2dGridBoundaryProjection < ThisType > | ALUGridBoundaryProjectionType |
typedef SizeCache< ThisType > | SizeCacheType |
the type of our size cache More... | |
Protected Member Functions | |
ALU2dGrid (const std::string macroTriangFilename, const int nrOfHangingNodes, const DuneBoundaryProjectionType *, const DuneBoundaryProjectionVector *, std::istream *macroFile=0) | |
HmeshType * | createGrid (const std::string &, const int, std::istream *) |
ALU2dGrid (int) | |
Constructor which constructs an empty ALU2dGrid. More... | |
void | makeGeomTypes () |
const char * | checkMacroGridFile (const std::string &filename) |
HmeshType & | mesh () const |
const DuneBoundaryProjectionType * | globalProjection () const |
const DuneBoundaryProjectionType * | boundaryProjection (const int segmentIndex) const |
return boudanry projection for given segment Id More... | |
bool | nonConform () const |
GridImp & | asImp () |
Barton-Nackman trick. More... | |
const GridImp & | asImp () const |
Barton-Nackman trick. More... | |
Static Protected Member Functions | |
static std::conditional < std::is_reference < InterfaceType >::value, typename std::add_lvalue_reference < typename ReturnImplementationType < typename std::remove_reference < InterfaceType >::type > ::ImplementationType >::type, typename std::remove_const < typename ReturnImplementationType < typename std::remove_reference < InterfaceType >::type > ::ImplementationType >::type > ::type | getRealImplementation (InterfaceType &&i) |
return real implementation of interface class More... | |
Protected Attributes | |
HmeshType * | mygrid_ |
the real grid More... | |
GridObjectFactoryType | factory_ |
HierarchicIndexSet | hIndexSet_ |
the hierarchic index set More... | |
LocalIdSetImp | localIdSet_ |
out global id set More... | |
std::vector< LevelIndexSetImp * > | levelIndexVec_ |
the level index set ( default type ) More... | |
std::vector< std::vector < GeometryType > > | geomTypes_ |
LeafIndexSetImp * | leafIndexSet_ |
the leaf index set More... | |
int | maxLevel_ |
int | refineMarked_ |
int | coarsenMarked_ |
const int | nrOfHangingNodes_ |
SizeCacheType * | sizeCache_ |
bool | lockPostAdapt_ |
const DuneBoundaryProjectionType * | bndPrj_ |
const DuneBoundaryProjectionVector * | bndVec_ |
ALUGridBoundaryProjectionType * | vertexProjection_ |
int | maxlevel_ |
ALU2dGridMarkerVector | marker_ [MAXL] |
[ 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.
(see ALUGrid homepage: http://www.mathematik.uni-freiburg.de/IAM/Research/alugrid/)
typedef ALU2dGridLeafMarkerVector Dune::ALU2dGrid< dim, dimworld, eltype >::ALU2dGridLeafMarkerVectorType |
|
protected |
|
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 Traits::CollectiveCommunication Dune::ALU2dGrid< dim, dimworld, eltype >::CollectiveCommunicationType |
|
inherited |
Define type used for coordinates in grid module.
typedef Traits :: DuneBoundaryProjectionType Dune::ALU2dGrid< dim, dimworld, eltype >::DuneBoundaryProjectionType |
boundary projection type
typedef Traits :: DuneBoundaryProjectionVector Dune::ALU2dGrid< dim, dimworld, eltype >::DuneBoundaryProjectionVector |
boundary projection type
typedef MakeableInterfaceObject<typename Traits::template Codim<0>::Entity> Dune::ALU2dGrid< dim, dimworld, eltype >::EntityObject |
typedef MakeableInterfaceObject<typename Traits::template Codim<1>::Entity> Dune::ALU2dGrid< dim, dimworld, eltype >::FaceObject |
|
protected |
typedef Traits :: GlobalIdSet Dune::ALU2dGrid< dim, dimworld, eltype >::GlobalIdSet |
Type of the global id set.
typedef LocalIdSetImp Dune::ALU2dGrid< dim, dimworld, eltype >::GlobalIdSetImp |
typedef ALU2dGridFamily< dim, dimworld, eltype > Dune::ALU2dGrid< dim, dimworld, eltype >::GridFamily |
my Traits class
typedef ALUGridObjectFactory< ThisType > Dune::ALU2dGrid< dim, dimworld, eltype >::GridObjectFactoryType |
typedef ALU2dGridHierarchicIndexSet<dim,dimworld,elementType> Dune::ALU2dGrid< dim, dimworld, eltype >::HierarchicIndexSet |
Type of the 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.
typedef ALU2dGridHierarchicIterator<ThisType> Dune::ALU2dGrid< dim, dimworld, eltype >::HierarchicIteratorImp |
typedef ObjectStreamType Dune::ALU2dGrid< dim, dimworld, eltype >::InStreamType |
|
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 GridFamily :: LeafIndexSetImp Dune::ALU2dGrid< dim, dimworld, eltype >::LeafIndexSetImp |
Type of the 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.
typedef ALU2dGridLeafIntersectionIterator<const ThisType> Dune::ALU2dGrid< dim, dimworld, eltype >::LeafIntersectionIteratorImp |
typedef Traits::template Codim<0>::LeafIterator Dune::ALU2dGrid< dim, dimworld, eltype >::LeafIterator |
typedef ALU2dGridLeafIterator<0, All_Partition, const ThisType> Dune::ALU2dGrid< dim, dimworld, eltype >::LeafIteratorImp |
a standard leaf iterator
typedef Traits::template Codim<0>::LeafIterator Dune::ALU2dGrid< dim, dimworld, eltype >::LeafIteratorType |
|
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 GridFamily :: LevelIndexSetImp Dune::ALU2dGrid< dim, dimworld, eltype >::LevelIndexSetImp |
Type of the level index set.
|
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 ALU2dGridLevelIntersectionIterator<const ThisType> Dune::ALU2dGrid< dim, dimworld, eltype >::LevelIntersectionIteratorImp |
typedef Traits::template Codim<0>::LevelIterator Dune::ALU2dGrid< dim, dimworld, eltype >::LevelIterator |
typedef ALU2dGridLevelIterator<0, All_Partition, const ThisType> Dune::ALU2dGrid< dim, dimworld, eltype >::LevelIteratorImp |
a standard leaf iterator
typedef Traits::template Codim<0>::LevelIterator Dune::ALU2dGrid< dim, dimworld, eltype >::LevelIteratorType |
typedef Traits :: LocalIdSet Dune::ALU2dGrid< dim, dimworld, eltype >::LocalIdSet |
Type of the local id set.
typedef ALU2dGridLocalIdSet<dim,dimworld,elementType> Dune::ALU2dGrid< dim, dimworld, eltype >::LocalIdSetImp |
Type of the local id set.
typedef ALU2dGridObjectStream Dune::ALU2dGrid< dim, dimworld, eltype >::ObjectStreamType |
dummy object stream
typedef ObjectStreamType Dune::ALU2dGrid< dim, dimworld, eltype >::OutStreamType |
|
protected |
the type of our size cache
typedef ALU2dGridFamily< dim, dimworld, elementType >::Traits Dune::ALU2dGrid< dim, dimworld, eltype >::Traits |
typedef MakeableInterfaceObject<typename Traits::template Codim<2>::Entity> Dune::ALU2dGrid< dim, dimworld, eltype >::VertexObject |
|
inherited |
|
inherited |
anonymous enum |
anonymous enum |
anonymous enum |
|
protected |
|
protected |
Constructor which reads an ALU2dGrid Macro Triang file or given GridFile
|
explicitprotected |
Constructor which constructs an empty ALU2dGrid.
Dune::ALU2dGrid< dim, dimworld, eltype >::~ALU2dGrid | ( | ) |
Desctructor.
bool Dune::ALU2dGrid< dim, dimworld, eltype >::adapt | ( | ) |
! refine all positive marked leaf entities, return true if a least one entity was refined
bool Dune::ALU2dGrid< dim, dimworld, eltype >::adapt | ( | AdaptDataHandleInterface< GridImp, DataHandle > & | handle | ) |
|
inlineprotectedinherited |
Barton-Nackman trick.
Referenced by Dune::Grid< dim, dimworld, ct, GridFamily >::adapt(), Dune::Grid< dim, dimworld, ct, GridFamily >::comm(), Dune::Grid< dim, dimworld, ct, GridFamily >::communicate(), Dune::Grid< dim, dimworld, ct, GridFamily >::entity(), Dune::Grid< dim, dimworld, ct, GridFamily >::entityPointer(), Dune::Grid< dim, dimworld, ct, GridFamily >::getMark(), Dune::Grid< dim, dimworld, ct, GridFamily >::ghostSize(), Dune::Grid< dim, dimworld, ct, GridFamily >::globalIdSet(), Dune::Grid< dim, dimworld, ct, GridFamily >::globalRefine(), Dune::Grid< dim, dimworld, ct, GridFamily >::lbegin(), Dune::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::lbegin(), Dune::Grid< dim, dimworld, ct, GridFamily >::leafbegin(), Dune::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::leafbegin(), Dune::Grid< dim, dimworld, ct, GridFamily >::leafend(), Dune::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::leafend(), Dune::Grid< dim, dimworld, ct, GridFamily >::leafGridView(), Dune::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::leafGridView(), Dune::Grid< dim, dimworld, ct, GridFamily >::leafIndexSet(), Dune::Grid< dim, dimworld, ct, GridFamily >::lend(), Dune::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::lend(), Dune::Grid< dim, dimworld, ct, GridFamily >::levelGridView(), Dune::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::levelGridView(), Dune::Grid< dim, dimworld, ct, GridFamily >::levelIndexSet(), Dune::Grid< dim, dimworld, ct, GridFamily >::loadBalance(), Dune::Grid< dim, dimworld, ct, GridFamily >::localIdSet(), Dune::Grid< dim, dimworld, ct, GridFamily >::mark(), Dune::Grid< dim, dimworld, ct, GridFamily >::maxLevel(), Dune::Grid< dim, dimworld, ct, GridFamily >::numBoundarySegments(), Dune::Grid< dim, dimworld, ct, GridFamily >::overlapSize(), Dune::Grid< dim, dimworld, ct, GridFamily >::postAdapt(), Dune::Grid< dim, dimworld, ct, GridFamily >::preAdapt(), and Dune::Grid< dim, dimworld, ct, GridFamily >::size().
|
inlineprotectedinherited |
Barton-Nackman trick.
void Dune::ALU2dGrid< dim, dimworld, eltype >::backup | ( | std::ostream & | ) | const |
backup to ostream
|
inlineprotected |
return boudanry projection for given segment Id
References Dune::ALU2dGrid< dim, dimworld, eltype >::bndPrj_, and Dune::ALU2dGrid< dim, dimworld, eltype >::bndVec_.
|
protected |
|
inline |
const CollectiveCommunicationType& Dune::ALU2dGrid< dim, dimworld, eltype >::comm | ( | ) | const |
return dummy communication
void Dune::ALU2dGrid< dim, dimworld, eltype >::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.
data | A data handle telling the method what data is communicated and how this should be done. |
interface | The communication interface to use. |
dir | The direction of the communication along the interface (forward or backward. |
level | The index of the grid level where the communication should happen. |
void Dune::ALU2dGrid< dim, dimworld, eltype >::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.
|
inline |
return true if grid uses conforming refinement
References Dune::ALU2dGrid< dim, dimworld, eltype >::nonConform().
|
protected |
|
inlineinherited |
obtain Entity from EntitySeed.
References Dune::Grid< dim, dimworld, ct, GridFamily >::asImp().
|
inline |
|
inline |
|
inline |
deliver all geometry types used in this grid
References Dune::ALU2dGrid< dim, dimworld, eltype >::geomTypes_.
Referenced by Dune::ALU2dGridHierarchicIndexSet< dim, dimworld, elementType >::geomTypes(), and Dune::ALU2dGridHierarchicIndexSet< dim, dimworld, elementType >::size().
|
inline |
return reference to vector determing on which element a face is visited
int Dune::ALU2dGrid< dim, dimworld, eltype >::getMark | ( | const typename Traits::template Codim< 0 >::Entity & | e | ) | const |
|
inlineinherited |
returns adaptation mark for given entity
[in] | e | Entity for which adaptation mark should be determined |
References Dune::Grid< dim, dimworld, ct, GridFamily >::asImp().
|
inline |
return reference to vector telling on which element a face is visted for this level
References Dune::ALU2dGrid< dim, dimworld, eltype >::marker_, and Dune::ALU2dGrid< dim, dimworld, eltype >::MAXL.
|
inlinestaticprotectedinherited |
return real implementation of interface class
Referenced by Dune::ALU2dGrid< dim, dimworld, eltype >::getRealIntersection(), and Dune::ALU2dGridHierarchicIndexSet< dim, dimworld, elementType >::index().
|
inline |
|
inline |
|
inline |
const GlobalIdSet& Dune::ALU2dGrid< dim, dimworld, eltype >::globalIdSet | ( | ) | const |
get global id set of grid
|
inlineprotected |
void Dune::ALU2dGrid< dim, dimworld, eltype >::globalRefine | ( | int | refCount | ) |
refine grid refCount times
void Dune::ALU2dGrid< dim, dimworld, eltype >::globalRefine | ( | int | refCount, |
AdaptDataHandleInterface< GridImp, DataHandle > & | hamdle | ||
) |
|
inline |
return true if boudanry projection is set
References Dune::ALU2dGrid< dim, dimworld, eltype >::vertexProjection_.
const HierarchicIndexSet& Dune::ALU2dGrid< dim, dimworld, eltype >::hierarchicIndexSet | ( | ) | const |
get hierarchic index set of the grid
int Dune::ALU2dGrid< dim, dimworld, eltype >::hierSetSize | ( | int | cd | ) | const |
number of grid entities in the entire grid for given codim
Referenced by Dune::ALU2dGridHierarchicIndexSet< dim, dimworld, elementType >::size().
Traits::template Codim<cd>::template Partition<pitype>::LevelIterator Dune::ALU2dGrid< dim, dimworld, eltype >::lbegin | ( | int | level | ) | const |
–Leveliterator Iterator to first entity of given codim on level
Traits::template Codim<cd>:: template Partition<All_Partition>::LevelIterator Dune::ALU2dGrid< dim, dimworld, eltype >::lbegin | ( | int | level | ) | const |
Iterator to first entity of given codim on level.
LevelIteratorType Dune::ALU2dGrid< dim, dimworld, eltype >::lbegin | ( | int | level | ) | const |
Iterator to first entity of codim 0 on level.
Traits::template Codim<codim>::template Partition<pitype>::LeafIterator Dune::ALU2dGrid< dim, dimworld, eltype >::leafbegin | ( | ) | const |
General definiton for a leaf iterator.
Traits::template Codim<codim>::LeafIterator Dune::ALU2dGrid< dim, dimworld, eltype >::leafbegin | ( | ) | const |
General definiton for a leaf iterator.
Traits::template Codim<codim>::template Partition<pitype>::LeafIterator Dune::ALU2dGrid< dim, dimworld, eltype >::leafend | ( | ) | const |
General definition for an end iterator on leaf level.
Traits::template Codim<codim>::LeafIterator Dune::ALU2dGrid< dim, dimworld, eltype >::leafend | ( | ) | const |
General definition for an end iterator on leaf level.
|
inlineinherited |
View for the leaf grid.
|
inlineinherited |
View for the leaf grid for All_Partition.
const Traits :: LeafIndexSet& Dune::ALU2dGrid< dim, dimworld, eltype >::leafIndexSet | ( | ) | const |
get leaf index set of the grid
Traits::template Codim<cd>::template Partition<pitype>::LevelIterator Dune::ALU2dGrid< dim, dimworld, eltype >::lend | ( | int | level | ) | const |
one past the end on this level
Traits::template Codim<cd>:: template Partition<All_Partition>::LevelIterator Dune::ALU2dGrid< dim, dimworld, eltype >::lend | ( | int | level | ) | const |
one past the end on this level
LevelIteratorType Dune::ALU2dGrid< dim, dimworld, eltype >::lend | ( | int | level | ) | const |
last entity of codim 0 on level
|
inlineinherited |
View for a grid level.
|
inlineinherited |
View for a grid level for All_Partition.
const Traits :: LevelIndexSet& Dune::ALU2dGrid< dim, dimworld, eltype >::levelIndexSet | ( | int | level | ) | const |
get level index set of the grid
bool Dune::ALU2dGrid< dim, dimworld, eltype >::loadBalance | ( | ) |
Re-balances the load each process has to handle for a parallel grid,.
bool Dune::ALU2dGrid< dim, dimworld, eltype >::loadBalance | ( | DataHandle & | data | ) |
Re-balances the load each process has to handle for a parallel grid,.
const LocalIdSet& Dune::ALU2dGrid< dim, dimworld, eltype >::localIdSet | ( | ) | const |
get global id set of grid
|
protected |
bool Dune::ALU2dGrid< dim, dimworld, eltype >::mark | ( | int | refCount, |
const typename Traits::template Codim< 0 >::Entity & | e | ||
) |
|
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 that should be marked |
References Dune::Grid< dim, dimworld, ct, GridFamily >::asImp().
int Dune::ALU2dGrid< dim, dimworld, eltype >::maxLevel | ( | ) | const |
Return maximum level defined in this grid. Levels are numbered 0 ... maxLevel with 0 the coarsest level.
|
inlineprotected |
HmeshType& Dune::ALU2dGrid< dim, dimworld, eltype >::myGrid | ( | ) |
HmeshType& Dune::ALU2dGrid< dim, dimworld, eltype >::myGrid | ( | ) | const |
|
inlineprotected |
return true if grid allows hanging nodes on leaf level i.e. returns true for ALUSimplexGrid and returns false for ALUConformGrid
References Dune::ALU2dGrid< dim, dimworld, eltype >::nrOfHangingNodes_.
Referenced by Dune::ALU2dGrid< dim, dimworld, eltype >::conformingRefinement().
|
inline |
return number of macro boundary segments
References Dune::ALU2dGrid< dim, dimworld, eltype >::myGrid().
|
inlineinherited |
overlapSize is zero by default
|
inlineinherited |
overlapSize is zero by default
void Dune::ALU2dGrid< dim, dimworld, eltype >::postAdapt | ( | ) |
clear all entity new markers
bool Dune::ALU2dGrid< dim, dimworld, eltype >::preAdapt | ( | ) |
returns if a least one entity was marked for coarsening
bool Dune::ALU2dGrid< dim, dimworld, eltype >::readGrid | ( | const std::string | filename, |
alu2d_ctype & | time | ||
) |
read Grid from file filename and store time of mesh in time
bool Dune::ALU2dGrid< dim, dimworld, eltype >::refineGrid | ( | ) |
void Dune::ALU2dGrid< dim, dimworld, eltype >::restore | ( | std::istream & | ) |
restore from istream
int Dune::ALU2dGrid< dim, dimworld, eltype >::size | ( | int | level, |
int | cd | ||
) | const |
number of grid entities per level and codim
int Dune::ALU2dGrid< dim, dimworld, eltype >::size | ( | int | codim | ) | const |
number of leaf entities per codim in this process
int Dune::ALU2dGrid< dim, dimworld, eltype >::size | ( | int | level, |
GeometryType | type | ||
) | const |
number of entities per level, codim and geometry type in this process
int Dune::ALU2dGrid< dim, dimworld, eltype >::size | ( | GeometryType | type | ) | const |
number of leaf entities per codim and geometry type in this process
bool Dune::ALU2dGrid< dim, dimworld, eltype >::writeGrid | ( | const std::string | filename, |
alu2d_ctype | time | ||
) | const |
write Grid to file in specified FileFormatType
bool Dune::ALU2dGrid< dim, dimworld, eltype >::writeGrid_Ascii | ( | const std::string | filename, |
alu2d_ctype | time | ||
) | const |
bool Dune::ALU2dGrid< dim, dimworld, eltype >::writeGrid_Xdr | ( | const std::string | filename, |
alu2d_ctype | time | ||
) | const |
|
protected |
|
protected |
|
protected |
|
static |
|
protected |
Referenced by Dune::ALU2dGrid< dim, dimworld, eltype >::factory().
|
protected |
Referenced by Dune::ALU2dGrid< dim, dimworld, eltype >::geomTypes().
|
protected |
the hierarchic index set
|
mutableprotected |
the leaf index set
|
mutableprotected |
the level index set ( default type )
|
protected |
out global id set
|
protected |
|
mutableprotected |
Referenced by Dune::ALU2dGrid< dim, dimworld, eltype >::getMarkerVector().
|
protected |
|
protected |
|
mutableprotected |
the real grid
Referenced by Dune::ALU2dGrid< dim, dimworld, eltype >::mesh().
|
protected |
Referenced by Dune::ALU2dGrid< dim, dimworld, eltype >::nonConform().
|
protected |
|
protected |
|
protected |