Opm::UnstructuredGridVanguard< TypeTag > Class Template Reference

Provides a simulator vanguard which creates a grid by parsing an unstructured grid file. More...

#include <unstructuredgridvanguard.hh>

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

Public Member Functions

 UnstructuredGridVanguard (Simulator &simulator)
 Load the grid from the file. 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 unstructured grid simulator vanguard. More...
 

Protected Member Functions

void finalizeInit_ ()
 
void updateGridView_ ()
 

Detailed Description

template<class TypeTag>
class Opm::UnstructuredGridVanguard< TypeTag >

Provides a simulator vanguard which creates a grid by parsing an unstructured grid file.

Constructor & Destructor Documentation

◆ UnstructuredGridVanguard()

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

Member Function Documentation

◆ finalizeInit_()

◆ grid() [1/2]

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

Return a reference to the grid object.

Referenced by Opm::UnstructuredGridVanguard< TypeTag >::UnstructuredGridVanguard().

◆ grid() [2/2]

template<class TypeTag >
const Grid & Opm::UnstructuredGridVanguard< 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::UnstructuredGridVanguard< TypeTag >::registerParameters ( )
inlinestatic

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

◆ updateGridView_()

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

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