Opm::VelocityInterpolationInterface Class Referenceabstract

Abstract interface for velocity interpolation method classes. More...

#include <VelocityInterpolation.hpp>

Inheritance diagram for Opm::VelocityInterpolationInterface:
Inheritance graph

Public Member Functions

virtual ~VelocityInterpolationInterface ()
 
virtual void setupFluxes (const double *flux)=0
 
virtual void interpolate (const int cell, const double *x, double *v) const =0
 

Detailed Description

Abstract interface for velocity interpolation method classes.

Constructor & Destructor Documentation

virtual Opm::VelocityInterpolationInterface::~VelocityInterpolationInterface ( )
virtual

Member Function Documentation

virtual void Opm::VelocityInterpolationInterface::interpolate ( const int  cell,
const double *  x,
double *  v 
) const
pure virtual

Interpolate velocity.

Parameters
[in]cellCell in which to interpolate.
[in]xCoordinates of point at which to interpolate. Must be array of length grid.dimensions.
[out]vInterpolated velocity. Must be array of length grid.dimensions.

Implemented in Opm::VelocityInterpolationECVI, and Opm::VelocityInterpolationConstant.

virtual void Opm::VelocityInterpolationInterface::setupFluxes ( const double *  flux)
pure virtual

Set up fluxes for interpolation.

Parameters
[in]fluxOne signed flux per face in the grid.

Implemented in Opm::VelocityInterpolationECVI, and Opm::VelocityInterpolationConstant.


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