|
dune-grid 2.8.0
|
Loading...
Searching...
No Matches
geometrygrid/grid.hh
Go to the documentation of this file.
75 template< class HostGrid, class CoordFunction = DefaultCoordFunction< HostGrid >, class Allocator = std::allocator< void > >
227 GeometryGrid ( HostGrid &hostGrid, CoordFunction &coordFunction, const Allocator &allocator = Allocator() )
243 GeometryGrid ( std::shared_ptr<HostGrid> hostGrid, std::shared_ptr<CoordFunction> coordFunction, const Allocator &allocator = Allocator() )
606 mutable std::vector< LevelIndexSet *, typename std::allocator_traits<Allocator>::template rebind_alloc< LevelIndexSet * > > levelIndexSets_;
610 mutable typename std::allocator_traits<Allocator>::template rebind_alloc< char > storageAllocator_;
int size() const
#define DUNE_THROW(E, m)
std::shared_ptr< T > stackobject_to_shared_ptr(T &t)
STL namespace.
Include standard header files.
Implementation & impl()
access to the underlying implementation
Definition common/entity.hh:78
Store a reference to an entity with a minimal memory footprint.
Definition common/entityseed.hh:24
Definition common/grid.hh:851
Definition geometrygrid/backuprestore.hh:25
Definition geometrygrid/datahandle.hh:25
const LeafIndexSet & leafIndexSet() const
Definition geometrygrid/grid.hh:383
int maxLevel() const
obtain maximal grid level
Definition geometrygrid/grid.hh:290
CoordFunction & coordFunction()
obtain mutable reference to the coordinate function.
Definition geometrygrid/grid.hh:581
int size(int codim) const
obtain number of leaf entities
Definition geometrygrid/grid.hh:314
int size(int level, GeometryType type) const
obtain number of entites on a level
Definition geometrygrid/grid.hh:327
const CoordFunction & coordFunction() const
obtain constant reference to the coordinate function
Definition geometrygrid/grid.hh:578
static const HostGrid::template Codim< codim >::Entity & getHostEntity(const typename Codim< codim >::Entity &entity)
Definition geometrygrid/grid.hh:588
LeafGridView leafGridView() const
View for the leaf grid.
Definition geometrygrid/grid.hh:529
Traits::LevelIntersectionIterator LevelIntersectionIterator
iterator over intersections with other entities on the same level
Definition geometrygrid/grid.hh:135
Traits::template Codim< EntitySeed::codimension >::Entity entity(const EntitySeed &seed) const
obtain Entity from EntitySeed
Definition geometrygrid/grid.hh:510
LevelGridView levelGridView(int level) const
View for a grid level.
Definition geometrygrid/grid.hh:522
const LocalIdSet & localIdSet() const
Definition geometrygrid/grid.hh:359
GeometryGrid(std::shared_ptr< HostGrid > hostGrid, std::shared_ptr< CoordFunction > coordFunction, const Allocator &allocator=Allocator())
constructor
Definition geometrygrid/grid.hh:243
int size(int level, int codim) const
obtain number of entites on a level
Definition geometrygrid/grid.hh:303
Traits::LeafIndexSet LeafIndexSet
type of leaf index set
Definition geometrygrid/grid.hh:161
const GlobalIdSet & globalIdSet() const
Definition geometrygrid/grid.hh:351
Traits::HierarchicIterator HierarchicIterator
iterator over the grid hierarchy
Definition geometrygrid/grid.hh:131
bool mark(int refCount, const typename Codim< 0 >::Entity &entity_)
Definition geometrygrid/grid.hh:397
const HostGrid & hostGrid() const
obtain constant reference to the host grid
Definition geometrygrid/grid.hh:541
Traits::ctype ctype
type of vector coordinates (e.g., double)
Definition geometrygrid/grid.hh:208
GridFamily::Traits Traits
type of the grid traits
Definition geometrygrid/grid.hh:114
GridFamily::Traits::LevelGridView LevelGridView
type of view for level grid
Definition geometrygrid/grid.hh:145
HostGrid & hostGrid()
obtain mutable reference to the host grid
Definition geometrygrid/grid.hh:547
Traits::LevelIndexSet LevelIndexSet
type of level index set
Definition geometrygrid/grid.hh:171
int getMark(const typename Codim< 0 >::Entity &entity_) const
Definition geometrygrid/grid.hh:402
Traits::LocalIdSet LocalIdSet
type of local id set
Definition geometrygrid/grid.hh:200
void deallocateStorage(void *p, std::size_t size) const
Definition geometrygrid/grid.hh:598
Traits::GlobalIdSet GlobalIdSet
type of global id set
Definition geometrygrid/grid.hh:183
Traits::LeafIntersectionIterator LeafIntersectionIterator
iterator over intersections with other entities on the leaf level
Definition geometrygrid/grid.hh:133
GeometryGrid(std::shared_ptr< HostGrid > hostGrid, const Allocator &allocator=Allocator())
constructor
Definition geometrygrid/grid.hh:259
GridFamily::Traits::LeafGridView LeafGridView
type of view for leaf grid
Definition geometrygrid/grid.hh:143
Traits::CollectiveCommunication CollectiveCommunication
communicator with all other processes having some part of the grid
Definition geometrygrid/grid.hh:211
size_t numBoundarySegments() const
returns the number of boundary segments within the macro grid
Definition geometrygrid/grid.hh:345
int size(GeometryType type) const
obtain number of leaf entities
Definition geometrygrid/grid.hh:336
const LevelIndexSet & levelIndexSet(int level) const
Definition geometrygrid/grid.hh:367
GeometryGrid(HostGrid &hostGrid, CoordFunction &coordFunction, const Allocator &allocator=Allocator())
constructor
Definition geometrygrid/grid.hh:227
void * allocateStorage(std::size_t size) const
Definition geometrygrid/grid.hh:593
const CollectiveCommunication & comm() const
obtain CollectiveCommunication object
Definition geometrygrid/grid.hh:435
Definition iterator.hh:372
Definition geometrygrid/intersectioniterator.hh:19
Definition geometrygrid/geometry.hh:87
Definition geometrygrid/grid.hh:28
traits structure containing types for a codimension
Definition geometrygrid/grid.hh:622
Traits::template Codim< codim >::LocalGeometry LocalGeometry
type of local geometry
Definition geometrygrid/grid.hh:655
Partition< All_Partition >::LeafIterator LeafIterator
type of leaf iterator
Definition geometrygrid/grid.hh:680
Traits::template Codim< codim >::Entity Entity
type of entity
Definition geometrygrid/grid.hh:630
Partition< All_Partition >::LevelIterator LevelIterator
type of level iterator
Definition geometrygrid/grid.hh:689
Traits::template Codim< codim >::Geometry Geometry
type of world geometry
Definition geometrygrid/grid.hh:645
Definition geometrygrid/grid.hh:664
Traits::template Codim< codim >::template Partition< pitype >::LevelIterator LevelIterator
Definition geometrygrid/grid.hh:670
Traits::template Codim< codim >::template Partition< pitype >::LeafIterator LeafIterator
Definition geometrygrid/grid.hh:667
Definition geometrygrid/gridfamily.hh:33
Definition geometrygrid/gridfamily.hh:49
Definition geometrygrid/gridview.hh:89
Definition identity.hh:15
Definition idset.hh:20
Definition geometrygrid/indexsets.hh:27
Definition geometrygrid/intersection.hh:20
provides access to host grid objects from GeometryGrid
Definition identitygrid.hh:35
Different resources needed by all grid implementations.
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8