A grid creator that matches a free-flow grid to a PNM grid.
#include <dumux/multidomain/boundary/freeflowporenetwork/snappygridmanager.hh>
|
void | init (const OtherGrid &otherGrid, const LowDimGridData &otherData, const std::string &modelParamGroup="") |
| Make the grid. More...
|
|
const GridConstructionData & | getGridConstructionData () const |
| Return data used to create the snappy grid (needed for Dune::TensorProductCoordinates) and the locations of pores intersecting with the interface. More...
|
|
void | init (const std::string &modelParamGroup="") |
| Make the grid. Implement this method in the specialization of this class for a grid type. More...
|
|
Grid & | grid () |
| Returns a reference to the grid. More...
|
|
const Grid & | grid () const |
| Returns a const reference to the grid. More...
|
|
void | loadBalance () |
| Call loadBalance() function of the grid. More...
|
|
std::shared_ptr< GridData > | getGridData () const |
| Get an owning pointer to grid data associated with the grid. More...
|
|
bool | hasGridData () const |
| Check whether there is data associated with the grid. More...
|
|
|
std::shared_ptr< Grid > & | gridPtr () |
| Returns a reference to the grid pointer (std::shared_ptr<Grid>) More...
|
|
Dune::GridPtr< Grid > & | dgfGridPtr () |
| Returns a reference to the DGF grid pointer (Dune::GridPtr<Grid>). More...
|
|
std::string | getFileExtension (const std::string &fileName) const |
| Returns the filename extension of a given filename. More...
|
|
void | makeGridFromFile (const std::string &fileName, const std::string &modelParamGroup) |
| Makes a grid from a file. We currently support. More...
|
|
void | makeGridFromDgfFile (const std::string &fileName) |
| Makes a grid from a DGF file. This is used by grid managers that only support DGF. More...
|
|
void | makeStructuredGrid (CellType cellType, const std::string &modelParamGroup) |
| Makes a structured cube grid using the structured grid factory. More...
|
|
void | maybeRefineGrid (const std::string &modelParamGroup) |
| Refines a grid after construction if GridParameterGroup.Refinement is set in the input file. More...
|
|
◆ Grid
template<int dim, class OtherGridCreator , class DiscMethod = DiscretizationMethods::None>
◆ GridData
◆ CellType
◆ dgfGridPtr()
Dune::GridPtr< Grid > & Dumux::GridManagerBase< Dune::YaspGrid< dim, Dune::TensorProductCoordinates< OtherGridCreator::Grid::ctype, OtherGridCreator::Grid::LeafGridView::dimensionworld > > >::dgfGridPtr |
( |
| ) |
|
|
inlineprotectedinherited |
◆ getFileExtension()
std::string Dumux::GridManagerBase< Dune::YaspGrid< dim, Dune::TensorProductCoordinates< OtherGridCreator::Grid::ctype, OtherGridCreator::Grid::LeafGridView::dimensionworld > > >::getFileExtension |
( |
const std::string & |
fileName | ) |
const |
|
inlineprotectedinherited |
◆ getGridConstructionData()
template<int dim, class OtherGridCreator , class DiscMethod = DiscretizationMethods::None>
◆ getGridData()
- Note
- Throws if no grid data is available
◆ grid() [1/2]
◆ grid() [2/2]
◆ gridPtr()
std::shared_ptr< Grid > & Dumux::GridManagerBase< Dune::YaspGrid< dim, Dune::TensorProductCoordinates< OtherGridCreator::Grid::ctype, OtherGridCreator::Grid::LeafGridView::dimensionworld > > >::gridPtr |
( |
| ) |
|
|
inlineprotectedinherited |
◆ hasGridData()
bool Dumux::GridManagerBase< Dune::YaspGrid< dim, Dune::TensorProductCoordinates< OtherGridCreator::Grid::ctype, OtherGridCreator::Grid::LeafGridView::dimensionworld > > >::hasGridData |
( |
| ) |
const |
|
inlineinherited |
◆ init() [1/2]
template<int dim, class OtherGridCreator , class DiscMethod = DiscretizationMethods::None>
void Dumux::PoreNetwork::SnappyGridManager< dim, OtherGridCreator, DiscMethod >::init |
( |
const OtherGrid & |
otherGrid, |
|
|
const LowDimGridData & |
otherData, |
|
|
const std::string & |
modelParamGroup = "" |
|
) |
| |
|
inline |
◆ init() [2/2]
void Dumux::GridManagerBase< Dune::YaspGrid< dim, Dune::TensorProductCoordinates< OtherGridCreator::Grid::ctype, OtherGridCreator::Grid::LeafGridView::dimensionworld > > >::init |
( |
const std::string & |
modelParamGroup = "" | ) |
|
|
inlineinherited |
◆ loadBalance()
void Dumux::GridManagerBase< Dune::YaspGrid< dim, Dune::TensorProductCoordinates< OtherGridCreator::Grid::ctype, OtherGridCreator::Grid::LeafGridView::dimensionworld > > >::loadBalance |
( |
| ) |
|
|
inlineinherited |
◆ makeGridFromDgfFile()
void Dumux::GridManagerBase< Dune::YaspGrid< dim, Dune::TensorProductCoordinates< OtherGridCreator::Grid::ctype, OtherGridCreator::Grid::LeafGridView::dimensionworld > > >::makeGridFromDgfFile |
( |
const std::string & |
fileName | ) |
|
|
inlineprotectedinherited |
◆ makeGridFromFile()
void Dumux::GridManagerBase< Dune::YaspGrid< dim, Dune::TensorProductCoordinates< OtherGridCreator::Grid::ctype, OtherGridCreator::Grid::LeafGridView::dimensionworld > > >::makeGridFromFile |
( |
const std::string & |
fileName, |
|
|
const std::string & |
modelParamGroup |
|
) |
| |
|
inlineprotectedinherited |
- dgf (Dune Grid Format)
- msh (Gmsh mesh format)
- vtp/vtu (VTK file formats)
◆ makeStructuredGrid()
void Dumux::GridManagerBase< Dune::YaspGrid< dim, Dune::TensorProductCoordinates< OtherGridCreator::Grid::ctype, OtherGridCreator::Grid::LeafGridView::dimensionworld > > >::makeStructuredGrid |
( |
CellType |
cellType, |
|
|
const std::string & |
modelParamGroup |
|
) |
| |
|
inlineprotectedinherited |
◆ maybeRefineGrid()
void Dumux::GridManagerBase< Dune::YaspGrid< dim, Dune::TensorProductCoordinates< OtherGridCreator::Grid::ctype, OtherGridCreator::Grid::LeafGridView::dimensionworld > > >::maybeRefineGrid |
( |
const std::string & |
modelParamGroup | ) |
|
|
inlineprotectedinherited |
◆ dgfGridPtr_
◆ enableDgfGridPointer_
bool Dumux::GridManagerBase< Dune::YaspGrid< dim, Dune::TensorProductCoordinates< OtherGridCreator::Grid::ctype, OtherGridCreator::Grid::LeafGridView::dimensionworld > > >::enableDgfGridPointer_ |
|
protectedinherited |
◆ enableGmshDomainMarkers_
bool Dumux::GridManagerBase< Dune::YaspGrid< dim, Dune::TensorProductCoordinates< OtherGridCreator::Grid::ctype, OtherGridCreator::Grid::LeafGridView::dimensionworld > > >::enableGmshDomainMarkers_ |
|
protectedinherited |
◆ gridData_
◆ gridPtr_
The documentation for this class was generated from the following file: