Dune Core Modules (2.4.1)
grid.hh
74 template< class HostGrid, class CoordFunction = DefaultCoordFunction< HostGrid >, class Allocator = std::allocator< void > >
235 GeometryGrid ( HostGrid &hostGrid, CoordFunction &coordFunction, const Allocator &allocator = Allocator() )
252 GeometryGrid ( HostGrid *hostGrid, CoordFunction *coordFunction, const Allocator &allocator = Allocator() )
571 DUNE_DEPRECATED_MSG("entityPointer() is deprecated and will be removed after the release of dune-grid 2.4. Use entity() instead to directly obtain an Entity object.")
692 mutable std::vector< LevelIndexSet *, typename Allocator::template rebind< LevelIndexSet * >::other > levelIndexSets_;
CommDataHandleIF describes the features of a data handle for communication in parallel runs using the...
Definition: datahandleif.hh:73
Store a reference to an entity with a minimal memory footprint.
Definition: entityseed.hh:24
Partition< All_Partition >::LevelGridView LevelGridView
View types for All_Partition.
Definition: grid.hh:152
static std::conditional< std::is_reference< InterfaceType >::value, typenamestd::add_lvalue_reference< typenameReturnImplementationType< typenamestd::remove_reference< InterfaceType >::type >::ImplementationType >::type, typenamestd::remove_const< typenameReturnImplementationType< typenamestd::remove_reference< InterfaceType >::type >::ImplementationType >::type >::type getRealImplementation(InterfaceType &&i)
return real implementation of interface class
Definition: grid.hh:1305
Traits::template Codim< EntitySeed::codimension >::EntityPointer DUNE_DEPRECATED_MSG("entityPointer() is deprecated and will be removed after the release of dune-grid 2.4. Use entity() instead to directly obtain an Entity object.") entityPointer(const EntitySeed &seed) const
obtain EntityPointer from EntitySeed.
Definition: grid.hh:571
int size(int codim) const
obtain number of leaf entities
Definition: grid.hh:313
int size(int level, GeometryType type) const
obtain number of entites on a level
Definition: grid.hh:326
LeafGridView leafGridView() const
View for the leaf grid for All_Partition.
Definition: grid.hh:618
Traits::LevelIntersectionIterator LevelIntersectionIterator
iterator over intersections with other entities on the same level
Definition: grid.hh:134
Traits::template Codim< EntitySeed::codimension >::Entity entity(const EntitySeed &seed) const
obtain Entity from EntitySeed.
Definition: grid.hh:581
LevelGridView levelGridView(int level) const
View for a grid level for All_Partition.
Definition: grid.hh:611
int size(int level, int codim) const
obtain number of entites on a level
Definition: grid.hh:302
Traits::LeafIndexSet LeafIndexSet
type of leaf index set
Definition: grid.hh:169
Partition< pitype >::LeafGridView leafGridView() const
View for the leaf grid.
Definition: grid.hh:603
GeometryGrid(HostGrid *hostGrid, CoordFunction *coordFunction, const Allocator &allocator=Allocator())
constructor
Definition: grid.hh:252
Partition< pitype >::LevelGridView levelGridView(int level) const
View for a grid level.
Definition: grid.hh:594
Traits::HierarchicIterator HierarchicIterator
iterator over the grid hierarchy
Definition: grid.hh:130
Traits::ctype ctype
type of vector coordinates (e.g., double)
Definition: grid.hh:216
int overlapSize(int codim) const
obtain size of overlap region for the leaf grid
Definition: grid.hh:430
void communicate(CommDataHandleIF< DataHandle, Data > &dataHandle, InterfaceType interface, CommunicationDirection direction) const
communicate information on leaf entities
Definition: grid.hh:499
Traits::LevelIndexSet LevelIndexSet
type of level index set
Definition: grid.hh:179
int ghostSize(int level, int codim) const
obtain size of ghost region for a grid level
Definition: grid.hh:459
void communicate(CommDataHandleIF< DataHandle, Data > &dataHandle, InterfaceType interface, CommunicationDirection direction, int level) const
communicate information on a grid level
Definition: grid.hh:478
Traits::LocalIdSet LocalIdSet
type of local id set
Definition: grid.hh:208
Traits::GlobalIdSet GlobalIdSet
type of global id set
Definition: grid.hh:191
Traits::LeafIntersectionIterator LeafIntersectionIterator
iterator over intersections with other entities on the leaf level
Definition: grid.hh:132
int ghostSize(int codim) const
obtain size of ghost region for the leaf grid
Definition: grid.hh:439
Traits::CollectiveCommunication CollectiveCommunication
communicator with all other processes having some part of the grid
Definition: grid.hh:219
size_t numBoundarySegments() const
returns the number of boundary segments within the macro grid
Definition: grid.hh:344
int size(GeometryType type) const
obtain number of leaf entities
Definition: grid.hh:335
GeometryGrid(HostGrid &hostGrid, CoordFunction &coordFunction, const Allocator &allocator=Allocator())
constructor
Definition: grid.hh:235
int overlapSize(int level, int codim) const
obtain size of overlap region for a grid level
Definition: grid.hh:449
const CollectiveCommunication & comm() const
obtain CollectiveCommunication object
Definition: grid.hh:514
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:25
Definition: grid.hh:1030
static std::conditional< std::is_reference< InterfaceType >::value, typenamestd::add_lvalue_reference< typenameReturnImplementationType< typenamestd::remove_reference< InterfaceType >::type >::ImplementationType >::type, typenamestd::remove_const< typenameReturnImplementationType< typenamestd::remove_reference< InterfaceType >::type >::ImplementationType >::type >::type getRealImplementation(InterfaceType &&i)
return real implementation of interface class
Definition: grid.hh:1305
Different resources needed by all grid implementations.
Definition of the DUNE_DEPRECATED macro for the case that config.h is not available.
CommunicationDirection
Define a type for communication direction parameter.
Definition: gridenums.hh:168
InterfaceType
Parameter to be used for the communication functions.
Definition: gridenums.hh:84
Fallback implementation of the nullptr object in C++0x.
Traits::template Codim< codim >::LocalGeometry LocalGeometry
type of local geometry
Definition: grid.hh:747
Partition< All_Partition >::LeafIterator LeafIterator
type of level iterator
Definition: grid.hh:772
Traits::template Codim< codim >::Entity Entity
type of entity
Definition: grid.hh:716
Partition< All_Partition >::LevelIterator LevelIterator
type of leaf iterator
Definition: grid.hh:781
Traits::template Codim< codim >::EntityPointer EntityPointer
type of entity pointer
Definition: grid.hh:722
Traits::template Codim< codim >::Geometry Geometry
type of world geometry
Definition: grid.hh:737
provides access to host grid objects from GeometryGrid
Definition: identitygrid.hh:37
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 21, 23:30, 2024)