VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
vf::gpu::OffsetScale Class Reference

#include <OffsetScale.h>

Inheritance diagram for vf::gpu::OffsetScale:
vf::gpu::CoordNeighborGeoV

Public Member Functions

 OffsetScale (std::string ad, bool off)
 
 ~OffsetScale (void)
 
void init ()
 
void initScale (unsigned int *data, unsigned int level)
 
void initOffset ()
 
void initArrayOffset (real *x_ptr, real *y_ptr, real *z_ptr, unsigned int level)
 
- Public Member Functions inherited from vf::gpu::CoordNeighborGeoV
 CoordNeighborGeoV ()
 
 CoordNeighborGeoV (std::string ad, bool binaer, bool coord)
 
 ~CoordNeighborGeoV (void)
 
void init (bool coord)
 
void init_Binary (bool coord)
 
unsigned int getLevel ()
 
unsigned int getSize (unsigned int level)
 
std::vector< unsigned intgetVec (unsigned int level)
 
void setVec (unsigned int level, std::vector< unsigned int > vec)
 
void initalNeighbors (unsigned int *int_ptr, unsigned int level) const
 
void initalCoords (real *int_ptr, unsigned int level) const
 

Additional Inherited Members

- Protected Member Functions inherited from vf::gpu::CoordNeighborGeoV
void skipSpace ()
 
void readLevelSize (unsigned int level)
 
void readNeighbors (unsigned int level)
 
void readCoordinates (unsigned int level)
 
void resizeVectors ()
 
void readLevel ()
 
- Protected Attributes inherited from vf::gpu::CoordNeighborGeoV
std::ifstream file
 
unsigned int maxLevel
 
std::vector< unsigned intlevelSizes
 
std::vector< std::vector< unsigned int > > neighbors
 
std::vector< std::vector< real > > coordinates
 

Detailed Description

Definition at line 43 of file OffsetScale.h.

Constructor & Destructor Documentation

◆ OffsetScale()

vf::gpu::OffsetScale::OffsetScale ( std::string  ad,
bool  off 
)

Definition at line 42 of file OffsetScale.cpp.

◆ ~OffsetScale()

vf::gpu::OffsetScale::~OffsetScale ( void  )

Definition at line 56 of file OffsetScale.cpp.

Member Function Documentation

◆ init()

void vf::gpu::OffsetScale::init ( )

Definition at line 61 of file OffsetScale.cpp.

◆ initArrayOffset()

void vf::gpu::OffsetScale::initArrayOffset ( real x_ptr,
real y_ptr,
real z_ptr,
unsigned int  level 
)

Definition at line 157 of file OffsetScale.cpp.

◆ initOffset()

void vf::gpu::OffsetScale::initOffset ( )

Definition at line 104 of file OffsetScale.cpp.

◆ initScale()

void vf::gpu::OffsetScale::initScale ( unsigned int data,
unsigned int  level 
)

Definition at line 169 of file OffsetScale.cpp.


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