DUNE PDELab (2.8)
grid.hh
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_;
Store a reference to an entity with a minimal memory footprint.
Definition: entityseed.hh:24
Implementation & impl()
access to the underlying implementation
Definition: entity.hh:78
CoordFunction & coordFunction()
obtain mutable reference to the coordinate function.
Definition: grid.hh:581
int size(int codim) const
obtain number of leaf entities
Definition: grid.hh:314
int size(int level, GeometryType type) const
obtain number of entites on a level
Definition: grid.hh:327
const CoordFunction & coordFunction() const
obtain constant reference to the coordinate function
Definition: grid.hh:578
LeafGridView leafGridView() const
View for the leaf grid.
Definition: grid.hh:529
Traits::LevelIntersectionIterator LevelIntersectionIterator
iterator over intersections with other entities on the same level
Definition: grid.hh:135
Traits::template Codim< EntitySeed::codimension >::Entity entity(const EntitySeed &seed) const
obtain Entity from EntitySeed
Definition: grid.hh:510
LevelGridView levelGridView(int level) const
View for a grid level.
Definition: grid.hh:522
GeometryGrid(std::shared_ptr< HostGrid > hostGrid, std::shared_ptr< CoordFunction > coordFunction, const Allocator &allocator=Allocator())
constructor
Definition: grid.hh:243
int size(int level, int codim) const
obtain number of entites on a level
Definition: grid.hh:303
Traits::LeafIndexSet LeafIndexSet
type of leaf index set
Definition: grid.hh:161
Traits::HierarchicIterator HierarchicIterator
iterator over the grid hierarchy
Definition: grid.hh:131
const HostGrid & hostGrid() const
obtain constant reference to the host grid
Definition: grid.hh:541
Traits::ctype ctype
type of vector coordinates (e.g., double)
Definition: grid.hh:208
GridFamily::Traits::LevelGridView LevelGridView
type of view for level grid
Definition: grid.hh:145
HostGrid & hostGrid()
obtain mutable reference to the host grid
Definition: grid.hh:547
Traits::LevelIndexSet LevelIndexSet
type of level index set
Definition: grid.hh:171
Traits::LocalIdSet LocalIdSet
type of local id set
Definition: grid.hh:200
Traits::GlobalIdSet GlobalIdSet
type of global id set
Definition: grid.hh:183
Traits::LeafIntersectionIterator LeafIntersectionIterator
iterator over intersections with other entities on the leaf level
Definition: grid.hh:133
GeometryGrid(std::shared_ptr< HostGrid > hostGrid, const Allocator &allocator=Allocator())
constructor
Definition: grid.hh:259
GridFamily::Traits::LeafGridView LeafGridView
type of view for leaf grid
Definition: grid.hh:143
Traits::CollectiveCommunication CollectiveCommunication
communicator with all other processes having some part of the grid
Definition: grid.hh:211
size_t numBoundarySegments() const
returns the number of boundary segments within the macro grid
Definition: grid.hh:345
int size(GeometryType type) const
obtain number of leaf entities
Definition: grid.hh:336
GeometryGrid(HostGrid &hostGrid, CoordFunction &coordFunction, const Allocator &allocator=Allocator())
constructor
Definition: grid.hh:227
const CollectiveCommunication & comm() const
obtain CollectiveCommunication object
Definition: grid.hh:435
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:123
Definition: grid.hh:851
Different resources needed by all grid implementations.
std::shared_ptr< T > stackobject_to_shared_ptr(T &t)
Create a shared_ptr for a stack-allocated object.
Definition: shared_ptr.hh:70
STL namespace.
Traits::template Codim< codim >::LocalGeometry LocalGeometry
type of local geometry
Definition: grid.hh:655
Partition< All_Partition >::LeafIterator LeafIterator
type of leaf iterator
Definition: grid.hh:680
Traits::template Codim< codim >::Entity Entity
type of entity
Definition: grid.hh:630
Partition< All_Partition >::LevelIterator LevelIterator
type of level iterator
Definition: grid.hh:689
Traits::template Codim< codim >::Geometry Geometry
type of world geometry
Definition: grid.hh:645
provides access to host grid objects from GeometryGrid
Definition: identitygrid.hh:35
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 21, 23:30, 2024)