The base class for the element-centered finite-volume discretization scheme. More...

#include <ecfvdiscretization.hh>

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

Public Member Functions

 EcfvDiscretization (Simulator &simulator)
 
size_t numGridDof () const
 Returns the number of global degrees of freedom (DOFs) due to the grid. More...
 
const DofMapper & dofMapper () const
 Mapper to convert the Dune entities of the discretization's degrees of freedoms are to indices. More...
 
void syncOverlap ()
 Syncronize the values of the primary variables on the degrees of freedom that overlap with the neighboring processes. More...
 
template<class Restarter >
void serialize (Restarter &res)
 Serializes the current state of the model. More...
 
template<class Restarter >
void deserialize (Restarter &res)
 Deserializes the state of the model. More...
 

Static Public Member Functions

static std::string discretizationName ()
 Returns a string of discretization's human-readable name. More...
 

Detailed Description

template<class TypeTag>
class Opm::EcfvDiscretization< TypeTag >

The base class for the element-centered finite-volume discretization scheme.

Constructor & Destructor Documentation

◆ EcfvDiscretization()

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

Member Function Documentation

◆ deserialize()

template<class TypeTag >
template<class Restarter >
void Opm::EcfvDiscretization< TypeTag >::deserialize ( Restarter &  res)
inline

Deserializes the state of the model.

Template Parameters
RestarterThe type of the serializer class
Parameters
resThe serializer object

◆ discretizationName()

template<class TypeTag >
static std::string Opm::EcfvDiscretization< TypeTag >::discretizationName ( )
inlinestatic

Returns a string of discretization's human-readable name.

◆ dofMapper()

template<class TypeTag >
const DofMapper & Opm::EcfvDiscretization< TypeTag >::dofMapper ( ) const
inline

Mapper to convert the Dune entities of the discretization's degrees of freedoms are to indices.

Referenced by Opm::EcfvDiscretization< TypeTag >::syncOverlap().

◆ numGridDof()

template<class TypeTag >
size_t Opm::EcfvDiscretization< TypeTag >::numGridDof ( ) const
inline

Returns the number of global degrees of freedom (DOFs) due to the grid.

◆ serialize()

template<class TypeTag >
template<class Restarter >
void Opm::EcfvDiscretization< TypeTag >::serialize ( Restarter &  res)
inline

Serializes the current state of the model.

Template Parameters
RestarterThe type of the serializer class
Parameters
resThe serializer object

◆ syncOverlap()

template<class TypeTag >
void Opm::EcfvDiscretization< TypeTag >::syncOverlap ( )
inline

Syncronize the values of the primary variables on the degrees of freedom that overlap with the neighboring processes.

For the Element Centered Finite Volume discretization, this method retrieves the primary variables corresponding to overlap/ghost elements from their respective master process.

References Opm::EcfvDiscretization< TypeTag >::dofMapper().


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