dune-grid
2.3beta2
|
constructor for creating ALUCubeGrid from given macro grid file More...
#include <dune/grid/alugrid/3d/alugrid.hh>
Classes | |
struct | Partition |
Public Types | |
enum | { dimension = BaseType::dimension, dimensionworld = BaseType::dimensionworld } |
typedef BaseType::DuneBoundaryProjectionType | DuneBoundaryProjectionType |
type of boundary projection | |
typedef BaseType::DuneBoundaryProjectionVector | DuneBoundaryProjectionVector |
type of boundary projection | |
typedef BaseType::ctype | ctype |
typedef BaseType::GridFamily | GridFamily |
typedef GridFamily::Traits | Traits |
typedef BaseType::LocalIdSetImp | LocalIdSetImp |
typedef Traits::GlobalIdSet | GlobalIdSet |
typedef Traits::LocalIdSet | LocalIdSet |
typedef GridFamily::LevelIndexSetImp | LevelIndexSetImp |
typedef GridFamily::LeafIndexSetImp | LeafIndexSetImp |
typedef BaseType::LeafIteratorImp | LeafIteratorImp |
typedef Traits::Codim < 0 >::LeafIterator | LeafIteratorType |
typedef Traits::Codim < 0 >::LeafIterator | LeafIterator |
typedef BaseType::HierarchicIteratorImp | HierarchicIteratorImp |
typedef BaseType::ObjectStreamType | ObjectStreamType |
typedef Partition < All_Partition > ::LevelGridView | LevelGridView |
typedef Partition < All_Partition > ::LeafGridView | LeafGridView |
enum | |
typedef ALU3dGridIntersectionIterator < const ThisType > | IntersectionIteratorImp |
typedef ALU3dGridIntersectionIterator < const ThisType > | LeafIntersectionIteratorImp |
typedef ALU3dGridLevelIntersectionIterator < const ThisType > | LevelIntersectionIteratorImp |
typedef ObjectStreamType | InStreamType |
typedef ObjectStreamType | OutStreamType |
typedef ALU3dGridHierarchicIndexSet < elType, Comm > | HierarchicIndexSet |
Type of the hierarchic index set. | |
typedef ReferenceElement < alu3d_ctype, dimension > | ReferenceElementType |
reference element type | |
typedef ALU3DSPACE ProjectVertex | ALUGridVertexProjectionType |
type of ALUGrid Vertex Projection Interface | |
typedef Traits::CollectiveCommunication | CollectiveCommunication |
type of collective communication object | |
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 > | EdgeObject |
typedef MakeableInterfaceObject < typename Traits::template Codim< 3 >::Entity > | VertexObject |
typedef ALUGridObjectFactory < ThisType > | GridObjectFactoryType |
typedef ALU3dGridCommunications < elType, Comm > | Communications |
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 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. |
Public Member Functions | |
ALUCubeGrid (const std::string macroName, const MPICommunicatorType mpiComm=BaseType::defaultCommunicator(), const DuneBoundaryProjectionType *bndProject=0, const DuneBoundaryProjectionVector *bndVector=0, const bool verb=true) | |
constructor for creating ALUCubeGrid from given macro grid file | |
ALUCubeGrid (const MPICommunicatorType mpiComm, const DuneBoundaryProjectionType *bndProject, const DuneBoundaryProjectionVector *bndVector, const std::string macroName, const bool verb=true) | |
constructor called from ALUGridFactory for creating ALUCubeGrid from given macro grid file | |
ALUCubeGrid (const MPICommunicatorType mpiComm=BaseType::defaultCommunicator()) | |
constructor creating empty grid | |
template<PartitionIteratorType pitype> | |
Partition< pitype >::LevelGridView | levelView (int level) const |
View for a grid level. | |
template<PartitionIteratorType pitype> | |
Partition< pitype >::LeafGridView | leafView () const |
View for the leaf grid. | |
LevelGridView | levelView (int level) const |
View for a grid level. | |
LeafGridView | leafView () const |
View for the leaf grid. | |
template<PartitionIteratorType pitype> | |
Partition< pitype >::LevelGridView | levelGridView (int level) const |
View for a grid level. | |
template<PartitionIteratorType pitype> | |
Partition< pitype >::LeafGridView | leafGridView () const |
View for the leaf grid. | |
LevelGridView | levelGridView (int level) const |
View for a grid level. | |
LeafGridView | leafGridView () const |
View for the leaf grid. | |
int | maxLevel () const |
Return maximum level defined in this grid. Levels are numbered maxLevel with 0 the coarsest level. | |
Traits::template Codim< cd > ::template Partition< pitype > ::LevelIterator | lbegin (int level) const |
Iterator to first entity of given codim on level. | |
Traits::template Codim< cd > ::template Partition < All_Partition > ::LevelIterator | lbegin (int level) const |
Iterator to first entity of given codim on level. | |
Traits::template Codim< cd > ::template Partition< pitype > ::LevelIterator | lend (int level) const |
one past the end on this level | |
Traits::template Codim< cd > ::template Partition < All_Partition > ::LevelIterator | lend (int level) const |
one past the end on this level | |
Traits::template Codim< codim > ::template Partition< pitype > ::LeafIterator | leafbegin () const |
General definiton for a leaf iterator. | |
Traits::template Codim< codim > ::LeafIterator | leafbegin () const |
General definiton for a leaf iterator. | |
Traits::template Codim< codim > ::template Partition< pitype > ::LeafIterator | leafend () const |
General definition for an end iterator on leaf level. | |
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 and geometry type 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 | |
int | global_size (int cd) const |
number of grid entities on all levels for given codim | |
int | hierSetSize (int cd) const |
const GlobalIdSet & | globalIdSet () const |
get global id set of grid | |
const LocalIdSet & | localIdSet () const |
get global id set of grid | |
const Traits::LeafIndexSet & | leafIndexSet () const |
get leaf index set of the grid | |
const Traits::LevelIndexSet & | levelIndexSet (int level) const |
get level index set of the grid | |
bool | loadBalance () |
Calculates load of each process and repartition the grid if neccessary. For parameters of the load balancing process see the README file of the ALUGrid package. | |
bool | loadBalance (DataHandle &data) |
Calculates load of each process and repartition the grid if neccessary. For parameters of the load balancing process see the README file of the ALUGrid package. | |
bool | loadBalance (CommDataHandleIF< DataHandleImpl, Data > &dataHandle) |
int | ghostSize (int level, int codim) const |
ghostSize is one for codim 0 and zero otherwise for this grid | |
int | ghostSize (int codim) const |
ghostSize is one for codim 0 and zero otherwise for this grid | |
int | overlapSize (int level, int codim) const |
overlapSize is zero for this grid | |
int | overlapSize (int codim) const |
overlapSize is zero for this grid | |
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. | |
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. | |
const CollectiveCommunication & | comm () const |
return const reference to a collective communication object. The return type is a model of Dune::CollectiveCommunication. | |
bool | preAdapt () |
returns if a least one entity was marked for coarsening | |
void | postAdapt () |
clear all entity new markers | |
bool | adapt () |
Refine all positive marked leaf entities, coarsen all negative marked entities if possible. | |
bool | adapt (AdaptDataHandleInterface< GridImp, DataHandle > &handle) |
Refine all positive marked leaf entities, coarsen all negative marked entities if possible. | |
void | globalRefine (int refCount) |
uses the interface, mark on entity and refineLocal | |
void | globalRefine (int refCount, AdaptDataHandleInterface< GridImp, DataHandle > &handle) |
bool | writeGrid (const std::string filename, alu3d_ctype time) const |
write Grid to file in specified FileFormatType | |
bool | writeGrid_Xdr (const std::string filename, alu3d_ctype time) const |
bool | writeGrid_Ascii (const std::string filename, alu3d_ctype time, bool scientific=false) const |
write leaf grid in macro grid format to ascii file | |
bool | writeMacroGrid (const std::string path, const std::string filename) const |
write macro grid in ALUGrid macro format to path/filename.rank | |
bool | readGrid (const std::string filename, alu3d_ctype &time) |
read Grid from file filename and store time of mesh in time | |
void | backup (std::ostream &) const |
backup to ostream | |
void | restore (std::istream &) |
restore from istream | |
const HierarchicIndexSet & | hierarchicIndexSet () const |
void | setMaxLevel (int mxl) |
void | updateStatus () |
bool | mark (int refCount, const typename Traits::template Codim< 0 >::Entity &e) |
Marks an entity to be refined/coarsened in a subsequent adapt. | |
int | getMark (const typename Traits::template Codim< 0 >::Entity &e) const |
returns adaptation mark for given entity | |
const std::vector< GeometryType > & | geomTypes (int codim) const |
deliver all geometry types used in this grid | |
GitterImplType & | myGrid () const |
virtual GitterImplType * | createALUGrid (const std::string ¯oName) |
virtual GitterImplType * | createALUGrid (std::istream &stream) |
ALUGridVertexProjectionType * | vertexProjection () |
virtual ALU3DSPACE Gitter::Geometric::BuilderIF & | getBuilder () const |
virtual void | duneNotifyMacroGridChanges () |
const ReferenceElementType & | referenceElement () const |
return reference to Dune reference element according to elType | |
Traits::template Codim < EntitySeed::codimension > ::EntityPointer | entityPointer (const EntitySeed &seed) const |
obtain EntityPointer from EntitySeed. | |
int | nlinks () const |
LeafVertexListType & | getLeafVertexList () const |
int | getLevelOfLeafVertex (const typename ALU3dImplTraits< elType, Comm >::VertexType &vertex) const |
VertexListType & | getVertexList (int level) const |
ALU3dGridItemListType & | getGhostLeafList (int codim) const |
ALU3dGridItemListType & | getGhostLevelList (int codim, int level) const |
ALU3dGridItemListType & | getEdgeList (int level) const |
bool | conformingRefinement () const |
bool | ghostCellsEnabled () const |
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 | name () |
for grid identification | |
static MPICommunicatorType | defaultCommunicator () |
static const BaseType::template ReturnImplementationType < IntersectionType > ::ImplementationType & | getRealIntersection (const IntersectionType &intersection) |
Static Public Attributes | |
static const ALU3dGridElementType | elementType |
Protected Types | |
enum | |
max number of levels More... | |
enum | |
element chunk for refinement More... | |
enum | |
upper estimate on number of elements that could be created when a new element is created More... | |
enum | |
typedef MakeableInterfaceObject < typename Traits::template Codim< 0 >::Geometry > | GeometryObject |
typedef ALUGridBoundaryProjection < ThisType, alu3d_ctype > | ALUGridBoundaryProjectionType |
typedef GridFamily::GlobalIdSetImp | GlobalIdSetImp |
typedef ALU3dImplTraits < elType, Comm > ::GitterImplType | GitterImplType |
typedef ALU3dGridVertexList< Comm > | VertexListType |
typedef ALU3dGridLeafVertexList< Comm > | LeafVertexListType |
typedef SizeCache< MyType > | SizeCacheType |
Protected Member Functions | |
void | calcExtras () |
reset size and global size, update Level- and LeafIndexSet, if they exist | |
void | calcMaxLevel () |
calculate maxlevel | |
void | recalcGlobalSize () |
make grid walkthrough and calc global size | |
void | checkMacroGridFile (const std::string filename) |
check whether macro grid format is of our type | |
void | checkMacroGrid () |
check whether macro grid has the right element type | |
const DuneBoundaryProjectionType * | boundaryProjection (const int segmentIndex) const |
return boudanry projection for given segment Id | |
const Communications & | communications () const |
const GridObjectFactoryType & | factory () 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 | |
GitterImplType * | mygrid_ |
int | maxlevel_ |
int | coarsenMarked_ |
int | refineMarked_ |
std::vector< std::vector < GeometryType > > | geomTypes_ |
HierarchicIndexSet | hIndexSet_ |
GlobalIdSetImp * | globalIdSet_ |
LocalIdSetImp | localIdSet_ |
std::vector< LevelIndexSetImp * > | levelIndexVec_ |
LeafIndexSetImp * | leafIndexSet_ |
const ReferenceElementType & | referenceElement_ |
VertexListType | vertexList_ [MAXL] |
ALU3dGridItemListType | ghostLeafList_ [dimension] |
ALU3dGridItemListType | ghostLevelList_ [dimension][MAXL] |
ALU3dGridItemListType | levelEdgeList_ [MAXL] |
LeafVertexListType | leafVertexList_ |
SizeCacheType * | sizeCache_ |
GridObjectFactoryType | factory_ |
bool | lockPostAdapt_ |
const DuneBoundaryProjectionType * | bndPrj_ |
const DuneBoundaryProjectionVector * | bndVec_ |
ALUGridBoundaryProjectionType * | vertexProjection_ |
Communications * | communications_ |
const ALUGridRefinementType | refinementType_ |
constructor for creating ALUCubeGrid from given macro grid file
macroName | filename for macro grid in ALUGrid hexa format |
mpiComm | MPI Communicator (when HAVE_MPI == 1 then mpiComm is of type MPI_Comm and the default value is MPI_COMM_WORLD) |
bndProject | global boundary projection pointer |
bndVector | pointer to vector holding boundary projection for each boundary segment. ALUGrid takes ownership of this pointer and will delete it in the desctructor |
verb | Whether to write a notice about grid creation to stdout. |
|
protectedinherited |
|
inherited |
type of ALUGrid Vertex Projection Interface
|
inherited |
type of collective communication object
|
inherited |
typedef BaseType::ctype Dune::ALUCubeGrid< 3, 3 >::ctype |
typedef BaseType :: DuneBoundaryProjectionType Dune::ALUCubeGrid< 3, 3 >::DuneBoundaryProjectionType |
type of boundary projection
typedef BaseType :: DuneBoundaryProjectionVector Dune::ALUCubeGrid< 3, 3 >::DuneBoundaryProjectionVector |
type of boundary projection
|
inherited |
|
inherited |
|
inherited |
|
protectedinherited |
|
protectedinherited |
typedef Traits :: GlobalIdSet Dune::ALUCubeGrid< 3, 3 >::GlobalIdSet |
|
protectedinherited |
typedef BaseType::GridFamily Dune::ALUCubeGrid< 3, 3 >::GridFamily |
|
inherited |
|
inherited |
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 BaseType::HierarchicIteratorImp Dune::ALUCubeGrid< 3, 3 >::HierarchicIteratorImp |
|
inherited |
|
inherited |
typedef Partition< All_Partition >:: LeafGridView Dune::ALUCubeGrid< 3, 3 >::LeafGridView |
|
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::ALUCubeGrid< 3, 3 >::LeafIndexSetImp |
|
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 |
typedef Traits::Codim<0>::LeafIterator Dune::ALUCubeGrid< 3, 3 >::LeafIterator |
typedef BaseType::LeafIteratorImp Dune::ALUCubeGrid< 3, 3 >::LeafIteratorImp |
typedef Traits::Codim<0>::LeafIterator Dune::ALUCubeGrid< 3, 3 >::LeafIteratorType |
|
protectedinherited |
typedef Partition< All_Partition >:: LevelGridView Dune::ALUCubeGrid< 3, 3 >::LevelGridView |
|
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::ALUCubeGrid< 3, 3 >::LevelIndexSetImp |
|
inherited |
A type that is a model of Dune::Intersection, an intersections of two codimension 1 of two codimension 0 entities in a level view.
|
inherited |
A type that is a model of Dune::IntersectionIterator which is an iterator that allows to examine, but not to modify, the intersections of codimension 1 of an element (entity of codimension 0) with other elements on the same level.
|
inherited |
typedef Traits :: LocalIdSet Dune::ALUCubeGrid< 3, 3 >::LocalIdSet |
typedef BaseType::LocalIdSetImp Dune::ALUCubeGrid< 3, 3 >::LocalIdSetImp |
typedef BaseType::ObjectStreamType Dune::ALUCubeGrid< 3, 3 >::ObjectStreamType |
|
inherited |
|
inherited |
reference element type
|
protectedinherited |
typedef GridFamily::Traits Dune::ALUCubeGrid< 3, 3 >::Traits |
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
protectedinherited |
max number of levels
|
protectedinherited |
element chunk for refinement
|
protectedinherited |
upper estimate on number of elements that could be created when a new element is created
|
protectedinherited |
|
inline |
constructor for creating ALUCubeGrid from given macro grid file
macroName | filename for macro grid in ALUGrid hexa format |
mpiComm | MPI Communicator (when HAVE_MPI == 1 then mpiComm is of type MPI_Comm and the default value is MPI_COMM_WORLD) |
bndProject | global boundary projection pointer |
bndVector | pointer to vector holding boundary projection for each boundary segment. ALUGrid takes ownership of this pointer and will delete it in the desctructor |
verb | Whether to write a notice about grid creation to stdout. |
References Dune::ALUGridParallelSerial().
|
inline |
constructor called from ALUGridFactory for creating ALUCubeGrid from given macro grid file
mpiComm | MPI Communicator (when HAVE_MPI == 1 then mpiComm is of type MPI_Comm) |
bndProject | global boundary projection pointer |
bndVector | pointer to vector holding boundary projection for each boundary segment |
macroName | filename from which ALUGrid is being generated |
verb | Whether to write a notice about grid creation to stdout. |
References Dune::ALUGridParallelSerial().
|
inline |
constructor creating empty grid
|
inherited |
Refine all positive marked leaf entities, coarsen all negative marked entities if possible.
The complete adaptation process works as follows:
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inherited |
Refine all positive marked leaf entities, coarsen all negative marked entities if possible.
The complete adaptation process works as follows:
handle | handler for restriction and prolongation operations which is a Model of the AdaptDataHandleInterface class. |
|
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.
|
inherited |
backup to ostream
|
inlineprotectedinherited |
return boudanry projection for given segment Id
References Dune::ALU3dGrid< elType, Comm >::bndPrj_, and Dune::ALU3dGrid< elType, Comm >::bndVec_.
|
protectedinherited |
reset size and global size, update Level- and LeafIndexSet, if they exist
|
protectedinherited |
calculate maxlevel
|
protectedinherited |
check whether macro grid has the right element type
|
protectedinherited |
check whether macro grid format is of our type
|
inlineinherited |
return const reference to a collective communication object. The return type is a model of Dune::CollectiveCommunication.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
References Dune::ALU3dGrid< elType, Comm >::communications().
|
inherited |
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. |
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inherited |
Communicate information on distributed entities on the leaf grid. Template parameter is a model of Dune::CommDataHandleIF.
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inlineprotectedinherited |
References Dune::ALU3dGrid< elType, Comm >::communications_.
|
inlineinherited |
References Dune::conforming, and Dune::ALU3dGrid< elType, Comm >::refinementType_.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinestaticinherited |
|
inlinevirtualinherited |
|
inlineinherited |
obtain EntityPointer from EntitySeed.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
References Dune::EntitySeed< GridImp, EntitySeedImp >::codimension, and Dune::ALU3dGrid< elType, Comm >::factory().
|
inlineprotectedinherited |
|
inlineinherited |
deliver all geometry types used in this grid
References Dune::ALU3dGrid< elType, Comm >::geomTypes_.
|
inlinevirtualinherited |
|
inlineinherited |
|
inlineinherited |
References Dune::ALU3dGrid< elType, Comm >::ghostLeafList_.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
returns adaptation mark for given entity
[in] | e | Entity for which adaptation mark should be determined |
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inlinestaticprotectedinherited |
return real implementation of interface class
Referenced by Dune::ALU3dGrid< hexa >::getRealIntersection(), Dune::ALU3dGridHierarchicIndexSet< elType, Comm >::index(), and Dune::ALU3dGridHierarchicIndexSet< elType, Comm >::subIndex().
|
inlinestaticinherited |
|
inlineinherited |
|
inlineinherited |
References Dune::ALU3dGrid< elType, Comm >::myGrid().
|
inherited |
ghostSize is one for codim 0 and zero otherwise for this grid
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inherited |
ghostSize is one for codim 0 and zero otherwise for this grid
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inherited |
number of grid entities on all levels for given codim
|
inlineinherited |
get global id set of grid
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
References Dune::ALU3dGrid< elType, Comm >::globalIdSet_.
|
inherited |
uses the interface, mark on entity and refineLocal
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inherited |
|
inlineinherited |
References Dune::ALU3dGrid< elType, Comm >::hIndexSet_.
|
inherited |
|
inherited |
Iterator to first entity of given codim on level.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inherited |
Iterator to first entity of given codim on level.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inherited |
General definiton for a leaf iterator.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inherited |
General definiton for a leaf iterator.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inherited |
General definition for an end iterator on leaf level.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inherited |
General definition for an end iterator on leaf level.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
View for the leaf grid.
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inline |
View for the leaf grid.
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inherited |
get leaf index set of the grid
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
View for the leaf grid.
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inline |
View for the leaf grid.
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inherited |
one past the end on this level
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inherited |
one past the end on this level
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
View for a grid level.
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inline |
View for a grid level.
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inherited |
get level index set of the grid
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inline |
View for a grid level.
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inline |
View for a grid level.
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inherited |
Calculates load of each process and repartition the grid if neccessary. For parameters of the load balancing process see the README file of the ALUGrid package.
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inherited |
Calculates load of each process and repartition the grid if neccessary. For parameters of the load balancing process see the README file of the ALUGrid package.
data | the data handler class that must implement three methods: // calls data inline on macro element. From there the data of
// all children can be written to the message buffer.
// MessageBufferImp implements the MessageBufferIF interface.
template<class MessageBufferImp>
void inlineData ( MessageBufferImp& buff, Dune::Entity<0> & e);
// calls data xtract on macro element. From there the data of
// all children can be restored from the message buffer.
// numChildren is the number of all children underneath the
// macro element e.
// MessageBufferImp implements the MessageBufferIF interface.
template<class MessageBufferImp>
// This method is called at the end of the load balancing process
// before adaptation markers are removed. Here the user can apply
// a data compression or other features. This method can be
// empty if nothing should be done.
void compress ();
|
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inlineinherited |
References Dune::ALU3dGrid< elType, Comm >::loadBalance().
|
inlineinherited |
get global id set of grid
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
References Dune::ALU3dGrid< elType, Comm >::localIdSet_.
|
inlineinherited |
|
inherited |
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< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inherited |
Return maximum level defined in this grid. Levels are numbered maxLevel with 0 the coarsest level.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inherited |
|
inlinestaticinherited |
for grid identification
|
inlineinherited |
|
inherited |
number of boundary segments
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inlineinherited |
overlapSize is zero for this grid
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inlineinherited |
overlapSize is zero for this grid
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inherited |
clear all entity new markers
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inherited |
returns if a least one entity was marked for coarsening
Reimplemented from Dune::GridDefaultImplementation< 3, 3, alu3d_ctype, ALU3dGridFamily< elType, Comm > >.
|
inherited |
read Grid from file filename and store time of mesh in time
|
protectedinherited |
make grid walkthrough and calc global size
|
inlineinherited |
return reference to Dune reference element according to elType
References Dune::ALU3dGrid< elType, Comm >::referenceElement_.
|
inherited |
restore from istream
|
inherited |
|
inherited |
number of grid entities per level and codim
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inherited |
number of leaf entities per codim in this process
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inherited |
number of entities per level and geometry type in this process
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inherited |
number of leaf entities per geometry type in this process
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
|
inherited |
|
inlineinherited |
|
inherited |
write Grid to file in specified FileFormatType
|
inherited |
write leaf grid in macro grid format to ascii file
|
inherited |
|
inherited |
write macro grid in ALUGrid macro format to path/filename.rank
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
protectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
protectedinherited |
|
staticinherited |
|
protectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
protectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
protectedinherited |