Opm::StructuredGridVanguard< TypeTag > Class Template Reference

Helper class for grid instantiation of the lens problem. More...

#include <structuredgridvanguard.hh>

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

Public Member Functions

 StructuredGridVanguard (Simulator &simulator)
 Create the grid for the lens problem. More...
 
Grid & grid ()
 Return a reference to the grid object. More...
 
const Grid & grid () const
 Return a constant reference to the grid object. 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...
 
void loadBalance ()
 Distribute the grid (and attached data) over all processes. More...
 

Static Public Member Functions

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

Protected Member Functions

void finalizeInit_ ()
 
void updateGridView_ ()
 

Detailed Description

template<class TypeTag>
class Opm::StructuredGridVanguard< TypeTag >

Helper class for grid instantiation of the lens problem.

Constructor & Destructor Documentation

◆ StructuredGridVanguard()

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

Create the grid for the lens problem.

References Opm::BaseVanguard< TypeTag >::finalizeInit_().

Member Function Documentation

◆ finalizeInit_()

◆ grid() [1/2]

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

Return a reference to the grid object.

◆ grid() [2/2]

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

Return a constant reference to the grid object.

◆ 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::BaseVanguard< TypeTag >::loadBalance ( )
inlineinherited

Distribute the grid (and attached data) over all processes.

References Opm::BaseVanguard< TypeTag >::updateGridView_().

◆ registerParameters()

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

Register all run-time parameters for the structured grid simulator vanguard.

◆ updateGridView_()

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

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