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

#include <CoordNeighborGeoV.h>

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

Public Member Functions

 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
 

Protected Member Functions

void skipSpace ()
 
void readLevelSize (unsigned int level)
 
void readNeighbors (unsigned int level)
 
void readCoordinates (unsigned int level)
 
void resizeVectors ()
 
void readLevel ()
 

Protected Attributes

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 CoordNeighborGeoV.h.

Constructor & Destructor Documentation

◆ CoordNeighborGeoV() [1/2]

vf::gpu::CoordNeighborGeoV::CoordNeighborGeoV ( )

Definition at line 42 of file CoordNeighborGeoV.cpp.

◆ CoordNeighborGeoV() [2/2]

vf::gpu::CoordNeighborGeoV::CoordNeighborGeoV ( std::string  ad,
bool  binaer,
bool  coord 
)

Definition at line 47 of file CoordNeighborGeoV.cpp.

◆ ~CoordNeighborGeoV()

vf::gpu::CoordNeighborGeoV::~CoordNeighborGeoV ( void  )

Definition at line 61 of file CoordNeighborGeoV.cpp.

Member Function Documentation

◆ getLevel()

unsigned int vf::gpu::CoordNeighborGeoV::getLevel ( )

Definition at line 157 of file CoordNeighborGeoV.cpp.

◆ getSize()

unsigned int vf::gpu::CoordNeighborGeoV::getSize ( unsigned int  level)

Definition at line 162 of file CoordNeighborGeoV.cpp.

◆ getVec()

std::vector< unsigned int > vf::gpu::CoordNeighborGeoV::getVec ( unsigned int  level)

Definition at line 168 of file CoordNeighborGeoV.cpp.

◆ init()

void vf::gpu::CoordNeighborGeoV::init ( bool  coord)

Definition at line 66 of file CoordNeighborGeoV.cpp.

◆ init_Binary()

void vf::gpu::CoordNeighborGeoV::init_Binary ( bool  coord)

Definition at line 102 of file CoordNeighborGeoV.cpp.

◆ initalCoords()

void vf::gpu::CoordNeighborGeoV::initalCoords ( real int_ptr,
unsigned int  level 
) const

Definition at line 181 of file CoordNeighborGeoV.cpp.

◆ initalNeighbors()

void vf::gpu::CoordNeighborGeoV::initalNeighbors ( unsigned int int_ptr,
unsigned int  level 
) const

Definition at line 187 of file CoordNeighborGeoV.cpp.

◆ readCoordinates()

void vf::gpu::CoordNeighborGeoV::readCoordinates ( unsigned int  level)
protected

Definition at line 143 of file CoordNeighborGeoV.cpp.

◆ readLevel()

void vf::gpu::CoordNeighborGeoV::readLevel ( )
protected

Definition at line 97 of file CoordNeighborGeoV.cpp.

◆ readLevelSize()

void vf::gpu::CoordNeighborGeoV::readLevelSize ( unsigned int  level)
protected

Definition at line 124 of file CoordNeighborGeoV.cpp.

◆ readNeighbors()

void vf::gpu::CoordNeighborGeoV::readNeighbors ( unsigned int  level)
protected

Definition at line 129 of file CoordNeighborGeoV.cpp.

◆ resizeVectors()

void vf::gpu::CoordNeighborGeoV::resizeVectors ( )
protected

Definition at line 90 of file CoordNeighborGeoV.cpp.

◆ setVec()

void vf::gpu::CoordNeighborGeoV::setVec ( unsigned int  level,
std::vector< unsigned int vec 
)

Definition at line 173 of file CoordNeighborGeoV.cpp.

◆ skipSpace()

void vf::gpu::CoordNeighborGeoV::skipSpace ( )
protected

Definition at line 193 of file CoordNeighborGeoV.cpp.

Member Data Documentation

◆ coordinates

std::vector< std::vector< real> > vf::gpu::CoordNeighborGeoV::coordinates
protected

Definition at line 50 of file CoordNeighborGeoV.h.

◆ file

std::ifstream vf::gpu::CoordNeighborGeoV::file
protected

Definition at line 46 of file CoordNeighborGeoV.h.

◆ levelSizes

std::vector<unsigned int> vf::gpu::CoordNeighborGeoV::levelSizes
protected

Definition at line 48 of file CoordNeighborGeoV.h.

◆ maxLevel

unsigned int vf::gpu::CoordNeighborGeoV::maxLevel
protected

Definition at line 47 of file CoordNeighborGeoV.h.

◆ neighbors

std::vector< std::vector<unsigned int> > vf::gpu::CoordNeighborGeoV::neighbors
protected

Definition at line 49 of file CoordNeighborGeoV.h.


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