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)
 
 Levelset ()=delete
 
 ~Levelset ()
 
const T_GRID & grid () const
 
Array< T_GRID, T > & phi ()
 
const Array< T_GRID, T > & phi () const
 
Array< T_GRID, Vec3< T > > & psi ()
 
const Array< T_GRID, Vec3< T > > & psi () const
 
Array< T_GRID, VecN< T, T_GRID::num_mixed_derivatives > > & phiMixedDerivatives ()
 
const Array< T_GRID, VecN< T, T_GRID::num_mixed_derivatives > > & phiMixedDerivatives () const
 
Array< T_GRID, T > & phiPrev ()
 
const Array< T_GRID, T > & phiPrev () const
 
Array< T_GRID, Vec3< T > > & psiPrev ()
 
const Array< T_GRID, Vec3< T > > & psiPrev () const
 
Array< T_GRID, VecN< T, T_GRID::num_mixed_derivatives > > & phiMixedDerivativesPrev ()
 
const Array< T_GRID, VecN< T, T_GRID::num_mixed_derivatives > > & phiMixedDerivativesPrev () const
 
Array< T_GRID, T > & phiInterpPrev ()
 
const Array< T_GRID, T > & phiInterpPrev () const
 
Array< T_GRID, Vec3< T > > & psiInterpPrev ()
 
const Array< T_GRID, Vec3< T > > & psiInterpPrev () const
 
void print ()
 Print levelset values. More...
 

Detailed Description

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

Class to create Levelset.

Definition at line 70 of file levelset.h.

Constructor & Destructor Documentation

Levelset ( const T_GRID &  grid)

Constructor with grid.

Parameters
gridgrid.

Definition at line 37 of file levelset.cc.

Levelset ( )
delete

Remove default constructor.

~Levelset ( )

Destructor

Definition at line 51 of file levelset.cc.

Member Function Documentation

const T_GRID& grid ( ) const
inline

Return grid.

Returns
grid.

Definition at line 91 of file levelset.h.

Array<T_GRID, T>& phi ( )
inline

Return phi.

Returns
phi.

Definition at line 97 of file levelset.h.

const Array<T_GRID, T>& phi ( ) const
inline

Return phi.

Returns
phi.

Definition at line 103 of file levelset.h.

Array<T_GRID, T>& phiInterpPrev ( )
inline

Return phi_interp_prev.

Returns
phi_interp_prev.

Definition at line 178 of file levelset.h.

const Array<T_GRID, T>& phiInterpPrev ( ) const
inline

Return phi_interp_prev.

Returns
phi_interp_prev.

Definition at line 184 of file levelset.h.

Array<T_GRID, VecN<T, T_GRID::num_mixed_derivatives> >& phiMixedDerivatives ( )
inline

Return phi_mixed_derivatives.

Returns
phi_mixed_derivatives.

Definition at line 121 of file levelset.h.

const Array<T_GRID, VecN<T, T_GRID::num_mixed_derivatives> >& phiMixedDerivatives ( ) const
inline

Return phi_mixed_derivatives.

Returns
phi_mixed_derivatives.

Definition at line 127 of file levelset.h.

Array<T_GRID, VecN<T, T_GRID::num_mixed_derivatives> >& phiMixedDerivativesPrev ( )
inline

Return phi_mixed_derivatives_prev.

Returns
phi_mixed_derivatives_prev.

Definition at line 160 of file levelset.h.

const Array<T_GRID, VecN<T, T_GRID::num_mixed_derivatives> >& phiMixedDerivativesPrev ( ) const
inline

Return phi_mixed_derivatives_prev.

Returns
phi_mixed_derivatives_prev.

Definition at line 169 of file levelset.h.

Array<T_GRID, T>& phiPrev ( )
inline

Return phi_prev.

Returns
phi_prev.

Definition at line 136 of file levelset.h.

const Array<T_GRID, T>& phiPrev ( ) const
inline

Return phi_prev.

Returns
phi_prev.

Definition at line 142 of file levelset.h.

void print ( )

Print levelset values.

Definition at line 56 of file levelset.cc.

Array<T_GRID, Vec3<T> >& psi ( )
inline

Return psi.

Returns
psi.

Definition at line 109 of file levelset.h.

const Array<T_GRID, Vec3<T> >& psi ( ) const
inline

Return psi.

Returns
psi.

Definition at line 115 of file levelset.h.

Array<T_GRID, Vec3<T> >& psiInterpPrev ( )
inline

Return psi_interp_prev.

Returns
psi_interp_prev.

Definition at line 190 of file levelset.h.

const Array<T_GRID, Vec3<T> >& psiInterpPrev ( ) const
inline

Return psi_interp_prev.

Returns
psi_interp_prev.

Definition at line 196 of file levelset.h.

Array<T_GRID, Vec3<T> >& psiPrev ( )
inline

Return psi_prev.

Returns
psi_prev.

Definition at line 148 of file levelset.h.

const Array<T_GRID, Vec3<T> >& psiPrev ( ) const
inline

Return psi_prev.

Returns
psi_prev.

Definition at line 154 of file levelset.h.


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