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

#include <levelset.h>

Public Member Functions

 Levelset (const T_GRID &grid, const GALS::INPUT_FIELDS::Levelset &inputs)
 
 Levelset ()=delete
 
 ~Levelset ()
 
const T_GRID & grid () const
 
void compute (const GALS::CPU::Array< T_GRID, GALS::CPU::Vec3< T >> &positions, GALS::CPU::Levelset< T_GRID, T > &levelset)
 

Detailed Description

template<typename T_GRID, typename T = double>
class GALS::ANALYTICAL_FIELDS::Levelset< T_GRID, T >

Class to create analytical levelset fields.

Definition at line 61 of file levelset.h.

Constructor & Destructor Documentation

Levelset ( const T_GRID &  grid,
const GALS::INPUT_FIELDS::Levelset< T_GRID, T > &  inputs 
)

Constructor with grid.

Parameters
gridgrid.
inputslevelset input fields of type GALS::INPUT_FIELDS::Levelset

Definition at line 36 of file levelset.cc.

Levelset ( )
delete

Remove default constructor.

~Levelset ( )

Destructor

Definition at line 42 of file levelset.cc.

Member Function Documentation

void compute ( const GALS::CPU::Array< T_GRID, GALS::CPU::Vec3< T >> &  positions,
GALS::CPU::Levelset< T_GRID, T > &  levelset 
)

Compute levelset field.

Parameters
positionsarray of positions where levelset needs to be computed.
levelsetlevelset field which will be updated by this function.

Definition at line 47 of file levelset.cc.

const T_GRID& grid ( ) const
inline

Return grid.

Returns
grid.

Definition at line 83 of file levelset.h.


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