The grid manager base interface (public) and methods common to most grid manager specializations (protected).  
#include <dumux/io/grid/gridmanager_base.hh>
|  | 
| 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
◆ GridData
◆ CellType
◆ dgfGridPtr()
◆ getFileExtension()
◆ getGridData()
- Note
- Throws if no grid data is available 
 
 
◆ grid() [1/2]
◆ grid() [2/2]
◆ gridPtr()
◆ hasGridData()
◆ init()
◆ loadBalance()
◆ makeGridFromDgfFile()
◆ makeGridFromFile()
template<class GridType> 
  
  | 
        
          | void Dumux::GridManagerBase< GridType >::makeGridFromFile | ( | const std::string & | fileName, |  
          |  |  | const std::string & | modelParamGroup ) |  | inlineprotected | 
 
- dgf (Dune Grid Format)
- msh (Gmsh mesh format)
- vtp/vtu (VTK file formats) 
 
 
◆ makeStructuredGrid()
template<class GridType> 
template<int dim, int dimworld> 
 
 
◆ maybeRefineGrid()
◆ dgfGridPtr_
◆ enableDgfGridPointer_
◆ enableGmshDomainMarkers_
◆ enableVtkData_
◆ gridData_
◆ gridPtr_
The documentation for this class was generated from the following file: