Gradient Augmented Levelset Implementation in CPU & GPU
|
#include <interpolate.h>
Public Types | |
using | value_type = T |
Public Member Functions | |
Interpolate () | |
~Interpolate () | |
Static Public Member Functions | |
static void | compute (const Array< T_GRID, typename T_GRID::position_type > &x_interp, const Array< T_GRID, T > &alpha, Array< T_GRID, T > &alpha_interpolated) |
static void | compute (const Array< T_GRID, typename T_GRID::position_type > &x_interp, GALS::CPU::Levelset< T_GRID, double > &levelset) |
Class to perform interpolation. Default interpolation scheme is set to GALS::INTERPOLATION::Linear<...>.
Definition at line 51 of file interpolate.h.
using value_type = T |
Definition at line 54 of file interpolate.h.
Interpolate | ( | ) |
Default constructor
Definition at line 35 of file interpolate.cc.
~Interpolate | ( | ) |
Destructor
Definition at line 40 of file interpolate.cc.
|
static |
Compute interpolation of a scalar.
x_interp | interpolation points. |
alpha | variable to interpolate. |
alpha_interpolated | interpolated values are written to this variable. |
Definition at line 45 of file interpolate.cc.
|
static |
Compute interpolation of a levelset field.
Depending on the interpolation scheme, phi and/or psi will be computed and the corresponding member variables of Levelset class are updated. Variables of _prev
are used to updated _interp_prev
variables.
x_interp | interpolation points. |
levelset | variable whose members will be used and udpated during interpolation. |
Definition at line 53 of file interpolate.cc.