version 3.11-dev
Loading...
Searching...
No Matches
Dumux::CpGridManager Class Reference

A grid creator that reads Petrel files and generates a CpGrid. More...

#include <dumux/io/grid/cpgridmanager.hh>

Description

All keys are expected to be in group GridParameterGroup.

The following keys are recognized:

  • File : Petrel file to load from

Public Types

using Grid = Dune::CpGrid
using Deck = Opm::Deck

Public Member Functions

void init (const std::string &paramGroup="")
 Create the Grid.
Gridgrid ()
 Returns a reference to the grid.
std::shared_ptr< DeckgetDeck () const
 Returns a reference to the input deck.
void loadBalance ()
 Distributes the grid over all processes for a parallel computation.

Member Typedef Documentation

◆ Deck

using Dumux::CpGridManager::Deck = Opm::Deck

◆ Grid

using Dumux::CpGridManager::Grid = Dune::CpGrid

Member Function Documentation

◆ getDeck()

std::shared_ptr< Deck > Dumux::CpGridManager::getDeck ( ) const
inline

The input deck can be used to read parameters like porosity/permeability.

◆ grid()

Grid & Dumux::CpGridManager::grid ( )
inline

◆ init()

void Dumux::CpGridManager::init ( const std::string & paramGroup = "")
inline

◆ loadBalance()

void Dumux::CpGridManager::loadBalance ( )
inline

The documentation for this class was generated from the following file: