Classes |
Public Types |
Public Member Functions |
Static Public Member Functions |
List of all members
Dune::PolyhedralGrid< dim, dimworld, coord_t > Class Template Reference identical grid wrapper More...
Detailed Descriptiontemplate<int dim, int dimworld, typename coord_t> class Dune::PolyhedralGrid< dim, dimworld, coord_t > identical grid wrapper
Member Typedef Documentation◆ Communication
template<int dim, int dimworld, typename coord_t >
communicator with all other processes having some part of the grid ◆ CommunicationType
template<int dim, int dimworld, typename coord_t >
◆ ctype
template<int dim, int dimworld, typename coord_t >
type of vector coordinates (e.g., double) ◆ ExtraData
template<int dim, int dimworld, typename coord_t >
◆ GlobalCoordinate
template<int dim, int dimworld, typename coord_t >
◆ GlobalIdSet
template<int dim, int dimworld, typename coord_t >
type of global id set The id set assigns a unique identifier to each entity within the grid. This identifier is unique over all processes sharing this grid.
The global id set is a model of Dune::IdSet. ◆ HierarchicIterator
template<int dim, int dimworld, typename coord_t >
iterator over the grid hierarchy ◆ LeafGridView
template<int dim, int dimworld, typename coord_t >
◆ LeafIndexSet
template<int dim, int dimworld, typename coord_t >
type of leaf index set The index set assigns consecutive indices to the entities of the leaf grid. The indices are of integral type and can be used to access arrays. The leaf index set is a model of Dune::IndexSet. ◆ LeafIntersectionIterator
template<int dim, int dimworld, typename coord_t >
iterator over intersections with other entities on the leaf level ◆ LevelGridView
template<int dim, int dimworld, typename coord_t >
View types for All_Partition. ◆ LevelIndexSet
template<int dim, int dimworld, typename coord_t >
type of level index set The index set assigns consecutive indices to the entities of a grid level. The indices are of integral type and can be used to access arrays. The level index set is a model of Dune::IndexSet. ◆ LevelIntersectionIterator
template<int dim, int dimworld, typename coord_t >
iterator over intersections with other entities on the same level ◆ LocalIdSet
template<int dim, int dimworld, typename coord_t >
type of local id set The id set assigns a unique identifier to each entity within the grid. This identifier needs only to be unique over this process. Though the local id set may be identical to the global id set, it is often implemented more efficiently.
The global id set is a model of Dune::IdSet. ◆ Traits
template<int dim, int dimworld, typename coord_t >
type of the grid traits ◆ UnstructuredGridPtr
template<int dim, int dimworld, typename coord_t >
◆ UnstructuredGridType
template<int dim, int dimworld, typename coord_t >
Constructor & Destructor Documentation◆ PolyhedralGrid() [1/3]
template<int dim, int dimworld, typename coord_t >
constructor
References Dune::PolyhedralGrid< dim, dimworld, coord_t >::init(). ◆ PolyhedralGrid() [2/3]
template<int dim, int dimworld, typename coord_t >
constructor
References Dune::PolyhedralGrid< dim, dimworld, coord_t >::init(). ◆ PolyhedralGrid() [3/3]
template<int dim, int dimworld, typename coord_t >
constructor The references to ug are stored in the grid. Therefore, they must remain valid until the grid is destroyed.
References Dune::PolyhedralGrid< dim, dimworld, coord_t >::init(). Member Function Documentation◆ adapt() [1/2]
template<int dim, int dimworld, typename coord_t >
◆ adapt() [2/2]
template<int dim, int dimworld, typename coord_t >
template<class DataHandle >
◆ allocateGrid()
template<int dim, int dimworld, typename coord_t >
References allocate_grid(). ◆ boundarySegmentIndex()
template<int dim, int dimworld, typename coord_t >
◆ cartesianIndexInInside()
template<int dim, int dimworld, typename coord_t >
References UnstructuredGrid::cell_facepos, UnstructuredGrid::cell_facetag, Dune::PolyhedralGrid< dim, dimworld, coord_t >::grid_, and Dune::PolyhedralGrid< dim, dimworld, coord_t >::subEntities(). Referenced by Dune::PolyhedralGrid< dim, dimworld, coord_t >::indexInInside(), and Dune::PolyhedralGrid< dim, dimworld, coord_t >::indexInOutside(). ◆ centroids()
template<int dim, int dimworld, typename coord_t >
template<class EntitySeed >
References UnstructuredGrid::cell_centroids, Dune::PolyhedralGrid< dim, dimworld, coord_t >::copyToGlobalCoordinate(), UnstructuredGrid::face_centroids, Dune::PolyhedralGrid< dim, dimworld, coord_t >::grid_, UnstructuredGrid::node_coordinates, and Dune::PolyhedralGrid< dim, dimworld, coord_t >::size(). ◆ comm()
template<int dim, int dimworld, typename coord_t >
obtain CollectiveCommunication object The CollectiveCommunication object should be used to globally communicate information between all processes sharing this grid.
References Dune::PolyhedralGrid< dim, dimworld, coord_t >::comm_. Referenced by Dune::PolyhedralGridView< dim, dimworld, coord_t, defaultpitype >::comm(). ◆ communicate() [1/2]
template<int dim, int dimworld, typename coord_t >
template<class DataHandle >
communicate information on leaf entities
◆ communicate() [2/2]
template<int dim, int dimworld, typename coord_t >
template<class DataHandle >
communicate information on a grid level
◆ computeGeometry()
template<int dim, int dimworld, typename coord_t >
References compute_geometry(). ◆ copyToGlobalCoordinate()
template<int dim, int dimworld, typename coord_t >
◆ corner()
template<int dim, int dimworld, typename coord_t >
template<class EntitySeed >
References Dune::PolyhedralGrid< dim, dimworld, coord_t >::cellVertices_, Dune::PolyhedralGrid< dim, dimworld, coord_t >::copyToGlobalCoordinate(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::corners(), UnstructuredGrid::face_nodepos, UnstructuredGrid::face_nodes, Dune::PolyhedralGrid< dim, dimworld, coord_t >::grid_, and UnstructuredGrid::node_coordinates. ◆ corners()
template<int dim, int dimworld, typename coord_t >
template<class EntitySeed >
References Dune::PolyhedralGrid< dim, dimworld, coord_t >::cellVertices_, UnstructuredGrid::face_nodepos, and Dune::PolyhedralGrid< dim, dimworld, coord_t >::grid_. Referenced by Dune::PolyhedralGrid< dim, dimworld, coord_t >::corner(), and Dune::PolyhedralGrid< dim, dimworld, coord_t >::geometryType(). ◆ createGrid()
template<int dim, int dimworld, typename coord_t >
References create_grid_cart2d(), and create_grid_hexa3d(). ◆ entity()
template<int dim, int dimworld, typename coord_t >
template<class EntitySeed >
obtain EntityPointer from EntitySeed. References Dune::PolyhedralGrid< dim, dimworld, coord_t >::extraData(). ◆ entityPointer()
template<int dim, int dimworld, typename coord_t >
template<class EntitySeed >
obtain EntityPointer from EntitySeed. References Dune::PolyhedralGrid< dim, dimworld, coord_t >::extraData(). ◆ extraData()
template<int dim, int dimworld, typename coord_t >
◆ geometryType()
template<int dim, int dimworld, typename coord_t >
template<class Seed >
◆ geomTypes()
template<int dim, int dimworld, typename coord_t >
◆ getIJK()
template<int dim, int dimworld, typename coord_t >
◆ getMark()
template<int dim, int dimworld, typename coord_t >
◆ ghostSize() [1/2]
template<int dim, int dimworld, typename coord_t >
obtain size of ghost region for the leaf grid
Referenced by Dune::PolyhedralGridView< dim, dimworld, coord_t, defaultpitype >::ghostSize(), and Dune::PolyhedralGrid< dim, dimworld, coord_t >::ghostSize(). ◆ ghostSize() [2/2]
template<int dim, int dimworld, typename coord_t >
obtain size of ghost region for a grid level
References Dune::PolyhedralGrid< dim, dimworld, coord_t >::ghostSize(). ◆ globalCell()
template<int dim, int dimworld, typename coord_t >
◆ globalCellPtr()
template<int dim, int dimworld, typename coord_t >
◆ globalIdSet()
template<int dim, int dimworld, typename coord_t >
◆ globalRefine()
template<int dim, int dimworld, typename coord_t >
◆ hasBoundaryIntersections()
template<int dim, int dimworld, typename coord_t >
◆ indexInInside()
template<int dim, int dimworld, typename coord_t >
◆ indexInOutside()
template<int dim, int dimworld, typename coord_t >
References Dune::PolyhedralGrid< dim, dimworld, coord_t >::cartesianIndexInInside(), UnstructuredGrid::cell_facetag, Dune::PolyhedralGrid< dim, dimworld, coord_t >::grid_, Dune::PolyhedralGrid< dim, dimworld, coord_t >::indexInInside(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::neighbor(), and Dune::PolyhedralGrid< dim, dimworld, coord_t >::subEntities(). ◆ init()
template<int dim, int dimworld, typename coord_t >
References b(), UnstructuredGrid::cartdims, Dune::PolyhedralGrid< dim, dimworld, coord_t >::cartDims_, UnstructuredGrid::cell_centroids, UnstructuredGrid::cell_facepos, UnstructuredGrid::cell_faces, UnstructuredGrid::cell_facetag, UnstructuredGrid::cell_volumes, Dune::PolyhedralGrid< dim, dimworld, coord_t >::cellVertices_, Dune::PolyhedralGrid< dim, dimworld, coord_t >::copyToGlobalCoordinate(), UnstructuredGrid::face_areas, UnstructuredGrid::face_cells, UnstructuredGrid::face_centroids, UnstructuredGrid::face_nodepos, UnstructuredGrid::face_nodes, UnstructuredGrid::face_normals, Opm::UgGridHelpers::faceTag(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::geomTypes_, Dune::PolyhedralGrid< dim, dimworld, coord_t >::grid_, Dune::PolyhedralGrid< dim, dimworld, coord_t >::isBoundaryFace(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::nBndSegments_, UnstructuredGrid::node_coordinates, UnstructuredGrid::number_of_faces, Opm::UgGridHelpers::numCells(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::size(), and Dune::PolyhedralGrid< dim, dimworld, coord_t >::unitOuterNormals_. Referenced by Dune::PolyhedralGrid< dim, dimworld, coord_t >::PolyhedralGrid(). ◆ isBoundaryFace() [1/2]
template<int dim, int dimworld, typename coord_t >
References UnstructuredGrid::face_cells, Dune::PolyhedralGrid< dim, dimworld, coord_t >::grid_, and UnstructuredGrid::number_of_faces. Referenced by Dune::PolyhedralGrid< dim, dimworld, coord_t >::hasBoundaryIntersections(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::init(), and Dune::PolyhedralGrid< dim, dimworld, coord_t >::isBoundaryFace(). ◆ isBoundaryFace() [2/2]
template<int dim, int dimworld, typename coord_t >
◆ lbegin() [1/2]
template<int dim, int dimworld, typename coord_t >
template<int codim>
◆ lbegin() [2/2]
template<int dim, int dimworld, typename coord_t >
template<int codim, PartitionIteratorType pitype>
◆ leafbegin() [1/2]
template<int dim, int dimworld, typename coord_t >
template<int codim>
◆ leafbegin() [2/2]
template<int dim, int dimworld, typename coord_t >
template<int codim, PartitionIteratorType pitype>
◆ leafend() [1/2]
template<int dim, int dimworld, typename coord_t >
template<int codim>
◆ leafend() [2/2]
template<int dim, int dimworld, typename coord_t >
template<int codim, PartitionIteratorType pitype>
◆ leafGridView() [1/2]
template<int dim, int dimworld, typename coord_t >
template<PartitionIteratorType pitype>
View for the leaf grid. ◆ leafGridView() [2/2]
template<int dim, int dimworld, typename coord_t >
View for the leaf grid for All_Partition. ◆ leafIndexSet()
template<int dim, int dimworld, typename coord_t >
◆ lend() [1/2]
template<int dim, int dimworld, typename coord_t >
template<int codim>
◆ lend() [2/2]
template<int dim, int dimworld, typename coord_t >
template<int codim, PartitionIteratorType pitype>
◆ levelGridView() [1/2]
template<int dim, int dimworld, typename coord_t >
template<PartitionIteratorType pitype>
View for a grid level. ◆ levelGridView() [2/2]
template<int dim, int dimworld, typename coord_t >
View for a grid level for All_Partition. ◆ levelIndexSet()
template<int dim, int dimworld, typename coord_t >
◆ loadBalance() [1/3]
template<int dim, int dimworld, typename coord_t >
rebalance the load each process has to handle A parallel grid is redistributed such that each process has about the same load (e.g., the same number of leaf entites).
◆ loadBalance() [2/3]
template<int dim, int dimworld, typename coord_t >
template<class DataHandle , class Data >
rebalance the load each process has to handle A parallel grid is redistributed such that each process has about the same load (e.g., the same number of leaf entites). The data handle is used to communicate the data associated with entities that move from one process to another.
◆ loadBalance() [3/3]
template<int dim, int dimworld, typename coord_t >
template<class DofManager >
rebalance the load each process has to handle A parallel grid is redistributed such that each process has about the same load (e.g., the same number of leaf entites). The data handle is used to communicate the data associated with entities that move from one process to another.
◆ localIdSet()
template<int dim, int dimworld, typename coord_t >
◆ logicalCartesianSize()
template<int dim, int dimworld, typename coord_t >
◆ mark()
template<int dim, int dimworld, typename coord_t >
◆ maxLevel()
template<int dim, int dimworld, typename coord_t >
obtain maximal grid level Grid levels are numbered 0, ..., L, where L is the value returned by this method.
◆ neighbor()
template<int dim, int dimworld, typename coord_t >
◆ numBoundarySegments()
template<int dim, int dimworld, typename coord_t >
obtain number of leaf entities
References Dune::PolyhedralGrid< dim, dimworld, coord_t >::nBndSegments_. ◆ operator const UnstructuredGridType &()
template<int dim, int dimworld, typename coord_t >
◆ outerNormal()
template<int dim, int dimworld, typename coord_t >
template<class EntitySeed >
◆ overlapSize() [1/2]
template<int dim, int dimworld, typename coord_t >
obtain size of overlap region for the leaf grid
Referenced by Dune::PolyhedralGridView< dim, dimworld, coord_t, defaultpitype >::overlapSize(). ◆ overlapSize() [2/2]
template<int dim, int dimworld, typename coord_t >
obtain size of overlap region for a grid level
◆ postAdapt()
template<int dim, int dimworld, typename coord_t >
◆ preAdapt()
template<int dim, int dimworld, typename coord_t >
◆ print()
template<int dim, int dimworld, typename coord_t >
References UnstructuredGrid::cell_facepos, UnstructuredGrid::cell_faces, Dune::PolyhedralGrid< dim, dimworld, coord_t >::cellVertices_, UnstructuredGrid::face_nodepos, UnstructuredGrid::face_nodes, Dune::PolyhedralGrid< dim, dimworld, coord_t >::grid_, UnstructuredGrid::number_of_cells, and Opm::UgGridHelpers::numCells(). ◆ scatterData()
template<int dim, int dimworld, typename coord_t >
template<class DataHandle >
Moves data from the global (all data on process) view to the distributed view. This method does not do communication but assumes that the global grid is present on every process and simply copies data to the distributed view.
◆ size() [1/4]
template<int dim, int dimworld, typename coord_t >
returns the number of boundary segments within the macro grid
References Dune::PolyhedralGrid< dim, dimworld, coord_t >::size(). ◆ size() [2/4]
template<int dim, int dimworld, typename coord_t >
obtain number of leaf entities
References Dune::PolyhedralGrid< dim, dimworld, coord_t >::grid_, UnstructuredGrid::number_of_cells, UnstructuredGrid::number_of_faces, and UnstructuredGrid::number_of_nodes. ◆ size() [3/4]
template<int dim, int dimworld, typename coord_t >
obtain number of entites on a level
References Dune::PolyhedralGrid< dim, dimworld, coord_t >::size(). ◆ size() [4/4]
template<int dim, int dimworld, typename coord_t >
obtain number of entites on a level
References Dune::PolyhedralGrid< dim, dimworld, coord_t >::size(). Referenced by Dune::PolyhedralGrid< dim, dimworld, coord_t >::centroids(), Dune::CartesianIndexMapper< PolyhedralGrid< dim, dimworld, coord_t > >::compressedLevelZeroSize(), Dune::CartesianIndexMapper< PolyhedralGrid< dim, dimworld, coord_t > >::compressedSize(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::init(), Dune::PolyhedralGridIdSet< dim, dimworld, coord_t >::PolyhedralGridIdSet(), Dune::PolyhedralGridIndexSet< dim, dimworld, coord_t >::size(), Dune::PolyhedralGridView< dim, dimworld, coord_t, defaultpitype >::size(), and Dune::PolyhedralGrid< dim, dimworld, coord_t >::size(). ◆ subEntities()
template<int dim, int dimworld, typename coord_t >
template<class EntitySeed >
References UnstructuredGrid::cell_facepos, Dune::PolyhedralGrid< dim, dimworld, coord_t >::cellVertices_, UnstructuredGrid::face_nodepos, and Dune::PolyhedralGrid< dim, dimworld, coord_t >::grid_. Referenced by Dune::PolyhedralGrid< dim, dimworld, coord_t >::cartesianIndexInInside(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::hasBoundaryIntersections(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::indexInOutside(), and Dune::PolyhedralGrid< dim, dimworld, coord_t >::subEntitySeed(). ◆ subEntitySeed() [1/2]
template<int dim, int dimworld, typename coord_t >
template<int codim, class EntitySeedArg >
References UnstructuredGrid::cell_facepos, UnstructuredGrid::cell_faces, Dune::PolyhedralGrid< dim, dimworld, coord_t >::cellVertices_, UnstructuredGrid::face_nodepos, UnstructuredGrid::face_nodes, Dune::PolyhedralGrid< dim, dimworld, coord_t >::grid_, and Dune::PolyhedralGrid< dim, dimworld, coord_t >::subEntities(). ◆ subEntitySeed() [2/2]
template<int dim, int dimworld, typename coord_t >
template<int codim>
◆ switchToDistributedView()
template<int dim, int dimworld, typename coord_t >
Switch to the distributed view. ◆ switchToGlobalView()
template<int dim, int dimworld, typename coord_t >
Switch to the global view. ◆ unitOuterNormal()
template<int dim, int dimworld, typename coord_t >
template<class EntitySeed >
◆ update()
template<int dim, int dimworld, typename coord_t >
update grid caches This method has to be called whenever the underlying host grid changes.
◆ volumes()
template<int dim, int dimworld, typename coord_t >
template<class EntitySeed >
Member Data Documentation◆ cartDims_
template<int dim, int dimworld, typename coord_t >
◆ cellVertices_
template<int dim, int dimworld, typename coord_t >
Referenced by Dune::PolyhedralGrid< dim, dimworld, coord_t >::corner(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::corners(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::init(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::print(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::subEntities(), and Dune::PolyhedralGrid< dim, dimworld, coord_t >::subEntitySeed(). ◆ comm_
template<int dim, int dimworld, typename coord_t >
Referenced by Dune::PolyhedralGrid< dim, dimworld, coord_t >::comm(). ◆ geomTypes_
template<int dim, int dimworld, typename coord_t >
◆ globalIdSet_
template<int dim, int dimworld, typename coord_t >
◆ grid_
template<int dim, int dimworld, typename coord_t >
Referenced by Dune::PolyhedralGrid< dim, dimworld, coord_t >::boundarySegmentIndex(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::cartesianIndexInInside(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::centroids(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::corner(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::corners(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::globalCell(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::globalCellPtr(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::indexInInside(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::indexInOutside(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::init(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::isBoundaryFace(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::neighbor(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::operator const UnstructuredGridType &(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::outerNormal(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::print(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::size(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::subEntities(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::subEntitySeed(), Dune::PolyhedralGrid< dim, dimworld, coord_t >::unitOuterNormal(), and Dune::PolyhedralGrid< dim, dimworld, coord_t >::volumes(). ◆ gridPtr_
template<int dim, int dimworld, typename coord_t >
◆ leafIndexSet_
template<int dim, int dimworld, typename coord_t >
◆ localIdSet_
template<int dim, int dimworld, typename coord_t >
Referenced by Dune::PolyhedralGrid< dim, dimworld, coord_t >::localIdSet(). ◆ nBndSegments_
template<int dim, int dimworld, typename coord_t >
◆ unitOuterNormals_
template<int dim, int dimworld, typename coord_t >
The documentation for this class was generated from the following files: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||