20#ifndef OPM_VELOCITYINTERPOLATION_HEADER_INCLUDED
21#define OPM_VELOCITYINTERPOLATION_HEADER_INCLUDED
23#include <opm/grid/utility/WachspressCoord.hpp>
76 double* v)
const override;
109 double* v)
const override;
113 mutable std::vector<double> bary_coord_;
114 std::vector<double> corner_velocity_;
A constant velocity approximation.
Definition VelocityInterpolation.hpp:58
void setupFluxes(const double *flux) override
Set up fluxes for interpolation.
Definition VelocityInterpolation.cpp:50
void interpolate(const int cell, const double *x, double *v) const override
Interpolate velocity.
Definition VelocityInterpolation.cpp:61
Interpolate velocity using the extended CVI scheme: compute a corner velocity for each cell corner th...
Definition VelocityInterpolation.hpp:91
void setupFluxes(const double *flux) override
Set up fluxes for interpolation.
Definition VelocityInterpolation.cpp:99
void interpolate(const int cell, const double *x, double *v) const override
Interpolate velocity.
Definition VelocityInterpolation.cpp:168
Abstract interface for velocity interpolation method classes.
Definition VelocityInterpolation.hpp:33
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.
Class capable of computing Wachspress coordinates in 2d and 3d.
Definition WachspressCoord.hpp:37
Holds the implementation of the CpGrid as a pimple.
Definition CellQuadrature.cpp:68
Data structure for an unstructured grid, unstructured meaning that any cell may have an arbitrary num...
Definition UnstructuredGrid.h:101