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.
|
|
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.
|
|
void | init (const std::string &modelParamGroup="") |
| Make the grid. Implement this method in the specialization of this class for a grid type.
|
|
Grid & | grid () |
| Returns a reference to the grid.
|
|
const Grid & | grid () const |
| Returns a const reference to the grid.
|
|
void | loadBalance () |
| Call loadBalance() function of the grid.
|
|
std::shared_ptr< GridData > | getGridData () const |
| Get an owning pointer to grid data associated with the grid.
|
|
bool | hasGridData () const |
| Check whether there is data associated with the grid.
|
|
|
std::shared_ptr< Grid > & | gridPtr () |
| Returns a reference to the grid pointer (std::shared_ptr<Grid>)
|
|
Dune::GridPtr< Grid > & | dgfGridPtr () |
| Returns a reference to the DGF grid pointer (Dune::GridPtr<Grid>).
|
|
std::string | getFileExtension (const std::string &fileName) const |
| Returns the filename extension of a given filename.
|
|
void | makeGridFromFile (const std::string &fileName, const std::string &modelParamGroup) |
| Makes a grid from a file. We currently support.
|
|
void | makeGridFromDgfFile (const std::string &fileName) |
| Makes a grid from a DGF file. This is used by grid managers that only support DGF.
|
|
template<int dim, int dimworld> |
void | makeStructuredGrid (CellType cellType, const std::string &modelParamGroup) |
| Makes a structured cube grid using the structured grid factory.
|
|
void | maybeRefineGrid (const std::string &modelParamGroup) |
| Refines a grid after construction if GridParameterGroup.Refinement is set in the input file.
|
|
◆ Grid
template<int dim, class OtherGridCreator , class DiscMethod = DiscretizationMethods::None>
◆ GridData
template<class GridType >
◆ CellType
template<class GridType >
◆ dgfGridPtr()
template<class GridType >
◆ getFileExtension()
template<class GridType >
◆ getGridConstructionData()
template<int dim, class OtherGridCreator , class DiscMethod = DiscretizationMethods::None>
◆ getGridData()
template<class GridType >
- Note
- Throws if no grid data is available
◆ grid() [1/2]
template<class GridType >
◆ grid() [2/2]
template<class GridType >
◆ gridPtr()
template<class GridType >
◆ hasGridData()
template<class GridType >
◆ 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]
template<class GridType >
◆ loadBalance()
template<class GridType >
◆ makeGridFromDgfFile()
template<class GridType >
◆ makeGridFromFile()
template<class GridType >
void Dumux::GridManagerBase< GridType >::makeGridFromFile |
( |
const std::string & |
fileName, |
|
|
const std::string & |
modelParamGroup |
|
) |
| |
|
inlineprotectedinherited |
- dgf (Dune Grid Format)
- msh (Gmsh mesh format)
- vtp/vtu (VTK file formats)
◆ makeStructuredGrid()
template<class GridType >
template<int dim, int dimworld>
◆ maybeRefineGrid()
template<class GridType >
◆ dgfGridPtr_
template<class GridType >
◆ enableDgfGridPointer_
template<class GridType >
◆ enableGmshDomainMarkers_
template<class GridType >
◆ gridData_
template<class GridType >
◆ gridPtr_
template<class GridType >
The documentation for this class was generated from the following file: