Gradient Augmented Levelset Implementation in CPU & GPU
|
#include <velocity.h>
Public Member Functions | |
Velocity (const T_GRID &grid, const GALS::INPUT_FIELDS::Velocity &inputs) | |
Velocity ()=delete | |
~Velocity () | |
const T_GRID & | grid () const |
void | compute (const GALS::CPU::Array< T_GRID, GALS::CPU::Vec3< T >> &positions, const T time, GALS::CPU::LevelsetVelocity< T_GRID, T > &levelset_velocity) |
Class to create analytical velocity fields.
Definition at line 61 of file velocity.h.
Velocity | ( | const T_GRID & | grid, |
const GALS::INPUT_FIELDS::Velocity< T_GRID, T > & | inputs | ||
) |
Constructor with grid.
grid | grid. |
inputs | velocity input fields of type GALS::INPUT_FIELDS::Velocity |
Definition at line 39 of file velocity.cc.
|
delete |
Remove default constructor.
~Velocity | ( | ) |
Destructor
Definition at line 45 of file velocity.cc.
void compute | ( | const GALS::CPU::Array< T_GRID, GALS::CPU::Vec3< T >> & | positions, |
const T | time, | ||
GALS::CPU::LevelsetVelocity< T_GRID, T > & | levelset_velocity | ||
) |
Compute velocity field.
positions | array of positions where velocity needs to be computed. |
time | time, for some velocity fields. |
levelset_velocity | velocity field which will be updated by this function. |
Definition at line 50 of file velocity.cc.
|
inline |