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_;
122 #endif // OPM_VELOCITYINTERPOLATION_HEADER_INCLUDED void setupFluxes(const double *flux) override
Set up fluxes for interpolation.
Definition: VelocityInterpolation.cpp:50
VelocityInterpolationConstant(const UnstructuredGrid &grid)
Constructor.
Definition: VelocityInterpolation.cpp:43
VelocityInterpolationECVI(const UnstructuredGrid &grid)
Constructor.
Definition: VelocityInterpolation.cpp:91
Holds the implementation of the CpGrid as a pimple.
Definition: CellQuadrature.cpp:71
Class capable of computing Wachspress coordinates in 2d and 3d.
Definition: WachspressCoord.hpp:36
virtual void setupFluxes(const double *flux)=0
Set up fluxes for interpolation.
Abstract interface for velocity interpolation method classes.
Definition: VelocityInterpolation.hpp:32
A constant velocity approximation.
Definition: VelocityInterpolation.hpp:57
void interpolate(const int cell, const double *x, double *v) const override
Interpolate velocity.
Definition: VelocityInterpolation.cpp:168
Interpolate velocity using the extended CVI scheme: compute a corner velocity for each cell corner th...
Definition: VelocityInterpolation.hpp:90
void interpolate(const int cell, const double *x, double *v) const override
Interpolate velocity.
Definition: VelocityInterpolation.cpp:61
void setupFluxes(const double *flux) override
Set up fluxes for interpolation.
Definition: VelocityInterpolation.cpp:99
Data structure for an unstructured grid, unstructured meaning that any cell may have an arbitrary num...
Definition: UnstructuredGrid.h:100
virtual void interpolate(const int cell, const double *x, double *v) const =0
Interpolate velocity.