Opm::BaseVanguard< TypeTag > Class Template Reference

Provides the base class for most (all?) simulator vanguards. More...

#include <basevanguard.hh>

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

Public Member Functions

 BaseVanguard (Simulator &simulator)
 
 BaseVanguard (const BaseVanguard &)=delete
 
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...
 

Protected Member Functions

void finalizeInit_ ()
 
void updateGridView_ ()
 

Detailed Description

template<class TypeTag>
class Opm::BaseVanguard< TypeTag >

Provides the base class for most (all?) simulator vanguards.

Constructor & Destructor Documentation

◆ BaseVanguard() [1/2]

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

◆ BaseVanguard() [2/2]

template<class TypeTag >
Opm::BaseVanguard< TypeTag >::BaseVanguard ( const BaseVanguard< TypeTag > &  )
delete

Member Function Documentation

◆ finalizeInit_()

◆ gridSequenceNumber()

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

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
inline

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 ( )
inline

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

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

◆ updateGridView_()

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

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