All keys are expected to be in group GridParameterGroup. The following keys are recognized:
- LeftBoundary : start coordinate
- RightBoundary : end coordinate
- Cells : the number of cell
- RefinementType : local or copy
- Refinement : the number of global refines to apply initially.
|
void | init (const std::string &modelParamGroup="") |
| Make the grid. This is implemented by specializations of this method.
|
|
void | loadBalance () |
| Call loadBalance() function of the grid. OneDGrid is not parallel an thus cannot communicate.
|
|
void | init (const std::string &modelParamGroup="") |
| Make the grid. Implement this method in the specialization of this class for a grid type.
|
|
void | init (const std::string &modelParamGroup="") |
| Make the grid. Implement this method in the specialization of this class for a grid type.
|
|
Dune::OneDGrid & | grid () |
| Returns a reference to the grid.
|
|
const Dune::OneDGrid & | grid () const |
| Returns a const reference to the grid.
|
|
Dune::OneDGrid & | grid () |
| Returns a reference to the grid.
|
|
const Dune::OneDGrid & | grid () const |
| Returns a const reference to the grid.
|
|
void | loadBalance () |
| Call loadBalance() function of 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.
|
|
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.
|
|
bool | hasGridData () const |
| Check whether there is data associated with the grid.
|
|
|
std::shared_ptr< Dune::OneDGrid > & | gridPtr () |
| Returns a reference to the grid pointer (std::shared_ptr<Grid>)
|
|
std::shared_ptr< Dune::OneDGrid > & | gridPtr () |
| Returns a reference to the grid pointer (std::shared_ptr<Grid>)
|
|
Dune::GridPtr< Dune::OneDGrid > & | dgfGridPtr () |
| Returns a reference to the DGF grid pointer (Dune::GridPtr<Grid>).
|
|
Dune::GridPtr< Dune::OneDGrid > & | 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.
|
|
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 | 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 | 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 | 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.
|
|
void | maybeRefineGrid (const std::string &modelParamGroup) |
| Refines a grid after construction if GridParameterGroup.Refinement is set in the input file.
|
|
void | makeStructuredGrid (CellType cellType, const std::string &modelParamGroup) |
| Makes a structured cube grid using the structured grid factory.
|
|