Grid manager for grids living on the facets of a host grid. More...
#include <dumux/io/grid/facetgridmanager.hh>
Public Types | |
using | Grid = FacetGrid |
using | Vertex = typename Grid::template Codim< dim >::Entity |
using | HostGrid = HG |
using | HostGridVertex = typename HostGrid::template Codim< dim+1 >::Entity |
Public Member Functions | |
template<Concept::FacetSelector< HostElement, HostIntersection > Selector> | |
void | init (const HostGrid &hostGrid, const Selector &selector) |
Make the grid using an externally created host grid. More... | |
template<Concept::FacetSelector< HostElement, HostIntersection > Selector> | |
void | init (const Selector &selector, const std::string ¶mGroup="") |
Make the grid and create the host grid internally. More... | |
void | loadBalance () |
Call loadBalance() function of the grid. More... | |
Grid & | grid () |
Returns a reference to the grid. More... | |
const Grid & | grid () const |
Returns a const reference to the grid. More... | |
bool | hasGridData () const |
Return true if grid data is available. More... | |
HostGridVertex | hostGridVertex (const Vertex &v) const |
Return the host grid vertex that overlaps with the given facet grid vertex. More... | |
Protected Member Functions | |
void | initHostGrid_ (const std::string ¶mGroup) |
HostGrid & | hostGrid_ () |
Protected Attributes | |
Dune::GridFactory< Grid > | facetGridFactory_ |
std::unique_ptr< Grid > | facetGrid_ {nullptr} |
std::unique_ptr< HostVertexSet > | hostVertexSet_ {nullptr} |
std::unique_ptr< HostGridManager > | hostGridManager_ {nullptr} |
std::vector< std::size_t > | facetInsertionToHostVertexIndex_ |
using Dumux::FacetGridManager< HG, FacetGrid, HostGridManager >::Grid = FacetGrid |
using Dumux::FacetGridManager< HG, FacetGrid, HostGridManager >::HostGrid = HG |
using Dumux::FacetGridManager< HG, FacetGrid, HostGridManager >::HostGridVertex = typename HostGrid::template Codim<dim+1>::Entity |
using Dumux::FacetGridManager< HG, FacetGrid, HostGridManager >::Vertex = typename Grid::template Codim<dim>::Entity |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |