Provides a simulator vanguard which creates a grid by parsing a Dune Grid Format (DGF) file. More...

#include <dgfvanguard.hh>

Inheritance diagram for Opm::DgfVanguard< TypeTag >:
Inheritance graph

Public Member Functions

 DgfVanguard (Simulator &simulator)
 Load the grid from the file. More...
 
Grid & grid ()
 Returns a reference to the grid. More...
 
const Grid & grid () const
 Returns a reference to the grid. More...
 
void loadBalance ()
 Distributes the grid on all processes of a parallel computation. More...
 
FractureMapperfractureMapper ()
 Returns the fracture mapper. More...
 
const FractureMapperfractureMapper () const
 Returns the fracture mapper. More...
 
const GridView & gridView () const
 Returns a reference to the grid view to be used. More...
 
int gridSequenceNumber () const
 Returns the number of times the grid has been changed since its creation. More...
 

Static Public Member Functions

static void registerParameters ()
 Register all run-time parameters for the DGF simulator vanguard. More...
 

Protected Member Functions

void addFractures_ (Dune::GridPtr< Grid > &dgfPointer)
 
void finalizeInit_ ()
 
void updateGridView_ ()
 

Detailed Description

template<class TypeTag>
class Opm::DgfVanguard< TypeTag >

Provides a simulator vanguard which creates a grid by parsing a Dune Grid Format (DGF) file.

Constructor & Destructor Documentation

◆ DgfVanguard()

template<class TypeTag >
Opm::DgfVanguard< TypeTag >::DgfVanguard ( Simulator &  simulator)
inline

Member Function Documentation

◆ addFractures_()

template<class TypeTag >
void Opm::DgfVanguard< TypeTag >::addFractures_ ( Dune::GridPtr< Grid > &  dgfPointer)
inlineprotected

◆ finalizeInit_()

◆ fractureMapper() [1/2]

template<class TypeTag >
FractureMapper & Opm::DgfVanguard< TypeTag >::fractureMapper ( )
inline

Returns the fracture mapper.

The fracture mapper determines the topology of the fractures.

◆ fractureMapper() [2/2]

template<class TypeTag >
const FractureMapper & Opm::DgfVanguard< TypeTag >::fractureMapper ( ) const
inline

Returns the fracture mapper.

The fracture mapper determines the topology of the fractures.

◆ grid() [1/2]

template<class TypeTag >
Grid & Opm::DgfVanguard< TypeTag >::grid ( )
inline

Returns a reference to the grid.

◆ grid() [2/2]

template<class TypeTag >
const Grid & Opm::DgfVanguard< TypeTag >::grid ( ) const
inline

Returns a reference to the grid.

◆ gridSequenceNumber()

template<class TypeTag >
int Opm::BaseVanguard< TypeTag >::gridSequenceNumber ( ) const
inlineinherited

Returns the number of times the grid has been changed since its creation.

This basically says how often the grid has been adapted in the current simulation run.

◆ gridView()

template<class TypeTag >
const GridView & Opm::BaseVanguard< TypeTag >::gridView ( ) const
inlineinherited

Returns a reference to the grid view to be used.

Referenced by Opm::DgfVanguard< TypeTag >::addFractures_().

◆ loadBalance()

template<class TypeTag >
void Opm::DgfVanguard< TypeTag >::loadBalance ( )
inline

Distributes the grid on all processes of a parallel computation.

This grid manager plays nice and also distributes the data of the DGF...

◆ registerParameters()

template<class TypeTag >
static void Opm::DgfVanguard< TypeTag >::registerParameters ( )
inlinestatic

Register all run-time parameters for the DGF simulator vanguard.

◆ updateGridView_()

template<class TypeTag >
void Opm::BaseVanguard< TypeTag >::updateGridView_ ( )
inlineprotectedinherited

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