Gradient Augmented Levelset Implementation in CPU & GPU
Euler< T, T_GRID > Class Template Reference

#include <euler.h>

Public Types

using value_type = T
 

Public Member Functions

 Euler ()
 
 ~Euler ()
 
void compute (const T dt, const GALS::CPU::LevelsetVelocity< T_GRID, T > &levelset_velocity, GALS::CPU::Levelset< T_GRID, T > &levelset)
 
void operator() (const T dt, const CPU::LevelsetVelocity< T_GRID, T > &levelset_velocity, GALS::CPU::Levelset< T_GRID, T > &levelset)
 

Detailed Description

template<typename T, typename T_GRID>
class GALS::TEMPORAL_SCHEMES::Euler< T, T_GRID >

Euler scheme for temporal update.

Definition at line 48 of file euler.h.

Member Typedef Documentation

using value_type = T

Definition at line 51 of file euler.h.

Constructor & Destructor Documentation

Euler ( )

Default constructor

Definition at line 37 of file euler.cc.

~Euler ( )

Destructor

Definition at line 42 of file euler.cc.

Member Function Documentation

void compute ( const T  dt,
const GALS::CPU::LevelsetVelocity< T_GRID, T > &  levelset_velocity,
GALS::CPU::Levelset< T_GRID, T > &  levelset 
)

Advect in time.

\(\frac{\phi^{n+1} - \phi^n}{dt} + velocity = 0.\) Ghost cells are not updated during this step.

Parameters
dttime step.
levelset_velocityvelocity term.
levelsetlevelset function that needs to be advected.

Definition at line 47 of file euler.cc.

void operator() ( const T  dt,
const CPU::LevelsetVelocity< T_GRID, T > &  levelset_velocity,
GALS::CPU::Levelset< T_GRID, T > &  levelset 
)
inline

Advect in time.

\(\frac{\phi^{n+1} - \phi^n}{dt} + velocity = 0.\) Ghost cells are not updated during this step.

Parameters
dttime step.
levelset_velocityvelocity term.
levelsetlevelset function that needs to be advected.

Definition at line 82 of file euler.h.


The documentation for this class was generated from the following files: