- Home
- About DUNE
- Download
- Documentation
- Community
- Development
[ provides Dune::Grid ] 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 |
Type of the local id set. | |
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, needed by data handle. | |
typedef GridFamily::LeafIndexSetImp | LeafIndexSetImp |
Type of the leaf index set, needed by data handle. | |
typedef BaseType::LeafIteratorImp | LeafIteratorImp |
a standard leaf iterator | |
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 ALU3dGridFamily < elType, Comm >::Traits | Traits |
The traits of this class. | |
typedef ALU3dGridHierarchicIndexSet < elType, Comm > | HierarchicIndexSet |
Type of the hierarchic index set. | |
typedef GenericReferenceElement < 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 types | |
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 GridFamily::Traits::GlobalIdSet | GlobalIdSet |
A type that is a model of Dune::IdSet which provides a unique and persistent numbering for all entities in the grid. The numbering is unique over all processes over which the grid is partitioned. The numbering is not necessarily consecutive. | |
typedef GridFamily::Traits::LocalIdSet | LocalIdSet |
A type that is a model of Dune::IdSet which provides a unique and persistent numbering for all entities in the grid. The numbering is only unique in a single process and it is not necessarily consecutive. | |
typedef 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::LeafIntersection, 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 ct | ctype |
Define type used for coordinates in grid module. | |
Exported constants | |
enum | { dimension = dim } |
A constant that exports the template parameter dim. More... | |
enum | { dimensionworld = dimworld } |
A constant that exports the template parameter dimworld. More... | |
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 |
template<PartitionIteratorType pitype> | |
Partition< pitype >::LeafGridView | leafView () const |
LevelGridView | levelView (int level) const |
LeafGridView | leafView () const |
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 | |
size_t | numBoundarySegments () const |
returns the number of boundary segments within the macro grid | |
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) |
bool | loadBalance () |
default implementation of load balance does nothing and returns false | |
bool | loadBalance (DataHandle &data) |
default implementation of load balance does nothing and returns false | |
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 | ghostSize (int level, int codim) const |
ghostSize is zero by default | |
int | ghostSize (int codim) const |
ghostSize is zero by default | |
int | overlapSize (int level, int codim) const |
overlapSize is zero for this grid | |
int | overlapSize (int codim) const |
overlapSize is zero for this grid | |
int | overlapSize (int level, int codim) const |
overlapSize is zero by default | |
int | overlapSize (int codim) const |
overlapSize is zero by default | |
void | communicate (CommDataHandleIF< DataHandleImp, DataTypeImp > &data, InterfaceType iftype, CommunicationDirection dir, int level) const |
void | communicate (CommDataHandleIF< DataHandleImp, DataTypeImp > &data, InterfaceType iftype, CommunicationDirection dir) const |
Communicate information on distributed entities on the leaf grid. Template parameter is a model of Dune::CommDataHandleIF. | |
void | communicate (CommDataHandleIF< DataHandleImp, DataTypeImp > &data, InterfaceType iftype, CommunicationDirection dir, int level) const |
void | communicate (CommDataHandleIF< DataHandleImp, DataTypeImp > &data, InterfaceType iftype, CommunicationDirection dir) const |
const CollectiveCommunication & | comm () const |
bool | preAdapt () |
returns if a least one entity was marked for coarsening | |
bool | preAdapt () |
returns true, if at least one entity is marked for adaption | |
void | postAdapt () |
clear all entity new markers | |
void | postAdapt () |
clean up some markers | |
bool | adapt () |
bool | adapt (AdaptDataHandleInterface< GridImp, DataHandle > &handle) |
bool | adapt () |
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 | |
const HierarchicIndexSet & | hierarchicIndexSet () const |
void | setMaxLevel (int mxl) |
void | updateStatus () |
bool | mark (int refCount, const typename Traits::template Codim< 0 >::Entity &e) |
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 |
int | getMark (const typename Traits::template Codim< 0 >::Entity &e) const |
returns adaptation mark for given entity, i.e. here the default implementation returns 0. | |
const BaseType::template ReturnImplementationType < IntersectionInterfaceType > ::ImplementationType & | getRealIntersectionIterator (const IntersectionInterfaceType &it) const |
const BaseType::template ReturnImplementationType < IntersectionType > ::ImplementationType & | getRealIntersection (const IntersectionType &intersection) const |
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) |
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 |
Traits::template Codim < EntitySeed::codimension > ::EntityPointer | entityPointer (const EntitySeed &seed) const |
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 |
Traits::template Partition < pitype >::LevelGridView | levelView (int level) const |
View for a grid level. | |
Traits::template Partition < pitype >::LeafGridView | leafView () const |
View for the leaf grid. | |
Size methods | |
int | maxLevel () const |
Return maximum level defined in this grid. Levels are numbered 0 ... maxLevel with 0 the coarsest level. | |
int | size (int level, int codim) const |
Return number of grid entities of a given codim on a given level in this process. | |
int | size (int codim) const |
Return number of leaf entities of a given codim in this process. | |
int | size (int level, GeometryType type) const |
Return number of entities per level and geometry type in this process. | |
int | size (GeometryType type) const |
Return number of leaf entities per geometry type in this process. | |
Iterators | |
template<int cd, PartitionIteratorType pitype> | |
Codim< cd >::template Partition< pitype > ::LevelIterator | lbegin (int level) const |
Iterator to first entity of given codim on level. | |
template<int cd, PartitionIteratorType pitype> | |
Codim< cd >::template Partition< pitype > ::LevelIterator | lend (int level) const |
one past the end on this level | |
template<int cd, PartitionIteratorType pitype> | |
Codim< cd >::template Partition< pitype > ::LeafIterator | leafbegin () const |
Iterator to first entity of given codim on leaf grid. | |
template<int cd, PartitionIteratorType pitype> | |
Codim< cd >::template Partition< pitype > ::LeafIterator | leafend () const |
one past the end on the leaf level grid | |
Access to index and id sets | |
const GlobalIdSet & | globalIdSet () const |
return const reference to the grids global id set | |
const LocalIdSet & | localIdSet () const |
return const reference to the grids local id set | |
const LeafIndexSet & | leafIndexSet () const |
return const reference to the grids leaf index set | |
const LevelIndexSet & | levelIndexSet (int level) const |
return const reference to the grids level index set for level level | |
Parallel data distribution and communication | |
const CollectiveCommunication & | comm () const |
return const reference to a collective communication object. The return type is a model of Dune::CollectiveCommunication. | |
Adaptivity and grid refinement | |
void | globalRefine (int refCount) |
Refine the grid refCount times using the default refinement rule. | |
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 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 |
Type of the global id set. | |
typedef ALU3dImplTraits < elType, Comm > ::GitterImplType | GitterImplType |
typedef ALU3dGridVertexList< Comm > | VertexListType |
typedef ALU3dGridLeafVertexList< Comm > | LeafVertexListType |
typedef SingleTypeSizeCache < 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_ |
Friends | |
class | Conversion< ALUCubeGrid< dimension, dimensionworld >, HasObjectStream > |
class | Conversion< const ALUCubeGrid< dimension, dimensionworld >, HasObjectStream > |
class | Conversion< ALUCubeGrid< dimension, dimensionworld >, HasHierarchicIndexSet > |
class | Conversion< const ALUCubeGrid< dimension, dimensionworld >, HasHierarchicIndexSet > |
class | ALU3dGridFactory |
class | IntersectionIteratorWrapper< const ThisType, LeafIntersectionIteratorImp > |
class | IntersectionIteratorWrapper< const ThisType, LevelIntersectionIteratorImp > |
class | LeafIntersectionIteratorWrapper< const ThisType > |
class | LevelIntersectionIteratorWrapper< const ThisType > |
class | ALULocalGeometryStorage< const ThisType, GeometryObject, 8 > |
class | ALUGridBoundaryProjection< ThisType, alu3d_ctype > |
[ provides Dune::Grid ]
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. |
typedef ALUGridBoundaryProjection< ThisType, alu3d_ctype > Dune::ALU3dGrid< elType, Comm >::ALUGridBoundaryProjectionType [protected, inherited] |
typedef ALU3DSPACE ProjectVertex Dune::ALU3dGrid< elType, Comm >::ALUGridVertexProjectionType [inherited] |
type of ALUGrid Vertex Projection Interface
typedef Traits::CollectiveCommunication Dune::ALU3dGrid< elType, Comm >::CollectiveCommunication [inherited] |
type of collective communication object
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::AlbertaGrid< dim, dimworld >.
typedef ALU3dGridCommunications< elType, Comm > Dune::ALU3dGrid< elType, Comm >::Communications [inherited] |
typedef ct Dune::Grid< dim, dimworld, ct, GridFamily >::ctype [inherited] |
Define type used for coordinates in grid module.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
typedef BaseType::ctype Dune::ALUCubeGrid< 3, 3 >::ctype |
typedef BaseType :: DuneBoundaryProjectionType Dune::ALUCubeGrid< 3, 3 >::DuneBoundaryProjectionType |
type of boundary projection
Reimplemented from Dune::ALU3dGrid< hexa >.
typedef BaseType :: DuneBoundaryProjectionVector Dune::ALUCubeGrid< 3, 3 >::DuneBoundaryProjectionVector |
type of boundary projection
Reimplemented from Dune::ALU3dGrid< hexa >.
typedef MakeableInterfaceObject<typename Traits::template Codim<2>::Entity> Dune::ALU3dGrid< elType, Comm >::EdgeObject [inherited] |
typedef MakeableInterfaceObject<typename Traits::template Codim<0>::Entity> Dune::ALU3dGrid< elType, Comm >::EntityObject [inherited] |
typedef MakeableInterfaceObject<typename Traits::template Codim<1>::Entity> Dune::ALU3dGrid< elType, Comm >::FaceObject [inherited] |
typedef MakeableInterfaceObject< typename Traits::template Codim< 0 >::Geometry > Dune::ALU3dGrid< elType, Comm >::GeometryObject [protected, inherited] |
typedef ALU3dImplTraits< elType, Comm >::GitterImplType Dune::ALU3dGrid< elType, Comm >::GitterImplType [protected, inherited] |
typedef GridFamily::Traits::GlobalIdSet Dune::Grid< dim, dimworld, ct, GridFamily >::GlobalIdSet [inherited] |
A type that is a model of Dune::IdSet which provides a unique and persistent numbering for all entities in the grid. The numbering is unique over all processes over which the grid is partitioned. The numbering is not necessarily consecutive.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >.
typedef Traits :: GlobalIdSet Dune::ALUCubeGrid< 3, 3 >::GlobalIdSet |
Type of the global id set.
Reimplemented from Dune::ALU3dGrid< hexa >.
typedef GridFamily::GlobalIdSetImp Dune::ALU3dGrid< elType, Comm >::GlobalIdSetImp [protected, inherited] |
Type of the global id set.
typedef BaseType::GridFamily Dune::ALUCubeGrid< 3, 3 >::GridFamily |
Reimplemented from Dune::ALU3dGrid< hexa >.
typedef ALUGridObjectFactory< ThisType > Dune::ALU3dGrid< elType, Comm >::GridObjectFactoryType [inherited] |
typedef ALU3dGridHierarchicIndexSet< elType, Comm > Dune::ALU3dGrid< elType, Comm >::HierarchicIndexSet [inherited] |
Type of the hierarchic index set.
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.
typedef BaseType::HierarchicIteratorImp Dune::ALUCubeGrid< 3, 3 >::HierarchicIteratorImp |
Reimplemented from Dune::ALU3dGrid< hexa >.
typedef ALU3dGridIntersectionIterator<const ThisType> Dune::ALU3dGrid< elType, Comm >::IntersectionIteratorImp [inherited] |
typedef Partition< All_Partition >:: LeafGridView Dune::ALUCubeGrid< 3, 3 >::LeafGridView |
typedef Partition< All_Partition >:: LeafGridView Dune::Grid< dim, dimworld, ct, GridFamily >::LeafGridView [inherited] |
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 >.
typedef GridFamily :: LeafIndexSetImp Dune::ALUCubeGrid< 3, 3 >::LeafIndexSetImp |
Type of the leaf index set, needed by data handle.
Reimplemented from Dune::ALU3dGrid< hexa >.
typedef GridFamily::Traits::LeafIntersection Dune::Grid< dim, dimworld, ct, GridFamily >::LeafIntersection [inherited] |
A type that is a model of Dune::LeafIntersection, an intersections of two codimension 1 of two codimension 0 entities in the leaf view.
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.
typedef ALU3dGridIntersectionIterator<const ThisType> Dune::ALU3dGrid< elType, Comm >::LeafIntersectionIteratorImp [inherited] |
typedef Traits::Codim<0>::LeafIterator Dune::ALUCubeGrid< 3, 3 >::LeafIterator |
Reimplemented from Dune::ALU3dGrid< hexa >.
typedef BaseType::LeafIteratorImp Dune::ALUCubeGrid< 3, 3 >::LeafIteratorImp |
a standard leaf iterator
Reimplemented from Dune::ALU3dGrid< hexa >.
typedef Traits::Codim<0>::LeafIterator Dune::ALUCubeGrid< 3, 3 >::LeafIteratorType |
Reimplemented from Dune::ALU3dGrid< hexa >.
typedef ALU3dGridLeafVertexList< Comm > Dune::ALU3dGrid< elType, Comm >::LeafVertexListType [protected, inherited] |
typedef Partition< All_Partition >:: LevelGridView Dune::ALUCubeGrid< 3, 3 >::LevelGridView |
typedef Partition< All_Partition >:: LevelGridView Dune::Grid< dim, dimworld, ct, GridFamily >::LevelGridView [inherited] |
View types for All_Partition.
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 >.
typedef GridFamily :: LevelIndexSetImp Dune::ALUCubeGrid< 3, 3 >::LevelIndexSetImp |
Type of the level index set, needed by data handle.
Reimplemented from Dune::ALU3dGrid< hexa >.
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.
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.
typedef ALU3dGridLevelIntersectionIterator<const ThisType> Dune::ALU3dGrid< elType, Comm >::LevelIntersectionIteratorImp [inherited] |
typedef GridFamily::Traits::LocalIdSet Dune::Grid< dim, dimworld, ct, GridFamily >::LocalIdSet [inherited] |
A type that is a model of Dune::IdSet which provides a unique and persistent numbering for all entities in the grid. The numbering is only unique in a single process and it is not necessarily consecutive.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >.
typedef Traits :: LocalIdSet Dune::ALUCubeGrid< 3, 3 >::LocalIdSet |
Type of the local id set.
Reimplemented from Dune::ALU3dGrid< hexa >.
typedef BaseType::LocalIdSetImp Dune::ALUCubeGrid< 3, 3 >::LocalIdSetImp |
Type of the local id set.
Reimplemented from Dune::ALU3dGrid< hexa >.
typedef BaseType::ObjectStreamType Dune::ALUCubeGrid< 3, 3 >::ObjectStreamType |
Reimplemented from Dune::ALU3dGrid< hexa >.
typedef GenericReferenceElement< alu3d_ctype, dimension > Dune::ALU3dGrid< elType, Comm >::ReferenceElementType [inherited] |
reference element type
typedef SingleTypeSizeCache<MyType> Dune::ALU3dGrid< elType, Comm >::SizeCacheType [protected, inherited] |
typedef ALU3dGridFamily< elType, Comm > ::Traits Dune::GridDefaultImplementation< dim, dimworld, alu3d_ctype , ALU3dGridFamily< elType, Comm > >::Traits [inherited] |
The traits of this class.
Presents the typedefs as described in GridTraits.
typedef GridFamily::Traits Dune::ALUCubeGrid< 3, 3 >::Traits |
Reimplemented from Dune::ALU3dGrid< hexa >.
typedef ALU3dGridVertexList< Comm > Dune::ALU3dGrid< elType, Comm >::VertexListType [protected, inherited] |
typedef MakeableInterfaceObject<typename Traits::template Codim<3>::Entity> Dune::ALU3dGrid< elType, Comm >::VertexObject [inherited] |
anonymous enum [inherited] |
anonymous enum [inherited] |
anonymous enum [inherited] |
anonymous enum [protected, inherited] |
max number of levels
anonymous enum [protected, inherited] |
element chunk for refinement
anonymous enum [protected, inherited] |
upper estimate on number of elements that could be created when a new element is created
anonymous enum [protected, inherited] |
Dune::ALUCubeGrid< 3, 3 >::ALUCubeGrid | ( | const std::string | macroName, | |
const MPICommunicatorType | mpiComm = BaseType::defaultCommunicator() , |
|||
const DuneBoundaryProjectionType * | bndProject = 0 , |
|||
const DuneBoundaryProjectionVector * | bndVector = 0 , |
|||
const bool | verb = true | |||
) | [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().
Dune::ALUCubeGrid< 3, 3 >::ALUCubeGrid | ( | const MPICommunicatorType | mpiComm, | |
const DuneBoundaryProjectionType * | bndProject, | |||
const DuneBoundaryProjectionVector * | bndVector, | |||
const std::string | macroName, | |||
const bool | verb = true | |||
) | [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().
Dune::ALUCubeGrid< 3, 3 >::ALUCubeGrid | ( | const MPICommunicatorType | mpiComm = BaseType::defaultCommunicator() |
) | [inline] |
constructor creating empty grid
bool Dune::ALU3dGrid< elType, Comm >::adapt | ( | ) | [inherited] |
Refine all positive marked leaf entities, coarsen all negative marked entities if possible.
The complete adaptation process works as follows:
bool Dune::ALU3dGrid< elType, Comm >::adapt | ( | AdaptDataHandleInterface< GridImp, DataHandle > & | handle | ) | [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. |
bool Dune::GridDefaultImplementation< dim, dimworld, alu3d_ctype , ALU3dGridFamily< elType, Comm > >::adapt | ( | ) | [inline, inherited] |
Refine all positive marked leaf entities coarsen all negative marked entities if possible.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
GridImp& Dune::Grid< dim, dimworld, ct, GridFamily >::asImp | ( | ) | [inline, protected, inherited] |
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::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::leafView(), Dune::Grid< 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::GridDefaultImplementation< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::levelView(), Dune::Grid< 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().
const GridImp& Dune::Grid< dim, dimworld, ct, GridFamily >::asImp | ( | ) | const [inline, protected, inherited] |
Barton-Nackman trick.
const DuneBoundaryProjectionType* Dune::ALU3dGrid< elType, Comm >::boundaryProjection | ( | const int | segmentIndex | ) | const [inline, protected, inherited] |
return boudanry projection for given segment Id
References Dune::ALU3dGrid< elType, Comm >::bndPrj_, and Dune::ALU3dGrid< elType, Comm >::bndVec_.
void Dune::ALU3dGrid< elType, Comm >::calcExtras | ( | ) | [protected, inherited] |
reset size and global size, update Level- and LeafIndexSet, if they exist
void Dune::ALU3dGrid< elType, Comm >::calcMaxLevel | ( | ) | [protected, inherited] |
calculate maxlevel
void Dune::ALU3dGrid< elType, Comm >::checkMacroGrid | ( | ) | [protected, inherited] |
check whether macro grid has the right element type
void Dune::ALU3dGrid< elType, Comm >::checkMacroGridFile | ( | const std::string | filename | ) | [protected, inherited] |
check whether macro grid format is of our type
const CollectiveCommunication& Dune::ALU3dGrid< elType, Comm >::comm | ( | ) | const [inline, inherited] |
return const reference to a collective communication object. The return type is a model of Dune::CollectiveCommunication.
References Dune::ALU3dGrid< elType, Comm >::communications().
const CollectiveCommunication& Dune::Grid< dim, dimworld, ct, GridFamily >::comm | ( | ) | const [inline, inherited] |
return const reference to a collective communication object. The return type is a model of Dune::CollectiveCommunication.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
Referenced by Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::comm().
void Dune::GridDefaultImplementation< dim, dimworld, alu3d_ctype , ALU3dGridFamily< elType, Comm > >::communicate | ( | CommDataHandleIF< DataHandleImp, DataTypeImp > & | data, | |
InterfaceType | iftype, | |||
CommunicationDirection | dir, | |||
int | level | |||
) | const [inline, inherited] |
dummy communicate, doing nothing
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
void Dune::ALU3dGrid< elType, Comm >::communicate | ( | CommDataHandleIF< DataHandleImp, DataTypeImp > & | data, | |
InterfaceType | iftype, | |||
CommunicationDirection | dir | |||
) | const [inherited] |
Communicate information on distributed entities on the leaf grid. Template parameter is a model of Dune::CommDataHandleIF.
void Dune::GridDefaultImplementation< dim, dimworld, alu3d_ctype , ALU3dGridFamily< elType, Comm > >::communicate | ( | CommDataHandleIF< DataHandleImp, DataTypeImp > & | data, | |
InterfaceType | iftype, | |||
CommunicationDirection | dir | |||
) | const [inline, inherited] |
dummy communicate, doing nothing
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
void Dune::ALU3dGrid< elType, Comm >::communicate | ( | CommDataHandleIF< DataHandleImp, DataTypeImp > & | data, | |
InterfaceType | iftype, | |||
CommunicationDirection | dir, | |||
int | level | |||
) | const [inherited] |
Communicate information on distributed entities on a given level Template parameter is a model of Dune::CommDataHandleIF.
const Communications& Dune::ALU3dGrid< elType, Comm >::communications | ( | ) | const [inline, protected, inherited] |
References Dune::ALU3dGrid< elType, Comm >::communications_.
virtual GitterImplType* Dune::ALU3dGrid< elType, Comm >::createALUGrid | ( | const std::string & | macroName | ) | [inline, virtual, inherited] |
static MPICommunicatorType Dune::ALU3dGrid< elType, Comm >::defaultCommunicator | ( | ) | [inline, static, inherited] |
virtual void Dune::ALU3dGrid< elType, Comm >::duneNotifyMacroGridChanges | ( | ) | [inline, virtual, inherited] |
Traits :: template Codim< EntitySeed :: codimension >:: EntityPointer Dune::ALU3dGrid< elType, Comm >::entityPointer | ( | const EntitySeed & | seed | ) | const [inline, inherited] |
References Dune::ALU3dGrid< elType, Comm >::factory().
Traits :: template Codim< EntitySeed :: codimension >:: EntityPointer Dune::GridDefaultImplementation< dim, dimworld, alu3d_ctype , ALU3dGridFamily< elType, Comm > >::entityPointer | ( | const EntitySeed & | seed | ) | const [inline, inherited] |
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
const GridObjectFactoryType& Dune::ALU3dGrid< elType, Comm >::factory | ( | ) | const [inline, protected, inherited] |
const std::vector<GeometryType>& Dune::ALU3dGrid< elType, Comm >::geomTypes | ( | int | codim | ) | const [inline, inherited] |
deliver all geometry types used in this grid
References Dune::ALU3dGrid< elType, Comm >::geomTypes_.
virtual ALU3DSPACE Gitter::Geometric::BuilderIF& Dune::ALU3dGrid< elType, Comm >::getBuilder | ( | ) | const [inline, virtual, inherited] |
ALU3dGridItemListType& Dune::ALU3dGrid< elType, Comm >::getEdgeList | ( | int | level | ) | const [inline, inherited] |
ALU3dGridItemListType& Dune::ALU3dGrid< elType, Comm >::getGhostLeafList | ( | int | codim | ) | const [inline, inherited] |
References Dune::ALU3dGrid< elType, Comm >::ghostLeafList_.
ALU3dGridItemListType& Dune::ALU3dGrid< elType, Comm >::getGhostLevelList | ( | int | codim, | |
int | level | |||
) | const [inline, inherited] |
LeafVertexListType& Dune::ALU3dGrid< elType, Comm >::getLeafVertexList | ( | ) | const [inline, inherited] |
int Dune::ALU3dGrid< elType, Comm >::getLevelOfLeafVertex | ( | const typename ALU3dImplTraits< elType, Comm >::VertexType & | vertex | ) | const [inline, inherited] |
int Dune::GridDefaultImplementation< dim, dimworld, alu3d_ctype , ALU3dGridFamily< elType, Comm > >::getMark | ( | const typename Traits::template Codim< 0 >::Entity & | e | ) | const [inline, inherited] |
returns adaptation mark for given entity, i.e. here the default implementation returns 0.
[in] | e | Entity for which adaptation mark should be determined |
int Dune::Grid< dim, dimworld, ct, GridFamily >::getMark | ( | const typename Codim< 0 >::Entity & | e | ) | const [inline, inherited] |
int Dune::ALU3dGrid< elType, Comm >::getMark | ( | const typename Traits::template Codim< 0 >::Entity & | e | ) | const [inherited] |
static ReturnImplementationType<InterfaceType>::ImplementationType& Dune::GridDefaultImplementation< dim, dimworld, alu3d_ctype , ALU3dGridFamily< elType, Comm > >::getRealImplementation | ( | InterfaceType & | i | ) | [inline, static, protected, inherited] |
return real implementation of interface class
Referenced by Dune::ALU3dGrid< hexa >::getRealIntersection(), Dune::ALU3dGrid< hexa >::getRealIntersectionIterator(), Dune::ALU3dGridHierarchicIndexSet< elType, Comm >::index(), and Dune::ALU3dGridHierarchicIndexSet< elType, Comm >::subIndex().
const BaseType :: template ReturnImplementationType< IntersectionType >:: ImplementationType& Dune::ALU3dGrid< elType, Comm >::getRealIntersection | ( | const IntersectionType & | intersection | ) | const [inline, inherited] |
const BaseType :: template ReturnImplementationType< IntersectionInterfaceType >:: ImplementationType& Dune::ALU3dGrid< elType, Comm >::getRealIntersectionIterator | ( | const IntersectionInterfaceType & | it | ) | const [inline, inherited] |
VertexListType& Dune::ALU3dGrid< elType, Comm >::getVertexList | ( | int | level | ) | const [inline, inherited] |
int Dune::ALU3dGrid< elType, Comm >::ghostSize | ( | int | codim | ) | const [inherited] |
ghostSize is one for codim 0 and zero otherwise for this grid
int Dune::GridDefaultImplementation< dim, dimworld, alu3d_ctype , ALU3dGridFamily< elType, Comm > >::ghostSize | ( | int | level, | |
int | codim | |||
) | const [inline, inherited] |
ghostSize is zero by default
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
int Dune::GridDefaultImplementation< dim, dimworld, alu3d_ctype , ALU3dGridFamily< elType, Comm > >::ghostSize | ( | int | codim | ) | const [inline, inherited] |
ghostSize is zero by default
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
int Dune::ALU3dGrid< elType, Comm >::ghostSize | ( | int | level, | |
int | codim | |||
) | const [inherited] |
ghostSize is one for codim 0 and zero otherwise for this grid
int Dune::ALU3dGrid< elType, Comm >::global_size | ( | int | cd | ) | const [inherited] |
number of grid entities on all levels for given codim
const GlobalIdSet& Dune::Grid< dim, dimworld, ct, GridFamily >::globalIdSet | ( | ) | const [inline, inherited] |
return const reference to the grids global id set
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
Referenced by Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::globalIdSet().
const GlobalIdSet& Dune::ALU3dGrid< elType, Comm >::globalIdSet | ( | ) | const [inline, inherited] |
get global id set of grid
References Dune::ALU3dGrid< elType, Comm >::globalIdSet_.
void Dune::ALU3dGrid< elType, Comm >::globalRefine | ( | int | refCount | ) | [inherited] |
uses the interface, mark on entity and refineLocal
void Dune::ALU3dGrid< elType, Comm >::globalRefine | ( | int | refCount, | |
AdaptDataHandleInterface< GridImp, DataHandle > & | handle | |||
) | [inherited] |
void Dune::Grid< dim, dimworld, ct, GridFamily >::globalRefine | ( | int | refCount | ) | [inline, inherited] |
Refine the grid refCount times using the default refinement rule.
This behaves like marking all elements for refinement and then calling preAdapt, adapt and postAdapt. The state after globalRefine is comparable to the state after postAdapt.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
Referenced by Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::globalRefine().
const HierarchicIndexSet& Dune::ALU3dGrid< elType, Comm >::hierarchicIndexSet | ( | ) | const [inline, inherited] |
References Dune::ALU3dGrid< elType, Comm >::hIndexSet_.
int Dune::ALU3dGrid< elType, Comm >::hierSetSize | ( | int | cd | ) | const [inherited] |
Traits::template Codim<cd>:: template Partition<All_Partition>::LevelIterator Dune::ALU3dGrid< elType, Comm >::lbegin | ( | int | level | ) | const [inherited] |
Iterator to first entity of given codim on level.
Traits::template Codim<cd>::template Partition<pitype>::LevelIterator Dune::ALU3dGrid< elType, Comm >::lbegin | ( | int | level | ) | const [inherited] |
Iterator to first entity of given codim on level.
Codim<cd>::template Partition<pitype>::LevelIterator Dune::Grid< dim, dimworld, ct, GridFamily >::lbegin | ( | int | level | ) | const [inline, inherited] |
Iterator to first entity of given codim on level.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, Dune::SGrid< dim, dimworld >, Dune::UGGrid< dimworld >, and Dune::UGGrid< dimworld >.
Codim<cd>::template Partition<pitype>::LeafIterator Dune::Grid< dim, dimworld, ct, GridFamily >::leafbegin | ( | ) | const [inline, inherited] |
Iterator to first entity of given codim on leaf grid.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, Dune::SGrid< dim, dimworld >, Dune::UGGrid< dimworld >, and Dune::UGGrid< dimworld >.
Traits::template Codim<codim>::template Partition<pitype>::LeafIterator Dune::ALU3dGrid< elType, Comm >::leafbegin | ( | ) | const [inherited] |
General definiton for a leaf iterator.
Traits::template Codim<codim>::LeafIterator Dune::ALU3dGrid< elType, Comm >::leafbegin | ( | ) | const [inherited] |
General definiton for a leaf iterator.
Traits::template Codim<codim>::template Partition<pitype>::LeafIterator Dune::ALU3dGrid< elType, Comm >::leafend | ( | ) | const [inherited] |
General definition for an end iterator on leaf level.
Traits::template Codim<codim>::LeafIterator Dune::ALU3dGrid< elType, Comm >::leafend | ( | ) | const [inherited] |
General definition for an end iterator on leaf level.
Codim<cd>::template Partition<pitype>::LeafIterator Dune::Grid< dim, dimworld, ct, GridFamily >::leafend | ( | ) | const [inline, inherited] |
one past the end on the leaf level grid
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, Dune::SGrid< dim, dimworld >, Dune::UGGrid< dimworld >, and Dune::UGGrid< dimworld >.
const LeafIndexSet& Dune::Grid< dim, dimworld, ct, GridFamily >::leafIndexSet | ( | ) | const [inline, inherited] |
return const reference to the grids leaf index set
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
Referenced by Dune::GeoGrid::LeafIteratorTraits< codim, pitype, Grid >::getHostIndexSet(), and Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::leafIndexSet().
const Traits :: LeafIndexSet& Dune::ALU3dGrid< elType, Comm >::leafIndexSet | ( | ) | const [inherited] |
get leaf index set of the grid
Partition< pitype >::LeafGridView Dune::ALUCubeGrid< 3, 3 >::leafView | ( | ) | const [inline] |
LeafGridView Dune::ALUCubeGrid< 3, 3 >::leafView | ( | ) | const [inline] |
Traits::template Partition<pitype>::LeafGridView Dune::GridDefaultImplementation< dim, dimworld, alu3d_ctype , ALU3dGridFamily< elType, Comm > >::leafView | ( | ) | const [inline, inherited] |
View for the leaf grid.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
Traits::template Codim<cd>::template Partition<pitype>::LevelIterator Dune::ALU3dGrid< elType, Comm >::lend | ( | int | level | ) | const [inherited] |
one past the end on this level
Codim<cd>::template Partition<pitype>::LevelIterator Dune::Grid< dim, dimworld, ct, GridFamily >::lend | ( | int | level | ) | const [inline, inherited] |
one past the end on this level
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, Dune::SGrid< dim, dimworld >, Dune::UGGrid< dimworld >, and Dune::UGGrid< dimworld >.
Traits::template Codim<cd>:: template Partition<All_Partition>::LevelIterator Dune::ALU3dGrid< elType, Comm >::lend | ( | int | level | ) | const [inherited] |
one past the end on this level
const Traits :: LevelIndexSet& Dune::ALU3dGrid< elType, Comm >::levelIndexSet | ( | int | level | ) | const [inherited] |
get level index set of the grid
const LevelIndexSet& Dune::Grid< dim, dimworld, ct, GridFamily >::levelIndexSet | ( | int | level | ) | const [inline, inherited] |
return const reference to the grids level index set for level level
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
Referenced by Dune::GeoGrid::LevelIteratorTraits< codim, pitype, Grid >::getHostIndexSet(), and Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::levelIndexSet().
Partition< pitype >::LevelGridView Dune::ALUCubeGrid< 3, 3 >::levelView | ( | int | level | ) | const [inline] |
Traits::template Partition<pitype>::LevelGridView Dune::GridDefaultImplementation< dim, dimworld, alu3d_ctype , ALU3dGridFamily< elType, Comm > >::levelView | ( | int | level | ) | const [inline, inherited] |
View for a grid level.
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
LevelGridView Dune::ALUCubeGrid< 3, 3 >::levelView | ( | int | level | ) | const [inline] |
bool Dune::ALU3dGrid< elType, Comm >::loadBalance | ( | ) | [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.
bool Dune::ALU3dGrid< elType, Comm >::loadBalance | ( | DataHandle & | data | ) | [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> void xtractData ( MessageBufferImp& buff, Dune::Entity<0> & e, size_t numChildren ); // 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 (); |
bool Dune::ALU3dGrid< elType, Comm >::loadBalance | ( | CommDataHandleIF< DataHandleImpl, Data > & | dataHandle | ) | [inline, inherited] |
References Dune::ALU3dGrid< elType, Comm >::loadBalance().
bool Dune::GridDefaultImplementation< dim, dimworld, alu3d_ctype , ALU3dGridFamily< elType, Comm > >::loadBalance | ( | ) | [inline, inherited] |
default implementation of load balance does nothing and returns false
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
bool Dune::GridDefaultImplementation< dim, dimworld, alu3d_ctype , ALU3dGridFamily< elType, Comm > >::loadBalance | ( | DataHandle & | data | ) | [inline, inherited] |
default implementation of load balance does nothing and returns false
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
const LocalIdSet& Dune::ALU3dGrid< elType, Comm >::localIdSet | ( | ) | const [inline, inherited] |
get global id set of grid
References Dune::ALU3dGrid< elType, Comm >::localIdSet_.
const LocalIdSet& Dune::Grid< dim, dimworld, ct, GridFamily >::localIdSet | ( | ) | const [inline, inherited] |
return const reference to the grids local id set
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
Referenced by Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::localIdSet().
bool Dune::ALU3dGrid< elType, Comm >::mark | ( | int | refCount, | |
const typename Traits::template Codim< 0 >::Entity & | e | |||
) | [inherited] |
bool Dune::GridDefaultImplementation< dim, dimworld, alu3d_ctype , ALU3dGridFamily< elType, Comm > >::mark | ( | int | refCount, | |
const typename Traits::template Codim< 0 >::Entity & | e | |||
) | [inline, 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 to Entity that should be refined |
bool mark( int refCount, typename Traits::template Codim<0>::Entity & e ).
bool Dune::Grid< dim, dimworld, ct, GridFamily >::mark | ( | int | refCount, | |
const typename Codim< 0 >::Entity & | e | |||
) | [inline, inherited] |
int Dune::Grid< dim, dimworld, ct, GridFamily >::maxLevel | ( | ) | const [inline, inherited] |
Return maximum level defined in this grid. Levels are numbered 0 ... maxLevel with 0 the coarsest level.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
Referenced by Dune::PersistentContainerMap< HostGrid, HostGrid::Traits::LocalIdSet, std::map< const HostGrid::Traits::LocalIdSet::IdType, Coordinate, std::less< const HostGrid::Traits::LocalIdSet::IdType >, Allocator > >::adaptCodim(), Dune::ALUGridLoadBalanceDataHandle< Grid, DataHandleImpl, Data >::inlineData(), Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::maxLevel(), and Dune::ALUGridLoadBalanceDataHandle< Grid, DataHandleImpl, Data >::xtractData().
int Dune::ALU3dGrid< elType, Comm >::maxLevel | ( | ) | const [inherited] |
Return maximum level defined in this grid. Levels are numbered maxLevel with 0 the coarsest level.
GitterImplType& Dune::ALU3dGrid< elType, Comm >::myGrid | ( | ) | const [inherited] |
static std::string Dune::ALU3dGrid< elType, Comm >::name | ( | ) | [inline, static, inherited] |
for grid identification
int Dune::ALU3dGrid< elType, Comm >::nlinks | ( | ) | const [inline, inherited] |
size_t Dune::ALU3dGrid< elType, Comm >::numBoundarySegments | ( | ) | const [inherited] |
number of boundary segments
size_t Dune::Grid< dim, dimworld, ct, GridFamily >::numBoundarySegments | ( | ) | const [inline, inherited] |
returns the number of boundary segments within the macro grid
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
Referenced by Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::numBoundarySegments().
int Dune::ALU3dGrid< elType, Comm >::overlapSize | ( | int | codim | ) | const [inline, inherited] |
overlapSize is zero for this grid
int Dune::ALU3dGrid< elType, Comm >::overlapSize | ( | int | level, | |
int | codim | |||
) | const [inline, inherited] |
overlapSize is zero for this grid
int Dune::GridDefaultImplementation< dim, dimworld, alu3d_ctype , ALU3dGridFamily< elType, Comm > >::overlapSize | ( | int | codim | ) | const [inline, inherited] |
overlapSize is zero by default
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
int Dune::GridDefaultImplementation< dim, dimworld, alu3d_ctype , ALU3dGridFamily< elType, Comm > >::overlapSize | ( | int | level, | |
int | codim | |||
) | const [inline, inherited] |
overlapSize is zero by default
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
void Dune::ALU3dGrid< elType, Comm >::postAdapt | ( | ) | [inherited] |
clear all entity new markers
void Dune::GridDefaultImplementation< dim, dimworld, alu3d_ctype , ALU3dGridFamily< elType, Comm > >::postAdapt | ( | ) | [inline, inherited] |
clean up some markers
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
bool Dune::ALU3dGrid< elType, Comm >::preAdapt | ( | ) | [inherited] |
returns if a least one entity was marked for coarsening
bool Dune::GridDefaultImplementation< dim, dimworld, alu3d_ctype , ALU3dGridFamily< elType, Comm > >::preAdapt | ( | ) | [inline, inherited] |
returns true, if at least one entity is marked for adaption
Reimplemented from Dune::Grid< dim, dimworld, ct, GridFamily >.
bool Dune::ALU3dGrid< elType, Comm >::readGrid | ( | const std::string | filename, | |
alu3d_ctype & | time | |||
) | [inherited] |
read Grid from file filename and store time of mesh in time
void Dune::ALU3dGrid< elType, Comm >::recalcGlobalSize | ( | ) | [protected, inherited] |
make grid walkthrough and calc global size
const ReferenceElementType& Dune::ALU3dGrid< elType, Comm >::referenceElement | ( | ) | const [inline, inherited] |
return reference to Dune reference element according to elType
References Dune::ALU3dGrid< elType, Comm >::referenceElement_.
void Dune::ALU3dGrid< elType, Comm >::setMaxLevel | ( | int | mxl | ) | [inherited] |
int Dune::ALU3dGrid< elType, Comm >::size | ( | GeometryType | type | ) | const [inherited] |
number of leaf entities per geometry type in this process
int Dune::Grid< dim, dimworld, ct, GridFamily >::size | ( | int | level, | |
int | codim | |||
) | const [inline, inherited] |
Return number of grid entities of a given codim on a given level in this process.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
Referenced by Dune::ALU2dGridFactory< ALUGrid, dimw >::createGrid(), and Dune::Grid< dim, dimworld, _ctype, SGridFamily< dim, dimworld, _ctype > >::size().
int Dune::Grid< dim, dimworld, ct, GridFamily >::size | ( | int | level, | |
GeometryType | type | |||
) | const [inline, inherited] |
Return number of entities per level and geometry type in this process.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
int Dune::Grid< dim, dimworld, ct, GridFamily >::size | ( | GeometryType | type | ) | const [inline, inherited] |
Return number of leaf entities per geometry type in this process.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
int Dune::ALU3dGrid< elType, Comm >::size | ( | int | level, | |
int | cd | |||
) | const [inherited] |
number of grid entities per level and codim
int Dune::ALU3dGrid< elType, Comm >::size | ( | int | codim | ) | const [inherited] |
number of leaf entities per codim in this process
int Dune::Grid< dim, dimworld, ct, GridFamily >::size | ( | int | codim | ) | const [inline, inherited] |
Return number of leaf entities of a given codim in this process.
Reimplemented in Dune::AlbertaGrid< dim, dimworld >, Dune::OneDGrid, Dune::SGrid< dim, dimworld, _ctype >, Dune::UGGrid< dim >, Dune::SGrid< dim, dimworld >, and Dune::UGGrid< dimworld >.
int Dune::ALU3dGrid< elType, Comm >::size | ( | int | level, | |
GeometryType | type | |||
) | const [inherited] |
number of entities per level and geometry type in this process
void Dune::ALU3dGrid< elType, Comm >::updateStatus | ( | ) | [inherited] |
ALUGridVertexProjectionType* Dune::ALU3dGrid< elType, Comm >::vertexProjection | ( | ) | [inline, inherited] |
bool Dune::ALU3dGrid< elType, Comm >::writeGrid | ( | const std::string | filename, | |
alu3d_ctype | time | |||
) | const [inherited] |
write Grid to file in specified FileFormatType
bool Dune::ALU3dGrid< elType, Comm >::writeGrid_Ascii | ( | const std::string | filename, | |
alu3d_ctype | time, | |||
bool | scientific = false | |||
) | const [inherited] |
write leaf grid in macro grid format to ascii file
bool Dune::ALU3dGrid< elType, Comm >::writeGrid_Xdr | ( | const std::string | filename, | |
alu3d_ctype | time | |||
) | const [inherited] |
bool Dune::ALU3dGrid< elType, Comm >::writeMacroGrid | ( | const std::string | path, | |
const std::string | filename | |||
) | const [inherited] |
write macro grid in ALUGrid macro format to path/filename.rank
friend class ALU3dGridFactory [friend] |
friend class ALUGridBoundaryProjection< ThisType, alu3d_ctype > [friend, inherited] |
friend class ALULocalGeometryStorage< const ThisType, GeometryObject, 8 > [friend, inherited] |
friend class Conversion< ALUCubeGrid< dimension, dimensionworld >, HasHierarchicIndexSet > [friend] |
friend class Conversion< ALUCubeGrid< dimension, dimensionworld >, HasObjectStream > [friend] |
friend class Conversion< const ALUCubeGrid< dimension, dimensionworld >, HasHierarchicIndexSet > [friend] |
friend class Conversion< const ALUCubeGrid< dimension, dimensionworld >, HasObjectStream > [friend] |
friend class IntersectionIteratorWrapper< const ThisType, LeafIntersectionIteratorImp > [friend, inherited] |
friend class IntersectionIteratorWrapper< const ThisType, LevelIntersectionIteratorImp > [friend, inherited] |
friend class LeafIntersectionIteratorWrapper< const ThisType > [friend, inherited] |
friend class LevelIntersectionIteratorWrapper< const ThisType > [friend, inherited] |
const DuneBoundaryProjectionType* Dune::ALU3dGrid< elType, Comm >::bndPrj_ [protected, inherited] |
const DuneBoundaryProjectionVector* Dune::ALU3dGrid< elType, Comm >::bndVec_ [protected, inherited] |
int Dune::ALU3dGrid< elType, Comm >::coarsenMarked_ [mutable, protected, inherited] |
Communications* Dune::ALU3dGrid< elType, Comm >::communications_ [protected, inherited] |
const ALU3dGridElementType Dune::ALU3dGrid< elType, Comm >::elementType [static, inherited] |
GridObjectFactoryType Dune::ALU3dGrid< elType, Comm >::factory_ [protected, inherited] |
std::vector< std::vector<GeometryType> > Dune::ALU3dGrid< elType, Comm >::geomTypes_ [protected, inherited] |
ALU3dGridItemListType Dune::ALU3dGrid< elType, Comm >::ghostLeafList_[dimension] [mutable, protected, inherited] |
ALU3dGridItemListType Dune::ALU3dGrid< elType, Comm >::ghostLevelList_[dimension][MAXL] [mutable, protected, inherited] |
GlobalIdSetImp* Dune::ALU3dGrid< elType, Comm >::globalIdSet_ [mutable, protected, inherited] |
HierarchicIndexSet Dune::ALU3dGrid< elType, Comm >::hIndexSet_ [protected, inherited] |
LeafIndexSetImp* Dune::ALU3dGrid< elType, Comm >::leafIndexSet_ [mutable, protected, inherited] |
LeafVertexListType Dune::ALU3dGrid< elType, Comm >::leafVertexList_ [mutable, protected, inherited] |
ALU3dGridItemListType Dune::ALU3dGrid< elType, Comm >::levelEdgeList_[MAXL] [mutable, protected, inherited] |
std::vector< LevelIndexSetImp * > Dune::ALU3dGrid< elType, Comm >::levelIndexVec_ [mutable, protected, inherited] |
LocalIdSetImp Dune::ALU3dGrid< elType, Comm >::localIdSet_ [protected, inherited] |
bool Dune::ALU3dGrid< elType, Comm >::lockPostAdapt_ [protected, inherited] |
int Dune::ALU3dGrid< elType, Comm >::maxlevel_ [protected, inherited] |
GitterImplType* Dune::ALU3dGrid< elType, Comm >::mygrid_ [mutable, protected, inherited] |
const ReferenceElementType& Dune::ALU3dGrid< elType, Comm >::referenceElement_ [protected, inherited] |
int Dune::ALU3dGrid< elType, Comm >::refineMarked_ [mutable, protected, inherited] |
SizeCacheType* Dune::ALU3dGrid< elType, Comm >::sizeCache_ [protected, inherited] |
VertexListType Dune::ALU3dGrid< elType, Comm >::vertexList_[MAXL] [mutable, protected, inherited] |
ALUGridBoundaryProjectionType* Dune::ALU3dGrid< elType, Comm >::vertexProjection_ [protected, inherited] |
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].