My Project
|
Abstract interface for velocity interpolation method classes. More...
#include <VelocityInterpolation.hpp>
Public Member Functions | |
virtual void | setupFluxes (const double *flux)=0 |
Set up fluxes for interpolation. More... | |
virtual void | interpolate (const int cell, const double *x, double *v) const =0 |
Interpolate velocity. More... | |
Abstract interface for velocity interpolation method classes.
|
pure virtual |
Interpolate velocity.
[in] | cell | Cell in which to interpolate. |
[in] | x | Coordinates of point at which to interpolate. Must be array of length grid.dimensions. |
[out] | v | Interpolated velocity. Must be array of length grid.dimensions. |
Implemented in Opm::VelocityInterpolationECVI, and Opm::VelocityInterpolationConstant.
|
pure virtual |
Set up fluxes for interpolation.
[in] | flux | One signed flux per face in the grid. |
Implemented in Opm::VelocityInterpolationECVI, and Opm::VelocityInterpolationConstant.