VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
D3Q27Interactor Class Reference

A specialized class for grid generation. More...

#include <D3Q27Interactor.h>

Inheritance diagram for D3Q27Interactor:
Interactor3D D3Q27GridWindingInteractor D3Q27TriFaceMeshInteractor

Public Member Functions

 D3Q27Interactor ()
 
 D3Q27Interactor (SPtr< GbObject3D > geoObject3D, SPtr< Grid3D > grid, int type)
 
 D3Q27Interactor (SPtr< GbObject3D > geoObject3D, SPtr< Grid3D > grid, SPtr< BC > BC, int type)
 
 D3Q27Interactor (SPtr< GbObject3D > geoObject3D, SPtr< Grid3D > grid, SPtr< BC > BC, int type, Interactor3D::Accuracy a)
 
 ~D3Q27Interactor () override
 
void setRelevantForForces (const bool &value)
 
bool isRelevantForForces ()
 
virtual void addBC (const SPtr< BC > BC)
 
void deleteBC ()
 
void initInteractor (const real &timeStep=0) override
 
void updateInteractor (const real &timestep=0) override
 
void setReinitWithStoredQs (bool reinitWithStoredQsFlag)
 
void removeSolidBlocks () override
 
void removeBcBlocks () override
 
bool setDifferencesToGbObject3D (const SPtr< Block3D > block) override
 
ObObject * clone ()
 
void writeValidationAVSFile (std::string filename)
 
virtual std::vector< std::pair< GbPoint3D, GbPoint3D > > getQsLineSet ()
 
void addQsLineSet (std::vector< UbTupleFloat3 > &nodes, std::vector< UbTupleInt2 > &lines)
 
const BcNodeIndicesMap & getBcNodeIndicesMap () const
 
- Public Member Functions inherited from Interactor3D
 Interactor3D ()
 
 Interactor3D (SPtr< Grid3D > grid, int type=Interactor3D::SOLID)
 
 Interactor3D (SPtr< GbObject3D > geoObject3D, SPtr< Grid3D > grid, int type)
 
 Interactor3D (SPtr< GbObject3D > geoObject3D, SPtr< Grid3D > grid, int type, Interactor3D::Accuracy a)
 
virtual ~Interactor3D ()
 
void setSolidBlock (SPtr< Block3D > block)
 
void setBCBlock (SPtr< Block3D > block)
 
virtual UbTupleDouble3 getForces ()
 
void setSolid ()
 
void setMoveable ()
 
bool isSolid ()
 
bool isInverseSolid ()
 
bool isTimeDependent ()
 
bool isMoveable ()
 
SPtr< Grid3D > getGrid3D () const
 
void setGrid3D (SPtr< Grid3D > grid)
 
virtual SPtr< GbObject3D > getGbObject3D () const
 
virtual std::vector< SPtr< Block3D > > & getBcBlocks ()
 
virtual std::vector< SPtr< Block3D > > & getSolidBlockSet ()
 
void setID (int id)
 
int getID ()
 
void setActive ()
 
void setInactive ()
 
bool isActive ()
 

Protected Member Functions

void initRayVectors ()
 
- Protected Member Functions inherited from Interactor3D
void setTimeDependent ()
 
void unsetTimeDependent ()
 
bool arePointsInsideGeoObject (real minX1, real minX2, real minX3, real maxX1, real maxX2, real maxX3, real delta)
 
bool arePointsOutsideGeoObject (real minX1, real minX2, real minX3, real maxX1, real maxX2, real maxX3, real delta)
 
bool arePointsCuttingGeoObject (real minX1, real minX2, real minX3, real maxX1, real maxX2, real maxX3, real delta)
 
bool isBlockOutsideGeoObject (real minX1, real minX2, real minX3, real maxX1, real maxX2, real maxX3, real delta)
 
bool isBlockInsideGeoObject (real minX1, real minX2, real minX3, real maxX1, real maxX2, real maxX3, real delta)
 
bool isBlockCuttingGeoObject (real minX1, real minX2, real minX3, real maxX1, real maxX2, real maxX3, real delta)
 
void updateBlocks ()
 

Protected Attributes

bool relevantForForces
 
bool reinitWithStoredQsFlag
 
std::vector< SPtr< BC > > BCs
 
SolidNodeIndicesMap solidNodeIndicesMap
 
BcNodeIndicesMap bcNodeIndicesMap
 
real rayX1 [d3q27_system::FENDDIR+1]
 
real rayX2 [d3q27_system::FENDDIR+1]
 
real rayX3 [d3q27_system::FENDDIR+1]
 
- Protected Attributes inherited from Interactor3D
SPtr< GbObject3D > geoObject3D
 
WPtr< Grid3D > grid
 
int type
 
std::vector< SPtr< Block3D > > bcBlocks
 
std::vector< SPtr< Block3D > > solidBlocks
 
int accuracy
 
bool active
 
int id
 

Additional Inherited Members

- Public Types inherited from Interactor3D
enum  Accuracy { SIMPLE , EDGES , FACES , POINTS }
 
- Static Public Attributes inherited from Interactor3D
static const int SOLID = (1 << 0)
 
static const int INVERSESOLID = (1 << 1)
 
static const int TIMEDEPENDENT = (1 << 2)
 
static const int FLUID = (1 << 3)
 
static const int MOVEABLE = (1 << 4)
 
static const int CHANGENOTNECESSARY = (1 << 5)
 

Detailed Description

A specialized class for grid generation.

Support standard geometric primitives.

Definition at line 62 of file D3Q27Interactor.h.

Member Function Documentation

◆ addBC()

virtual void D3Q27Interactor::addBC ( const SPtr< BC >  BC)
inlinevirtual

Definition at line 76 of file D3Q27Interactor.h.

◆ clone()

ObObject * D3Q27Interactor::clone ( )
inline

Definition at line 97 of file D3Q27Interactor.h.

◆ deleteBC()

void D3Q27Interactor::deleteBC ( )
inline

Definition at line 77 of file D3Q27Interactor.h.

◆ getBcNodeIndicesMap()

const BcNodeIndicesMap & D3Q27Interactor::getBcNodeIndicesMap ( ) const
inline

Definition at line 104 of file D3Q27Interactor.h.

◆ isRelevantForForces()

bool D3Q27Interactor::isRelevantForForces ( )
inline

Definition at line 74 of file D3Q27Interactor.h.

◆ removeBcBlocks()

void D3Q27Interactor::removeBcBlocks ( )
inlineoverridevirtual

Reimplemented from Interactor3D.

Definition at line 89 of file D3Q27Interactor.h.

◆ removeSolidBlocks()

void D3Q27Interactor::removeSolidBlocks ( )
inlineoverridevirtual

Reimplemented from Interactor3D.

Definition at line 84 of file D3Q27Interactor.h.

◆ setReinitWithStoredQs()

void D3Q27Interactor::setReinitWithStoredQs ( bool  reinitWithStoredQsFlag)
inline

Definition at line 82 of file D3Q27Interactor.h.

◆ setRelevantForForces()

void D3Q27Interactor::setRelevantForForces ( const bool &  value)
inline

Definition at line 73 of file D3Q27Interactor.h.

Member Data Documentation

◆ bcNodeIndicesMap

BcNodeIndicesMap D3Q27Interactor::bcNodeIndicesMap
protected

Definition at line 113 of file D3Q27Interactor.h.

◆ BCs

std::vector<SPtr<BC> > D3Q27Interactor::BCs
protected

Definition at line 110 of file D3Q27Interactor.h.

◆ rayX1

real D3Q27Interactor::rayX1[d3q27_system::FENDDIR+1]
protected

Definition at line 116 of file D3Q27Interactor.h.

◆ rayX2

real D3Q27Interactor::rayX2[d3q27_system::FENDDIR+1]
protected

Definition at line 117 of file D3Q27Interactor.h.

◆ rayX3

real D3Q27Interactor::rayX3[d3q27_system::FENDDIR+1]
protected

Definition at line 118 of file D3Q27Interactor.h.

◆ reinitWithStoredQsFlag

bool D3Q27Interactor::reinitWithStoredQsFlag
protected

Definition at line 108 of file D3Q27Interactor.h.

◆ relevantForForces

bool D3Q27Interactor::relevantForForces
protected

Definition at line 107 of file D3Q27Interactor.h.

◆ solidNodeIndicesMap

SolidNodeIndicesMap D3Q27Interactor::solidNodeIndicesMap
protected

Definition at line 112 of file D3Q27Interactor.h.


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