|
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. | |
| virtual void | interpolate (const int cell, const double *x, double *v) const =0 |
| Interpolate velocity. | |
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::VelocityInterpolationConstant, and Opm::VelocityInterpolationECVI.
|
pure virtual |
Set up fluxes for interpolation.
| [in] | flux | One signed flux per face in the grid. |
Implemented in Opm::VelocityInterpolationConstant, and Opm::VelocityInterpolationECVI.