dune-grid  2.2.0
Public Types | Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends
Dune::ALU2dGrid< dim, dimworld, eltype > Class Template Reference

[ provides Dune::Grid ] More...

#include <dune/grid/alugrid/2d/grid.hh>

Inheritance diagram for Dune::ALU2dGrid< dim, dimworld, eltype >:
Inheritance graph

List of all members.

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
 The traits of this class.
typedef
ALU2dGridLeafIntersectionIterator
< const ThisType
LeafIntersectionIteratorImp
typedef
ALU2dGridLevelIntersectionIterator
< const ThisType
LevelIntersectionIteratorImp
typedef ALUGridObjectFactory
< ThisType
GridObjectFactoryType
typedef ALU2dGridObjectStream ObjectStreamType
 dummy object stream
typedef ObjectStreamType InStreamType
typedef ObjectStreamType OutStreamType
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 LocalIdSetImp GlobalIdSetImp
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 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
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
typedef
Traits::DuneBoundaryProjectionVector 
DuneBoundaryProjectionVector
 boundary projection type
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.
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 ct ctype
 Define type used for coordinates in grid module.

Public Member Functions

 ~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 GlobalIdSetglobalIdSet () const
 get global id set of grid
const LocalIdSetlocalIdSet () const
 get global id set of grid
int hierSetSize (int cd) const
 number of grid entities in the entire grid for given codim
const HierarchicIndexSethierarchicIndexSet () const
 get hierarchic index set of the grid
const Traits::LeafIndexSetleafIndexSet () const
 get leaf index set of the grid
const Traits::LevelIndexSetlevelIndexSet (int level) const
 get level index set of the grid
HmeshType & myGrid ()
HmeshType & myGrid () const
void globalRefine (int refCount)
 refine grid refCount times
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
void postAdapt ()
 clear all entity new markers
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
bool mark (int refCount, const typename Traits::template Codim< 0 >::Entity &e)
 Marks an entity to be refined/coarsened in a subsequent adapt.
const CollectiveCommunicationTypecomm () const
 return dummy communication
size_t numBoundarySegments () const
 return number of macro boundary segments
bool hasBoundaryProjection () const
 return true if boudanry projection is set
template<class IntersectionType >
const BaseType::template
ReturnImplementationType
< IntersectionType >
::ImplementationType & 
getRealIntersection (const IntersectionType &intersection) const
const GridObjectFactoryTypefactory () const
template<class EntitySeed >
Traits::template Codim
< EntitySeed::codimension >
::EntityPointer 
entityPointer (const EntitySeed &seed) const
 obtain EntityPointer from EntitySeed.
ALU2dGridMarkerVectorgetMarkerVector (int level) const
ALU2dGridLeafMarkerVectorTypegetLeafMarker () const
template<GrapeIOFileFormatType ftype>
bool writeGrid (const std::string filename, alu2d_ctype time) const
 write Grid to file in specified FileFormatType
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
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.
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.
int ghostSize (int level, int codim) const
 ghostSize is zero by default
int ghostSize (int codim) const
 ghostSize is zero by default
bool loadBalance ()
 Re-balances the load each process has to handle for a parallel grid, if grid has changed , true is returned.
template<class DataHandle >
bool loadBalance (DataHandle &data)
 Re-balances the load each process has to handle for a parallel grid, if grid has changed , true is returned.
void checkManager ()
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.
int overlapSize (int level, int codim) const
 overlapSize is zero by default
int overlapSize (int codim) const
 overlapSize is zero by default
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 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< ThisTypeSizeCacheType
 the type of our size cache

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.
void makeGeomTypes ()
const char * checkMacroGridFile (const std::string &filename)
HmeshType & mesh () const
const DuneBoundaryProjectionTypeglobalProjection () const
const DuneBoundaryProjectionTypeboundaryProjection (const int segmentIndex) const
 return boudanry projection for given segment Id
bool nonConform () const
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

Protected Attributes

HmeshType * mygrid_
 the real grid
GridObjectFactoryType factory_
HierarchicIndexSet hIndexSet_
 the hierarchic index set
LocalIdSetImp localIdSet_
 out global id set
std::vector< LevelIndexSetImp * > levelIndexVec_
 the level index set ( default type )
std::vector< std::vector
< GeometryType > > 
geomTypes_
LeafIndexSetImpleafIndexSet_
 the leaf index set
int maxLevel_
int refineMarked_
int coarsenMarked_
const int nrOfHangingNodes_
SizeCacheTypesizeCache_
bool lockPostAdapt_
const DuneBoundaryProjectionTypebndPrj_
const
DuneBoundaryProjectionVector
bndVec_
ALUGridBoundaryProjectionTypevertexProjection_
int maxlevel_
ALU2dGridMarkerVector marker_ [MAXL]

Friends

class DGFBaseFactory
class ALU2dGridEntity
class ALU2dGridGeometry< 0, dimworld, const ThisType >
class ALU2dGridGeometry< 1, dimworld, const ThisType >
class ALU2dGridGeometry< dim, dimworld, const ThisType >
class ALULocalGeometryStorage
class ALU2dGridEntityPointer< 0, const ThisType >
class ALU2dGridEntityPointer< 1, const ThisType >
class ALU2dGridEntityPointer< dim, const ThisType >
class ALU2dGridHierarchicIndexSet< dim, dimworld, elementType >
class ALU2dGridIntersectionBase< const ThisType >
class ALU2dGridLevelIntersectionIterator< const ThisType >
class ALU2dGridLeafIntersectionIterator< const ThisType >
class ALULocalGeometryStorage< const ThisType, GeometryObject, 4 >
class ALULocalGeometryStorage< const ThisType, GeometryObject, 2 >
class ALUGridBoundaryProjection< ThisType >
class ALU2dGridBoundaryProjection< ThisType >
class Conversion< ALU2dGrid< dim, dimworld, eltype >, HasObjectStream >
class Conversion< const ALU2dGrid< dim, dimworld, eltype >, HasObjectStream >
class Conversion< ALU2dGrid< dim, dimworld, eltype >, HasHierarchicIndexSet >
class Conversion< const ALU2dGrid< dim, dimworld, eltype >, HasHierarchicIndexSet >
class IntersectionIteratorWrapper< const ThisType, LeafIntersectionIteratorImp >
class IntersectionIteratorWrapper< const ThisType, LevelIntersectionIteratorImp >
class LeafIntersectionIteratorWrapper< const ThisType >
class LevelIntersectionIteratorWrapper< const ThisType >

Detailed Description

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/)


Member Typedef Documentation

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef ALU2dGridLeafMarkerVector Dune::ALU2dGrid< dim, dimworld, eltype >::ALU2dGridLeafMarkerVectorType
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef ALU2dGridBoundaryProjection< ThisType > Dune::ALU2dGrid< dim, dimworld, eltype >::ALUGridBoundaryProjectionType
protected
template<int dim, int dimworld, class ct, class GridFamily>
typedef GridFamily::Traits::CollectiveCommunication Dune::Grid< dim, dimworld, ct, GridFamily >::CollectiveCommunication
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.

Reimplemented in Dune::ALU3dGrid< elType, Comm >, Dune::ALU3dGrid< tetra >, Dune::ALU3dGrid< hexa >, and Dune::AlbertaGrid< dim, dimworld >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef Traits::CollectiveCommunication Dune::ALU2dGrid< dim, dimworld, eltype >::CollectiveCommunicationType
template<int dim, int dimworld, class ct, class GridFamily>
typedef ct Dune::Grid< dim, dimworld, ct, GridFamily >::ctype
inherited
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef Traits :: DuneBoundaryProjectionType Dune::ALU2dGrid< dim, dimworld, eltype >::DuneBoundaryProjectionType
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef Traits :: DuneBoundaryProjectionVector Dune::ALU2dGrid< dim, dimworld, eltype >::DuneBoundaryProjectionVector
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef MakeableInterfaceObject<typename Traits::template Codim<0>::Entity> Dune::ALU2dGrid< dim, dimworld, eltype >::EntityObject
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef MakeableInterfaceObject<typename Traits::template Codim<1>::Entity> Dune::ALU2dGrid< dim, dimworld, eltype >::FaceObject
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef MakeableInterfaceObject<typename Traits::template Codim<0>::Geometry> Dune::ALU2dGrid< dim, dimworld, eltype >::GeometryObject
protected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef Traits :: GlobalIdSet Dune::ALU2dGrid< dim, dimworld, eltype >::GlobalIdSet
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef LocalIdSetImp Dune::ALU2dGrid< dim, dimworld, eltype >::GlobalIdSetImp
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef ALU2dGridFamily< dim, dimworld, eltype > Dune::ALU2dGrid< dim, dimworld, eltype >::GridFamily
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef ALUGridObjectFactory< ThisType > Dune::ALU2dGrid< dim, dimworld, eltype >::GridObjectFactoryType
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef ALU2dGridHierarchicIndexSet<dim,dimworld,elementType> Dune::ALU2dGrid< dim, dimworld, eltype >::HierarchicIndexSet

Type of the hierarchic index set.

template<int dim, int dimworld, class ct, class GridFamily>
typedef GridFamily::Traits::HierarchicIterator Dune::Grid< dim, dimworld, ct, GridFamily >::HierarchicIterator
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.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef ALU2dGridHierarchicIterator<ThisType> Dune::ALU2dGrid< dim, dimworld, eltype >::HierarchicIteratorImp
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef ObjectStreamType Dune::ALU2dGrid< dim, dimworld, eltype >::InStreamType
template<int dim, int dimworld, class ct, class GridFamily>
typedef Partition< All_Partition >:: LeafGridView Dune::Grid< dim, dimworld, ct, GridFamily >::LeafGridView
inherited
template<int dim, int dimworld, class ct, class GridFamily>
typedef GridFamily::Traits::LeafIndexSet Dune::Grid< dim, dimworld, ct, GridFamily >::LeafIndexSet
inherited

A type that is a model of Dune::IndexSet which provides a consecutive, but non persistent, numbering for entities in the leaf grid.

Reimplemented in Dune::AlbertaGrid< dim, dimworld >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef GridFamily :: LeafIndexSetImp Dune::ALU2dGrid< dim, dimworld, eltype >::LeafIndexSetImp
template<int dim, int dimworld, class ct, class GridFamily>
typedef GridFamily::Traits::LeafIntersection Dune::Grid< dim, dimworld, ct, GridFamily >::LeafIntersection
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.

template<int dim, int dimworld, class ct, class GridFamily>
typedef GridFamily::Traits::LeafIntersectionIterator Dune::Grid< dim, dimworld, ct, GridFamily >::LeafIntersectionIterator
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.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef ALU2dGridLeafIntersectionIterator<const ThisType> Dune::ALU2dGrid< dim, dimworld, eltype >::LeafIntersectionIteratorImp
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef Traits::template Codim<0>::LeafIterator Dune::ALU2dGrid< dim, dimworld, eltype >::LeafIterator
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef ALU2dGridLeafIterator<0, All_Partition, const ThisType> Dune::ALU2dGrid< dim, dimworld, eltype >::LeafIteratorImp
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef Traits::template Codim<0>::LeafIterator Dune::ALU2dGrid< dim, dimworld, eltype >::LeafIteratorType
template<int dim, int dimworld, class ct, class GridFamily>
typedef Partition< All_Partition >:: LevelGridView Dune::Grid< dim, dimworld, ct, GridFamily >::LevelGridView
inherited
template<int dim, int dimworld, class ct, class GridFamily>
typedef GridFamily::Traits::LevelIndexSet Dune::Grid< dim, dimworld, ct, GridFamily >::LevelIndexSet
inherited

A type that is a model of Dune::IndexSet which provides a consecutive, but non persistent, numbering for entities on a grid level.

Reimplemented in Dune::AlbertaGrid< dim, dimworld >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef GridFamily :: LevelIndexSetImp Dune::ALU2dGrid< dim, dimworld, eltype >::LevelIndexSetImp
template<int dim, int dimworld, class ct, class GridFamily>
typedef GridFamily::Traits::LevelIntersection Dune::Grid< dim, dimworld, ct, GridFamily >::LevelIntersection
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.

template<int dim, int dimworld, class ct, class GridFamily>
typedef GridFamily::Traits::LevelIntersectionIterator Dune::Grid< dim, dimworld, ct, GridFamily >::LevelIntersectionIterator
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.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef ALU2dGridLevelIntersectionIterator<const ThisType> Dune::ALU2dGrid< dim, dimworld, eltype >::LevelIntersectionIteratorImp
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef Traits::template Codim<0>::LevelIterator Dune::ALU2dGrid< dim, dimworld, eltype >::LevelIterator
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef ALU2dGridLevelIterator<0, All_Partition, const ThisType> Dune::ALU2dGrid< dim, dimworld, eltype >::LevelIteratorImp

a standard leaf iterator

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef Traits::template Codim<0>::LevelIterator Dune::ALU2dGrid< dim, dimworld, eltype >::LevelIteratorType
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef Traits :: LocalIdSet Dune::ALU2dGrid< dim, dimworld, eltype >::LocalIdSet
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef ALU2dGridLocalIdSet<dim,dimworld,elementType> Dune::ALU2dGrid< dim, dimworld, eltype >::LocalIdSetImp
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef ALU2dGridObjectStream Dune::ALU2dGrid< dim, dimworld, eltype >::ObjectStreamType

dummy object stream

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef ObjectStreamType Dune::ALU2dGrid< dim, dimworld, eltype >::OutStreamType
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef SizeCache<ThisType> Dune::ALU2dGrid< dim, dimworld, eltype >::SizeCacheType
protected

the type of our size cache

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef ALU2dGridFamily< dim, dimworld, elementType >::Traits Dune::ALU2dGrid< dim, dimworld, eltype >::Traits
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
typedef MakeableInterfaceObject<typename Traits::template Codim<2>::Entity> Dune::ALU2dGrid< dim, dimworld, eltype >::VertexObject

Member Enumeration Documentation

template<int dim, int dimworld, class ct, class GridFamily>
anonymous enum
inherited

A constant that exports the template parameter dim.

Enumerator:
dimension 

The dimension of the grid.

template<int dim, int dimworld, class ct, class GridFamily>
anonymous enum
inherited

A constant that exports the template parameter dimworld.

Enumerator:
dimensionworld 

The dimension of the world the grid lives in.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
anonymous enum

maximal number of levels

Enumerator:
MAXL 

maximal number of levels is 64

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
anonymous enum

element chunk for refinement

Enumerator:
newElementsChunk_ 

normal default number of new elements for new adapt method

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
anonymous enum

upper estimate on number of elements that could be created when a new element is created

Enumerator:
refineEstimate_ 

if one element is refined then it causes apporximately not more than this number of new elements

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
anonymous enum
protected
Enumerator:
numberOfGeomTypes 

Constructor & Destructor Documentation

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
Dune::ALU2dGrid< dim, dimworld, eltype >::ALU2dGrid ( const std::string  macroTriangFilename,
const int  nrOfHangingNodes,
const DuneBoundaryProjectionType ,
const DuneBoundaryProjectionVector ,
std::istream *  macroFile = 0 
)
protected

Constructor which reads an ALU2dGrid Macro Triang file or given GridFile

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
Dune::ALU2dGrid< dim, dimworld, eltype >::ALU2dGrid ( int  )
explicitprotected

Constructor which constructs an empty ALU2dGrid.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
Dune::ALU2dGrid< dim, dimworld, eltype >::~ALU2dGrid ( )

Desctructor.


Member Function Documentation

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
bool Dune::ALU2dGrid< dim, dimworld, eltype >::adapt ( )

! refine all positive marked leaf entities, return true if a least one entity was refined

Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype, ALU2dGridFamily< dim, dimworld, eltype > >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
template<class GridImp , class DataHandle >
bool Dune::ALU2dGrid< dim, dimworld, eltype >::adapt ( AdaptDataHandleInterface< GridImp, DataHandle > &  handle)
template<int dim, int dimworld, class ct, class GridFamily>
GridImp& Dune::Grid< dim, dimworld, ct, GridFamily >::asImp ( )
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 > >::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 > >::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().

template<int dim, int dimworld, class ct, class GridFamily>
const GridImp& Dune::Grid< dim, dimworld, ct, GridFamily >::asImp ( ) const
inlineprotectedinherited

Barton-Nackman trick.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
const DuneBoundaryProjectionType* Dune::ALU2dGrid< dim, dimworld, eltype >::boundaryProjection ( const int  segmentIndex) const
inlineprotected

return boudanry projection for given segment Id

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
const char* Dune::ALU2dGrid< dim, dimworld, eltype >::checkMacroGridFile ( const std::string &  filename)
protected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
void Dune::ALU2dGrid< dim, dimworld, eltype >::checkManager ( )
inline
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
const CollectiveCommunicationType& Dune::ALU2dGrid< dim, dimworld, eltype >::comm ( ) const

return dummy communication

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
template<class DataHandleImp , class DataTypeImp >
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.

Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype, ALU2dGridFamily< dim, dimworld, eltype > >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
template<class DataHandleImp , class DataTypeImp >
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.

Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype, ALU2dGridFamily< dim, dimworld, eltype > >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
HmeshType* Dune::ALU2dGrid< dim, dimworld, eltype >::createGrid ( const std::string &  ,
const int  ,
std::istream *   
)
protected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
template<class EntitySeed >
Traits :: template Codim< EntitySeed :: codimension >:: EntityPointer Dune::ALU2dGrid< dim, dimworld, eltype >::entityPointer ( const EntitySeed &  seed) const
inline

obtain EntityPointer from EntitySeed.

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
const GridObjectFactoryType& Dune::ALU2dGrid< dim, dimworld, eltype >::factory ( ) const
inline
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
const std::vector<GeometryType>& Dune::ALU2dGrid< dim, dimworld, eltype >::geomTypes ( int  codim) const
inline
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
ALU2dGridLeafMarkerVectorType& Dune::ALU2dGrid< dim, dimworld, eltype >::getLeafMarker ( ) const
inline

return reference to vector determing on which element a face is visited

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
int Dune::ALU2dGrid< dim, dimworld, eltype >::getMark ( const typename Traits::template Codim< 0 >::Entity e) const

returns adaptation mark for given entity

Parameters:
[in]eEntity for which adaptation mark should be determined
Returns:
int adaptation mark currently set for given Entity e

Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype, ALU2dGridFamily< dim, dimworld, eltype > >.

template<int dim, int dimworld, class ct, class GridFamily>
int Dune::Grid< dim, dimworld, ct, GridFamily >::getMark ( const typename Codim< 0 >::Entity e) const
inlineinherited

returns adaptation mark for given entity

Parameters:
[in]eEntity for which adaptation mark should be determined
Returns:
int adaptation mark currently set for given Entity e
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
ALU2dGridMarkerVector& Dune::ALU2dGrid< dim, dimworld, eltype >::getMarkerVector ( int  level) const
inline

return reference to vector telling on which element a face is visted for this level

static ReturnImplementationType<InterfaceType>::ImplementationType& Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::getRealImplementation ( InterfaceType i)
inlinestaticprotectedinherited
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
template<class IntersectionType >
const BaseType :: template ReturnImplementationType< IntersectionType>:: ImplementationType& Dune::ALU2dGrid< dim, dimworld, eltype >::getRealIntersection ( const IntersectionType &  intersection) const
inline
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
int Dune::ALU2dGrid< dim, dimworld, eltype >::ghostSize ( int  level,
int  codim 
) const
inline
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
int Dune::ALU2dGrid< dim, dimworld, eltype >::ghostSize ( int  codim) const
inline
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
const GlobalIdSet& Dune::ALU2dGrid< dim, dimworld, eltype >::globalIdSet ( ) const

get global id set of grid

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
const DuneBoundaryProjectionType* Dune::ALU2dGrid< dim, dimworld, eltype >::globalProjection ( ) const
inlineprotected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
void Dune::ALU2dGrid< dim, dimworld, eltype >::globalRefine ( int  refCount)

refine grid refCount times

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
template<class GridImp , class DataHandle >
void Dune::ALU2dGrid< dim, dimworld, eltype >::globalRefine ( int  refCount,
AdaptDataHandleInterface< GridImp, DataHandle > &  hamdle 
)
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
bool Dune::ALU2dGrid< dim, dimworld, eltype >::hasBoundaryProjection ( ) const
inline

return true if boudanry projection is set

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
const HierarchicIndexSet& Dune::ALU2dGrid< dim, dimworld, eltype >::hierarchicIndexSet ( ) const

get hierarchic index set of the grid

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
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().

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
template<int cd, PartitionIteratorType pitype>
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

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
template<int cd>
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.

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
LevelIteratorType Dune::ALU2dGrid< dim, dimworld, eltype >::lbegin ( int  level) const

Iterator to first entity of codim 0 on level.

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
template<int codim, PartitionIteratorType pitype>
Traits::template Codim<codim>::template Partition<pitype>::LeafIterator Dune::ALU2dGrid< dim, dimworld, eltype >::leafbegin ( ) const

General definiton for a leaf iterator.

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
template<int codim>
Traits::template Codim<codim>::LeafIterator Dune::ALU2dGrid< dim, dimworld, eltype >::leafbegin ( ) const

General definiton for a leaf iterator.

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
template<int codim, PartitionIteratorType pitype>
Traits::template Codim<codim>::template Partition<pitype>::LeafIterator Dune::ALU2dGrid< dim, dimworld, eltype >::leafend ( ) const

General definition for an end iterator on leaf level.

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
template<int codim>
Traits::template Codim<codim>::LeafIterator Dune::ALU2dGrid< dim, dimworld, eltype >::leafend ( ) const

General definition for an end iterator on leaf level.

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
const Traits :: LeafIndexSet& Dune::ALU2dGrid< dim, dimworld, eltype >::leafIndexSet ( ) const

get leaf index set of the grid

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

Traits::template Partition<pitype>::LeafGridView Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::leafView ( ) const
inlineinherited
Traits::template Partition<All_Partition>::LeafGridView Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::leafView ( ) const
inlineinherited
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
template<int cd, PartitionIteratorType pitype>
Traits::template Codim<cd>::template Partition<pitype>::LevelIterator Dune::ALU2dGrid< dim, dimworld, eltype >::lend ( int  level) const

one past the end on this level

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
template<int cd>
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

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
LevelIteratorType Dune::ALU2dGrid< dim, dimworld, eltype >::lend ( int  level) const

last entity of codim 0 on level

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
const Traits :: LevelIndexSet& Dune::ALU2dGrid< dim, dimworld, eltype >::levelIndexSet ( int  level) const

get level index set of the grid

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

Traits::template Partition<pitype>::LevelGridView Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::levelView ( int  level) const
inlineinherited
Traits::template Partition<All_Partition>::LevelGridView Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::levelView ( int  level) const
inlineinherited
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
bool Dune::ALU2dGrid< dim, dimworld, eltype >::loadBalance ( )

Re-balances the load each process has to handle for a parallel grid, if grid has changed , true is returned.

Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype, ALU2dGridFamily< dim, dimworld, eltype > >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
template<class DataHandle >
bool Dune::ALU2dGrid< dim, dimworld, eltype >::loadBalance ( DataHandle &  data)

Re-balances the load each process has to handle for a parallel grid, if grid has changed , true is returned.

Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype, ALU2dGridFamily< dim, dimworld, eltype > >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
const LocalIdSet& Dune::ALU2dGrid< dim, dimworld, eltype >::localIdSet ( ) const

get global id set of grid

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
void Dune::ALU2dGrid< dim, dimworld, eltype >::makeGeomTypes ( )
protected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
bool Dune::ALU2dGrid< dim, dimworld, eltype >::mark ( int  refCount,
const typename Traits::template Codim< 0 >::Entity e 
)

Marks an entity to be refined/coarsened in a subsequent adapt.

Parameters:
[in]refCountNumber of subdivisions that should be applied. Negative value means coarsening.
[in]eEntity that should be marked
Returns:
true if Entity was marked, false otherwise.

Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype, ALU2dGridFamily< dim, dimworld, eltype > >.

template<int dim, int dimworld, class ct, class GridFamily>
bool Dune::Grid< dim, dimworld, ct, GridFamily >::mark ( int  refCount,
const typename Codim< 0 >::Entity e 
)
inlineinherited

Marks an entity to be refined/coarsened in a subsequent adapt.

Parameters:
[in]refCountNumber of subdivisions that should be applied. Negative value means coarsening.
[in]eEntity that should be marked
Returns:
true if Entity was marked, false otherwise.
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
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.

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
HmeshType& Dune::ALU2dGrid< dim, dimworld, eltype >::mesh ( ) const
inlineprotected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
HmeshType& Dune::ALU2dGrid< dim, dimworld, eltype >::myGrid ( )
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
HmeshType& Dune::ALU2dGrid< dim, dimworld, eltype >::myGrid ( ) const
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
bool Dune::ALU2dGrid< dim, dimworld, eltype >::nonConform ( ) const
inlineprotected

return true if grid allows hanging nodes on leaf level i.e. returns true for ALUSimplexGrid and returns false for ALUConformGrid

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
size_t Dune::ALU2dGrid< dim, dimworld, eltype >::numBoundarySegments ( ) const
inline

return number of macro boundary segments

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

int Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::overlapSize ( int  level,
int  codim 
) const
inlineinherited

overlapSize is zero by default

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

int Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype , ALU2dGridFamily< dim, dimworld, eltype > >::overlapSize ( int  codim) const
inlineinherited

overlapSize is zero by default

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
void Dune::ALU2dGrid< dim, dimworld, eltype >::postAdapt ( )
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
bool Dune::ALU2dGrid< dim, dimworld, eltype >::preAdapt ( )

returns if a least one entity was marked for coarsening

Reimplemented from Dune::GridDefaultImplementation< dim, dimworld, alu2d_ctype, ALU2dGridFamily< dim, dimworld, eltype > >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
template<GrapeIOFileFormatType ftype>
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

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
bool Dune::ALU2dGrid< dim, dimworld, eltype >::refineGrid ( )
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
int Dune::ALU2dGrid< dim, dimworld, eltype >::size ( int  level,
int  cd 
) const

number of grid entities per level and codim

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
int Dune::ALU2dGrid< dim, dimworld, eltype >::size ( int  codim) const

number of leaf entities per codim in this process

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
int Dune::ALU2dGrid< dim, dimworld, eltype >::size ( int  level,
GeometryType  type 
) const

number of entities per level, codim and geometry type in this process

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
int Dune::ALU2dGrid< dim, dimworld, eltype >::size ( GeometryType  type) const

number of leaf entities per codim and geometry type in this process

Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
template<GrapeIOFileFormatType ftype>
bool Dune::ALU2dGrid< dim, dimworld, eltype >::writeGrid ( const std::string  filename,
alu2d_ctype  time 
) const

write Grid to file in specified FileFormatType

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
bool Dune::ALU2dGrid< dim, dimworld, eltype >::writeGrid_Ascii ( const std::string  filename,
alu2d_ctype  time 
) const
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
bool Dune::ALU2dGrid< dim, dimworld, eltype >::writeGrid_Xdr ( const std::string  filename,
alu2d_ctype  time 
) const

Friends And Related Function Documentation

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class ALU2dGridBoundaryProjection< ThisType >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class ALU2dGridEntity
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class ALU2dGridEntityPointer< 0, const ThisType >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class ALU2dGridEntityPointer< 1, const ThisType >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class ALU2dGridEntityPointer< dim, const ThisType >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class ALU2dGridGeometry< 0, dimworld, const ThisType >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class ALU2dGridGeometry< 1, dimworld, const ThisType >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class ALU2dGridGeometry< dim, dimworld, const ThisType >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class ALU2dGridHierarchicIndexSet< dim, dimworld, elementType >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class ALU2dGridIntersectionBase< const ThisType >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class ALU2dGridLeafIntersectionIterator< const ThisType >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class ALU2dGridLevelIntersectionIterator< const ThisType >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class ALUGridBoundaryProjection< ThisType >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class ALULocalGeometryStorage
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class ALULocalGeometryStorage< const ThisType, GeometryObject, 2 >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class ALULocalGeometryStorage< const ThisType, GeometryObject, 4 >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class Conversion< ALU2dGrid< dim, dimworld, eltype >, HasHierarchicIndexSet >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class Conversion< ALU2dGrid< dim, dimworld, eltype >, HasObjectStream >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class Conversion< const ALU2dGrid< dim, dimworld, eltype >, HasHierarchicIndexSet >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class Conversion< const ALU2dGrid< dim, dimworld, eltype >, HasObjectStream >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class DGFBaseFactory
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class IntersectionIteratorWrapper< const ThisType, LeafIntersectionIteratorImp >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class IntersectionIteratorWrapper< const ThisType, LevelIntersectionIteratorImp >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class LeafIntersectionIteratorWrapper< const ThisType >
friend
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
friend class LevelIntersectionIteratorWrapper< const ThisType >
friend

Member Data Documentation

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
const DuneBoundaryProjectionType* Dune::ALU2dGrid< dim, dimworld, eltype >::bndPrj_
protected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
const DuneBoundaryProjectionVector* Dune::ALU2dGrid< dim, dimworld, eltype >::bndVec_
protected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
int Dune::ALU2dGrid< dim, dimworld, eltype >::coarsenMarked_
protected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
const ALU2DSPACE ElementType Dune::ALU2dGrid< dim, dimworld, eltype >::elementType = eltype
static
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
GridObjectFactoryType Dune::ALU2dGrid< dim, dimworld, eltype >::factory_
protected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
std::vector< std::vector<GeometryType> > Dune::ALU2dGrid< dim, dimworld, eltype >::geomTypes_
protected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
HierarchicIndexSet Dune::ALU2dGrid< dim, dimworld, eltype >::hIndexSet_
protected

the hierarchic index set

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
LeafIndexSetImp* Dune::ALU2dGrid< dim, dimworld, eltype >::leafIndexSet_
mutableprotected

the leaf index set

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
std::vector< LevelIndexSetImp * > Dune::ALU2dGrid< dim, dimworld, eltype >::levelIndexVec_
mutableprotected

the level index set ( default type )

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
LocalIdSetImp Dune::ALU2dGrid< dim, dimworld, eltype >::localIdSet_
protected

out global id set

template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
bool Dune::ALU2dGrid< dim, dimworld, eltype >::lockPostAdapt_
protected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
ALU2dGridMarkerVector Dune::ALU2dGrid< dim, dimworld, eltype >::marker_[MAXL]
mutableprotected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
int Dune::ALU2dGrid< dim, dimworld, eltype >::maxLevel_
protected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
int Dune::ALU2dGrid< dim, dimworld, eltype >::maxlevel_
protected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
HmeshType* Dune::ALU2dGrid< dim, dimworld, eltype >::mygrid_
mutableprotected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
const int Dune::ALU2dGrid< dim, dimworld, eltype >::nrOfHangingNodes_
protected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
int Dune::ALU2dGrid< dim, dimworld, eltype >::refineMarked_
protected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
SizeCacheType* Dune::ALU2dGrid< dim, dimworld, eltype >::sizeCache_
protected
template<int dim, int dimworld, ALU2DSPACE ElementType eltype>
ALUGridBoundaryProjectionType* Dune::ALU2dGrid< dim, dimworld, eltype >::vertexProjection_
protected

The documentation for this class was generated from the following file: