The base class for grid managers for dune-subgrid.
#include <dumux/io/grid/gridmanager_sub.hh>
|
| template<class ES, typename std::enable_if_t< Dune::models< Concept::ElementSelector< HostElement >, ES >(), int > = 0> |
| void | init (HostGrid &hostGrid, const ES &selector, const std::string ¶mGroup="") |
| | Make the grid using an externally created host grid.
|
| template<class ES, typename std::enable_if_t< Dune::models< Concept::ElementSelector< HostElement >, ES >(), int > = 0> |
| void | init (const ES &selector, const std::string ¶mGroup="") |
| | Make the grid and create the host grid internally.
|
| void | loadBalance () |
| | Call loadBalance() function of the grid.
|
| template<class ES, typename std::enable_if_t< Dune::models< Concept::ElementSelector< HostElement >, ES >(), int > = 0> |
| void | update (const ES &selector) |
| | Update the existing subgrid.
|
| 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.
|
| 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.
|
|
| template<class ES, typename std::enable_if_t< Dune::models< Concept::ElementSelector< HostElement >, ES >(), int > = 0> |
| void | updateSubGrid_ (const ES &selector) |
| | Update the subgrid.
|
| void | initHostGrid_ (const std::string ¶mGroup) |
| void | initHostGrid_ (const GlobalPosition &lowerLeft, const GlobalPosition &upperRight, const std::array< int, dim > &cells, const std::string ¶mGroup, const int overlap=1, const std::bitset< dim > periodic=std::bitset< dim >{}) |
| HostGrid & | hostGrid_ () |
| | Returns a reference to the host 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.
|
| 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<class HostGrid, class HostGridManager = GridManager<HostGrid>>
◆ GridData
◆ CellType
◆ dgfGridPtr()
◆ getFileExtension()
◆ getGridData()
- Note
- Throws if no grid data is available
◆ grid()
◆ gridPtr()
◆ hasGridData()
◆ hostGrid_()
template<class HostGrid, class HostGridManager = GridManager<HostGrid>>
◆ init() [1/3]
◆ init() [2/3]
template<class HostGrid, class HostGridManager = GridManager<HostGrid>>
| void Dumux::SubGridManagerBase< HostGrid, HostGridManager >::init |
( |
const ES & | selector, |
|
|
const std::string & | paramGroup = "" ) |
|
inline |
◆ init() [3/3]
template<class HostGrid, class HostGridManager = GridManager<HostGrid>>
| void Dumux::SubGridManagerBase< HostGrid, HostGridManager >::init |
( |
HostGrid & | hostGrid, |
|
|
const ES & | selector, |
|
|
const std::string & | paramGroup = "" ) |
|
inline |
◆ initHostGrid_() [1/2]
template<class HostGrid, class HostGridManager = GridManager<HostGrid>>
| void Dumux::SubGridManagerBase< HostGrid, HostGridManager >::initHostGrid_ |
( |
const GlobalPosition & | lowerLeft, |
|
|
const GlobalPosition & | upperRight, |
|
|
const std::array< int, dim > & | cells, |
|
|
const std::string & | paramGroup, |
|
|
const int | overlap = 1, |
|
|
const std::bitset< dim > | periodic = std::bitset<dim>{} ) |
|
inlineprotected |
◆ initHostGrid_() [2/2]
template<class HostGrid, class HostGridManager = GridManager<HostGrid>>
◆ loadBalance()
template<class HostGrid, class HostGridManager = GridManager<HostGrid>>
◆ makeGridFromDgfFile()
◆ makeGridFromFile()
- dgf (Dune Grid Format)
- msh (Gmsh mesh format)
- vtp/vtu (VTK file formats)
◆ makeStructuredGrid()
◆ maybeRefineGrid()
◆ update()
template<class HostGrid, class HostGridManager = GridManager<HostGrid>>
◆ updateSubGrid_()
template<class HostGrid, class HostGridManager = GridManager<HostGrid>>
◆ dgfGridPtr_
◆ enableDgfGridPointer_
◆ enableGmshDomainMarkers_
◆ enableVtkData_
◆ gridData_
◆ gridPtr_
◆ hostGridManager_
template<class HostGrid, class HostGridManager = GridManager<HostGrid>>
The documentation for this class was generated from the following file: