Opm::VelocityInterpolationECVI Class Reference

#include <VelocityInterpolation.hpp>

Inheritance diagram for Opm::VelocityInterpolationECVI:
Inheritance graph

Public Member Functions

 VelocityInterpolationECVI (const UnstructuredGrid &grid)
 
virtual void setupFluxes (const double *flux)
 
virtual void interpolate (const int cell, const double *x, double *v) const
 

Detailed Description

Interpolate velocity using the extended CVI scheme: compute a corner velocity for each cell corner that is consistent with fluxes of adjacent faces, then interpolate with generalized barycentric coordinates.

Constructor & Destructor Documentation

Opm::VelocityInterpolationECVI::VelocityInterpolationECVI ( const UnstructuredGrid grid)
explicit

Constructor.

Parameters
[in]gridA grid.

Member Function Documentation

virtual void Opm::VelocityInterpolationECVI::interpolate ( const int  cell,
const double *  x,
double *  v 
) const
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.

Implements Opm::VelocityInterpolationInterface.

virtual void Opm::VelocityInterpolationECVI::setupFluxes ( const double *  flux)
virtual

Set up fluxes for interpolation.

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

Implements Opm::VelocityInterpolationInterface.


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