Blender V2.61 - r43446
Public Types | Public Member Functions | Protected Attributes

LbmSolverInterface Class Reference

#include <solver_interface.h>

Inheritance diagram for LbmSolverInterface:
Inheritance graph
[legend]

List of all members.

Public Types

typedef CellIdentifierInterfaceCellIdentifier

Public Member Functions

 LbmSolverInterface ()
 Constructor.
virtual ~LbmSolverInterface ()
 Destructor.
virtual string getIdString ()=0
 id string of solver
virtual bool initializeSolverMemory ()=0
virtual bool initializeSolverGrids ()=0
virtual bool initializeSolverPostinit ()=0
virtual void notifySolverOfDump (int dumptype, int frameNr, char *frameNrStr, string outfilename)=0
CellFlagType readBoundaryFlagInt (string name, int defaultValue, string source, string target, bool needed)
void parseStdAttrList ()
virtual void parseAttrList ()=0
virtual void step ()=0
virtual void prepareVisualization ()
virtual int initParticles ()=0
virtual void advanceParticles ()=0
IsoSurfacegetSurfaceGeoObj ()
virtual vector
< ntlGeometryObject * > 
getDebugObjects ()
virtual void setSurfGenSettings (short value)=0
virtual void debugDisplay (int)=0
void initGeoTree ()
void freeGeoTree ()
bool geoInitCheckPointInside (ntlVec3Gfx org, int flags, int &OId, gfxReal &distance, int shootDir=0)
bool geoInitCheckPointInside (ntlVec3Gfx org, ntlVec3Gfx dir, int flags, int &OId, gfxReal &distance, const gfxReal halfCellsize, bool &thinHit, bool recurse)
void setRenderGlobals (ntlRenderGlobals *glob)
ntlVec3Gfx getGeoMaxMovementVelocity (LbmFloat simtime, LbmFloat stepsize)
unsigned int getIsoVertexCount ()
unsigned int getIsoIndexCount ()
char * getIsoVertexArray ()
unsigned int * getIsoIndexArray ()
void triangulateSurface ()
int getSizeX (void)
int getSizeY (void)
int getSizeZ (void)
void setSizeX (int ns)
void setSizeY (int ns)
void setSizeZ (int ns)
void setAllfluid (bool set)
bool getAllfluid ()
void setAttrList (AttributeList *set)
AttributeListgetAttributeList ()
void setSwsAttrList (AttributeList *set)
AttributeListgetSwsAttributeList ()
void setParametrizer (Parametrizer *set)
ParametrizergetParametrizer ()
void setParticleTracer (ParticleTracer *set)
ParticleTracergetParticleTracer ()
void setInitDensityGradient (bool set)
void setGeoStart (ntlVec3Gfx set)
ntlVec3Gfx getGeoStart () const
void setGeoEnd (ntlVec3Gfx set)
ntlVec3Gfx getGeoEnd () const
void setLbmInitId (int set)
int getLbmInitId () const
void initDomainTrafo (float *mat)
ntlMatrix4x4< gfxReal > * getDomainTrafo ()
void setName (string set)
string getName () const
string getNodeInfoString () const
bool getPanic ()
void setSilent (bool set)
 set silent mode?
void setSmoothing (float setss, float setns)
 set amount of surface/normal smoothing
void setIsoSubdivs (int s)
 set amount of iso subdivisions
void setPreviewSize (int set)
 set desired refinement
void setRefinementDesired (int set)
 set desired refinement
void setDumpVelocities (bool set)
 set/get dump velocities flag
bool getDumpVelocities () const
void setGenerateParticles (LbmFloat set)
 set/get particle generation prob.
LbmFloat getGenerateParticles () const
void setDomainBound (string set)
 set/get dump velocities flag
string getDomainBound () const
void setDomainPartSlip (LbmFloat set)
 set/get dump velocities flag
LbmFloat getDomainPartSlip () const
void setFarFieldSize (LbmFloat set)
 set/get far field size
LbmFloat getFarFieldSize () const
void setCpStage (int set)
 set/get cp stage
int getCpStage () const
void setDumpRawText (bool set)
 set/get dump modes
bool getDumpRawText () const
void setDumpRawBinary (bool set)
bool getDumpRawBinary () const
void setDumpRawBinaryZip (bool set)
bool getDumpRawBinaryZip () const
void setDebugVelScale (LbmFloat set)
 set/get debug vel scale
LbmFloat getDebugVelScale () const
virtual CellIdentifierInterfacegetFirstCell ()=0
 cell iteration methods
virtual void advanceCell (CellIdentifierInterface *)=0
virtual bool noEndCell (CellIdentifierInterface *)=0
virtual void deleteCellIterator (CellIdentifierInterface **)=0
 clean up iteration, this should be called, when the iteration is not completely finished
virtual CellIdentifierInterfacegetCellAt (ntlVec3Gfx pos)=0
 find cell at a given position (returns NULL if not in domain)
virtual int getCellSet (CellIdentifierInterface *)=0
 return node information
virtual ntlVec3Gfx getCellOrigin (CellIdentifierInterface *)=0
virtual ntlVec3Gfx getCellSize (CellIdentifierInterface *)=0
virtual int getCellLevel (CellIdentifierInterface *)=0
virtual LbmFloat getCellDensity (CellIdentifierInterface *, int)=0
virtual LbmVec getCellVelocity (CellIdentifierInterface *, int)=0
virtual LbmFloat getEquilDf (int)=0
virtual LbmFloat getCellDf (CellIdentifierInterface *, int set, int dir)=0
virtual LbmFloat getCellMass (CellIdentifierInterface *, int set)=0
virtual LbmFloat getCellFill (CellIdentifierInterface *, int set)=0
virtual CellFlagType getCellFlag (CellIdentifierInterface *, int set)=0
virtual ntlVec3Gfx getVelocityAt (float x, float y, float z)=0
virtual void debugDisplayNode (int dispset, CellIdentifier cell)=0
virtual void lbmDebugDisplay (int dispset)=0
virtual void lbmMarkedCellDisplay ()=0
virtual void debugPrintNodeInfo (CellIdentifier cell, int forceSet=-1)=0
void addCellToMarkedList (CellIdentifierInterface *cid)
 add cell to mMarkedCells list
CellIdentifierInterfacemarkedGetFirstCell ()
 marked cell iteration methods
CellIdentifierInterfacemarkedAdvanceCell ()
void markedClearList ()

Protected Attributes

bool mPanic
int mSizex
int mSizey
int mSizez
bool mAllfluid
int mStepCnt
LbmFloat mFixMass
LbmFloat mOmega
LbmVec mGravity
LbmFloat mSurfaceTension
CellFlagType mBoundaryEast
CellFlagType mBoundaryWest
CellFlagType mBoundaryNorth
CellFlagType mBoundarySouth
CellFlagType mBoundaryTop
CellFlagType mBoundaryBottom
int mInitDone
bool mInitDensityGradient
AttributeListmpSifAttrs
AttributeListmpSifSwsAttrs
ParametrizermpParam
ParticleTracermpParticles
 store particle tracer
int mNumParticlesLost
int mNumInvalidDfs
int mNumFilledCells
int mNumEmptiedCells
int mNumUsedCells
LbmFloat mMLSUPS
LbmFloat mDebugVelScale
string mNodeInfoString
ntlVec3Gfx mvGeoStart
ntlVec3Gfx mvGeoEnd
ntlMatrix4x4< gfxReal > * mpSimTrafo
 domain vertex trafos
bool mAccurateGeoinit
string mName
IsoSurfacempIso
 Mcubes object for surface reconstruction.
LbmFloat mIsoValue
bool mSilent
 debug output?
int mLbmInitId
ntlTreempGiTree
vector< ntlGeometryObject * > * mpGiObjects
vector< int > mGiObjInside
vector< gfxRealmGiObjDistance
vector< gfxRealmGiObjSecondDist
ntlRenderGlobalsmpGlob
int mRefinementDesired
 use refinement/coarsening?
int mOutputSurfacePreview
 output surface preview? if >0 yes, and use as reduzed size
LbmFloat mPreviewFactor
float mSmoothSurface
float mSmoothNormals
int mIsoSubdivs
LbmFloat mPartGenProb
 particle generation probability
bool mDumpVelocities
 dump velocities?
vector< CellIdentifierInterface * > mMarkedCells
int mMarkedCellIndex
string mDomainBound
 domain boundary free/no slip type
LbmFloat mDomainPartSlipValue
 part slip value for domain
LbmFloat mFarFieldSize
LbmFloat mPartDropMassSub
bool mPartUsePhysModel
LbmFloat mTForceStrength
 test vars
int mCppfStage
bool mDumpRawText
 dumping modes
bool mDumpRawBinary
bool mDumpRawBinaryZip

Detailed Description

class defining abstract function interface

Definition at line 234 of file solver_interface.h.


Member Typedef Documentation

Definition at line 408 of file solver_interface.h.


Constructor & Destructor Documentation

LbmSolverInterface::LbmSolverInterface ( )
LbmSolverInterface::~LbmSolverInterface ( ) [virtual]

Destructor.

Definition at line 86 of file solver_interface.cpp.

References mpSimTrafo.


Member Function Documentation

void LbmSolverInterface::addCellToMarkedList ( CellIdentifierInterface cid)

add cell to mMarkedCells list

cell iteration functions

Definition at line 643 of file solver_interface.cpp.

References equal(), i, and mMarkedCells.

Referenced by LbmFsgrSolver::debugMarkCellCall().

virtual void LbmSolverInterface::advanceCell ( CellIdentifierInterface ) [pure virtual]
virtual void LbmSolverInterface::advanceParticles ( ) [pure virtual]

Implemented in LbmFsgrSolver.

virtual void LbmSolverInterface::debugDisplay ( int  ) [pure virtual]

show simulation info

Implemented in LbmFsgrSolver.

Referenced by SimulationObject::drawDebugDisplay().

virtual void LbmSolverInterface::debugDisplayNode ( int  dispset,
CellIdentifier  cell 
) [pure virtual]
virtual void LbmSolverInterface::debugPrintNodeInfo ( CellIdentifier  cell,
int  forceSet = -1 
) [pure virtual]
virtual void LbmSolverInterface::deleteCellIterator ( CellIdentifierInterface **  ) [pure virtual]

clean up iteration, this should be called, when the iteration is not completely finished

Implemented in LbmFsgrSolver.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::freeGeoTree ( )

destroy tree etc. when geometry init done

Definition at line 336 of file solver_interface.cpp.

References mpGiTree, and NULL.

Referenced by LbmFsgrSolver::initGeometryFlags().

bool LbmSolverInterface::geoInitCheckPointInside ( ntlVec3Gfx  org,
int  flags,
int &  OId,
gfxReal distance,
int  shootDir = 0 
)

check for a certain flag type at position org (needed for e.g. quadtree refinement)

check for a certain flag type at position org

Definition at line 348 of file solver_interface.cpp.

References distance(), dot(), errMsg, ntlRay::getDirection(), ntlTriangle::getObjectId(), ntlRay::getOrigin(), getVecEpsilon(), globGeoInitDebug, globGICPIProblems, i, ntlTree::intersect(), ntlTree::intersectX(), mAccurateGeoinit, mGiObjDistance, mGiObjInside, mGiObjSecondDist, mpGiObjects, mpGiTree, mpGlob, and NULL.

Referenced by geoInitCheckPointInside(), and LbmFsgrSolver::initGeometryFlags().

bool LbmSolverInterface::geoInitCheckPointInside ( ntlVec3Gfx  org,
ntlVec3Gfx  dir,
int  flags,
int &  OId,
gfxReal distance,
const gfxReal  halfCellsize,
bool &  thinHit,
bool  recurse 
)
bool LbmSolverInterface::getAllfluid ( ) [inline]

Definition at line 314 of file solver_interface.h.

References mAllfluid.

AttributeList* LbmSolverInterface::getAttributeList ( ) [inline]

Returns the attribute list pointer

Definition at line 319 of file solver_interface.h.

References mpSifAttrs.

virtual CellIdentifierInterface* LbmSolverInterface::getCellAt ( ntlVec3Gfx  pos) [pure virtual]

find cell at a given position (returns NULL if not in domain)

Implemented in LbmFsgrSolver.

Referenced by SimulationObject::setMousePos().

virtual LbmFloat LbmSolverInterface::getCellDensity ( CellIdentifierInterface ,
int   
) [pure virtual]

Implemented in LbmFsgrSolver.

virtual LbmFloat LbmSolverInterface::getCellDf ( CellIdentifierInterface ,
int  set,
int  dir 
) [pure virtual]

redundant cell functions

Implemented in LbmFsgrSolver.

virtual LbmFloat LbmSolverInterface::getCellFill ( CellIdentifierInterface ,
int  set 
) [pure virtual]

Implemented in LbmFsgrSolver.

virtual CellFlagType LbmSolverInterface::getCellFlag ( CellIdentifierInterface ,
int  set 
) [pure virtual]
virtual int LbmSolverInterface::getCellLevel ( CellIdentifierInterface ) [pure virtual]

Implemented in LbmFsgrSolver.

virtual LbmFloat LbmSolverInterface::getCellMass ( CellIdentifierInterface ,
int  set 
) [pure virtual]

Implemented in LbmFsgrSolver.

virtual ntlVec3Gfx LbmSolverInterface::getCellOrigin ( CellIdentifierInterface ) [pure virtual]

Implemented in LbmFsgrSolver.

virtual int LbmSolverInterface::getCellSet ( CellIdentifierInterface ) [pure virtual]

return node information

Implemented in LbmFsgrSolver.

virtual ntlVec3Gfx LbmSolverInterface::getCellSize ( CellIdentifierInterface ) [pure virtual]

Implemented in LbmFsgrSolver.

virtual LbmVec LbmSolverInterface::getCellVelocity ( CellIdentifierInterface ,
int   
) [pure virtual]

Implemented in LbmFsgrSolver.

int LbmSolverInterface::getCpStage ( ) const [inline]

Definition at line 393 of file solver_interface.h.

References mCppfStage.

virtual vector<ntlGeometryObject*> LbmSolverInterface::getDebugObjects ( ) [inline, virtual]

debug object display

Reimplemented in LbmFsgrSolver.

Definition at line 272 of file solver_interface.h.

References credits_svn_gen::empty.

Referenced by SimulationObject::initializeLbmSimulation().

LbmFloat LbmSolverInterface::getDebugVelScale ( ) const [inline]

Definition at line 403 of file solver_interface.h.

References mDebugVelScale.

string LbmSolverInterface::getDomainBound ( ) const [inline]

Definition at line 384 of file solver_interface.h.

References mDomainBound.

LbmFloat LbmSolverInterface::getDomainPartSlip ( ) const [inline]

Definition at line 387 of file solver_interface.h.

References mDomainPartSlipValue.

ntlMatrix4x4<gfxReal>* LbmSolverInterface::getDomainTrafo ( ) [inline]

get domain transformation matrix to have object centered fluid vertices

Definition at line 350 of file solver_interface.h.

References mpSimTrafo.

Referenced by ntlBlenderDumper::renderScene().

bool LbmSolverInterface::getDumpRawBinary ( ) const [inline]

Definition at line 398 of file solver_interface.h.

References mDumpRawBinary.

bool LbmSolverInterface::getDumpRawBinaryZip ( ) const [inline]

Definition at line 400 of file solver_interface.h.

References mDumpRawBinaryZip.

bool LbmSolverInterface::getDumpRawText ( ) const [inline]

Definition at line 396 of file solver_interface.h.

References mDumpRawText.

bool LbmSolverInterface::getDumpVelocities ( ) const [inline]
virtual LbmFloat LbmSolverInterface::getEquilDf ( int  ) [pure virtual]

get equilibrium distribution functions

Implemented in LbmFsgrSolver.

LbmFloat LbmSolverInterface::getFarFieldSize ( ) const [inline]

Definition at line 390 of file solver_interface.h.

References mFarFieldSize.

virtual CellIdentifierInterface* LbmSolverInterface::getFirstCell ( ) [pure virtual]

cell iteration methods

Implemented in LbmFsgrSolver.

Referenced by SimulationObject::initializeLbmSimulation().

LbmFloat LbmSolverInterface::getGenerateParticles ( ) const [inline]

Definition at line 380 of file solver_interface.h.

References mPartGenProb.

Referenced by SimulationObject::initializeLbmSimulation().

ntlVec3Gfx LbmSolverInterface::getGeoEnd ( ) const [inline]

Definition at line 341 of file solver_interface.h.

References mvGeoEnd.

Referenced by SimulationObject::initializeLbmSimulation().

ntlVec3Gfx LbmSolverInterface::getGeoMaxMovementVelocity ( LbmFloat  simtime,
LbmFloat  stepsize 
)

get max. velocity of all objects to initialize as fluid regions, and of all moving objects

Definition at line 609 of file solver_interface.cpp.

References errMsg, FGI_FLUID, FGI_MBNDINFLOW, i, max, mpGiObjects, mpGlob, normNoSqrt(), and NULL.

Referenced by LbmFsgrSolver::initGeometryFlags().

ntlVec3Gfx LbmSolverInterface::getGeoStart ( ) const [inline]

Definition at line 337 of file solver_interface.h.

References mvGeoStart.

Referenced by SimulationObject::initializeLbmSimulation().

virtual string LbmSolverInterface::getIdString ( ) [pure virtual]

id string of solver

Implemented in LbmFsgrSolver.

Referenced by SimulationObject::initializeLbmSimulation().

unsigned int* LbmSolverInterface::getIsoIndexArray ( ) [inline]

Definition at line 299 of file solver_interface.h.

References IsoSurface::getIsoIndexArray(), and mpIso.

unsigned int LbmSolverInterface::getIsoIndexCount ( ) [inline]

Definition at line 297 of file solver_interface.h.

References IsoSurface::getIsoIndexCount(), and mpIso.

char* LbmSolverInterface::getIsoVertexArray ( ) [inline]

Definition at line 298 of file solver_interface.h.

References IsoSurface::getIsoVertexArray(), and mpIso.

unsigned int LbmSolverInterface::getIsoVertexCount ( ) [inline]

Definition at line 296 of file solver_interface.h.

References IsoSurface::getIsoVertexCount(), and mpIso.

int LbmSolverInterface::getLbmInitId ( ) const [inline]

Definition at line 345 of file solver_interface.h.

References mLbmInitId.

string LbmSolverInterface::getName ( void  ) const [inline]

Definition at line 354 of file solver_interface.h.

References mName.

Referenced by LbmFsgrSolver::debugPrintNodeInfo(), and LbmFsgrSolver::initializeSolverGrids().

string LbmSolverInterface::getNodeInfoString ( ) const [inline]

access string for node info debugging output

Definition at line 357 of file solver_interface.h.

References mNodeInfoString.

Referenced by LbmFsgrSolver::debugPrintNodeInfo().

bool LbmSolverInterface::getPanic ( void  ) [inline]

get panic flag

Definition at line 360 of file solver_interface.h.

References mPanic.

Referenced by SimulationObject::step().

Parametrizer* LbmSolverInterface::getParametrizer ( ) [inline]

get parametrizer pointer

Definition at line 327 of file solver_interface.h.

References mpParam.

ParticleTracer* LbmSolverInterface::getParticleTracer ( ) [inline]

Definition at line 330 of file solver_interface.h.

References mpParticles.

int LbmSolverInterface::getSizeX ( void  ) [inline]

return grid sizes

Definition at line 305 of file solver_interface.h.

References mSizex.

int LbmSolverInterface::getSizeY ( void  ) [inline]

Definition at line 306 of file solver_interface.h.

References mSizey.

int LbmSolverInterface::getSizeZ ( void  ) [inline]

Definition at line 307 of file solver_interface.h.

References mSizez.

IsoSurface* LbmSolverInterface::getSurfaceGeoObj ( ) [inline]

get surface object (NULL if no surface)

Definition at line 269 of file solver_interface.h.

References mpIso.

Referenced by SimulationObject::initializeLbmSimulation().

AttributeList* LbmSolverInterface::getSwsAttributeList ( ) [inline]

Definition at line 322 of file solver_interface.h.

References mpSifSwsAttrs.

virtual ntlVec3Gfx LbmSolverInterface::getVelocityAt ( float  x,
float  y,
float  z 
) [pure virtual]

get velocity directly from position

Implemented in LbmFsgrSolver.

Referenced by ntlBlenderDumper::renderScene().

void LbmSolverInterface::initDomainTrafo ( float *  mat)

init domain transformation matrix from float array

Definition at line 217 of file solver_interface.cpp.

References ntlMatrix4x4< Scalar >::initArrayCheck(), and mpSimTrafo.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::initGeoTree ( )

init tree for certain geometry init

geometry initialization

init tree for certain geometry init

Definition at line 309 of file solver_interface.cpp.

References debMsgStd, DM_MSG, errFatal, FSGR_STRICT_DEBUG, ntlScene::getObjects(), ntlRenderGlobals::getSimScene(), i, mAccurateGeoinit, mGiObjDistance, mGiObjInside, mGiObjSecondDist, mLbmInitId, mpGiObjects, mpGiTree, mpGlob, NULL, and SIMWORLD_INITERROR.

Referenced by LbmFsgrSolver::initGeometryFlags().

virtual bool LbmSolverInterface::initializeSolverGrids ( ) [pure virtual]

init solver arrays

Implemented in LbmFsgrSolver.

Referenced by SimulationObject::initializeLbmSimulation().

virtual bool LbmSolverInterface::initializeSolverMemory ( ) [pure virtual]

finish the init with config file values (allocate arrays...)

Implemented in LbmFsgrSolver.

Referenced by SimulationObject::initializeLbmSimulation().

virtual bool LbmSolverInterface::initializeSolverPostinit ( ) [pure virtual]

prepare actual simulation start, setup viz etc

Implemented in LbmFsgrSolver.

Referenced by SimulationObject::initializeLbmSimulation().

virtual int LbmSolverInterface::initParticles ( ) [pure virtual]

particle handling

Implemented in LbmFsgrSolver.

virtual void LbmSolverInterface::lbmDebugDisplay ( int  dispset) [pure virtual]

Implemented in LbmFsgrSolver.

virtual void LbmSolverInterface::lbmMarkedCellDisplay ( ) [pure virtual]

Implemented in LbmFsgrSolver.

Referenced by SimulationObject::drawDebugDisplay().

CellIdentifierInterface * LbmSolverInterface::markedAdvanceCell ( )

Definition at line 662 of file solver_interface.cpp.

References mMarkedCellIndex, mMarkedCells, and NULL.

Referenced by LbmFsgrSolver::lbmMarkedCellDisplay().

void LbmSolverInterface::markedClearList ( )
CellIdentifierInterface * LbmSolverInterface::markedGetFirstCell ( )

marked cell iteration methods

Definition at line 656 of file solver_interface.cpp.

References mMarkedCells, and NULL.

Referenced by LbmFsgrSolver::lbmMarkedCellDisplay().

virtual bool LbmSolverInterface::noEndCell ( CellIdentifierInterface ) [pure virtual]
virtual void LbmSolverInterface::notifySolverOfDump ( int  dumptype,
int  frameNr,
char *  frameNrStr,
string  outfilename 
) [pure virtual]

notify object that dump is in progress (e.g. for field dump)

Implemented in LbmFsgrSolver.

Referenced by SimulationObject::notifyShaderOfDump().

virtual void LbmSolverInterface::parseAttrList ( ) [pure virtual]

initilize variables fom attribute list (should at least call std parse)

Implemented in LbmFsgrSolver.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::parseStdAttrList ( )
virtual void LbmSolverInterface::prepareVisualization ( void  ) [inline, virtual]

Reimplemented in LbmFsgrSolver.

Definition at line 263 of file solver_interface.h.

Referenced by SimulationObject::prepareVisualization().

CellFlagType LbmSolverInterface::readBoundaryFlagInt ( string  name,
int  defaultValue,
string  source,
string  target,
bool  needed 
)

parse a boundary flag string

Definition at line 223 of file solver_interface.cpp.

References CellFlagType, CFBnd, CFEmpty, CFFluid, errFatal, errMsg, mpSifAttrs, AttributeList::readString(), SIMWORLD_INITERROR, and simple_enum_gen::val.

Referenced by parseStdAttrList().

void LbmSolverInterface::setAllfluid ( bool  set) [inline]

access fluid only simulation flag

Definition at line 313 of file solver_interface.h.

References mAllfluid.

void LbmSolverInterface::setAttrList ( AttributeList set) [inline]

set attr list pointer

Definition at line 317 of file solver_interface.h.

References mpSifAttrs.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setCpStage ( int  set) [inline]

set/get cp stage

Definition at line 392 of file solver_interface.h.

References mCppfStage.

void LbmSolverInterface::setDebugVelScale ( LbmFloat  set) [inline]

set/get debug vel scale

Definition at line 402 of file solver_interface.h.

References mDebugVelScale.

void LbmSolverInterface::setDomainBound ( string  set) [inline]

set/get dump velocities flag

Definition at line 383 of file solver_interface.h.

References mDomainBound.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setDomainPartSlip ( LbmFloat  set) [inline]

set/get dump velocities flag

Definition at line 386 of file solver_interface.h.

References mDomainPartSlipValue.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setDumpRawBinary ( bool  set) [inline]

Definition at line 397 of file solver_interface.h.

References mDumpRawBinary.

void LbmSolverInterface::setDumpRawBinaryZip ( bool  set) [inline]

Definition at line 399 of file solver_interface.h.

References mDumpRawBinaryZip.

void LbmSolverInterface::setDumpRawText ( bool  set) [inline]

set/get dump modes

Definition at line 395 of file solver_interface.h.

References mDumpRawText.

void LbmSolverInterface::setDumpVelocities ( bool  set) [inline]

set/get dump velocities flag

Definition at line 375 of file solver_interface.h.

References mDumpVelocities.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setFarFieldSize ( LbmFloat  set) [inline]

set/get far field size

Definition at line 389 of file solver_interface.h.

References mFarFieldSize.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setGenerateParticles ( LbmFloat  set) [inline]

set/get particle generation prob.

Definition at line 379 of file solver_interface.h.

References mPartGenProb.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setGeoEnd ( ntlVec3Gfx  set) [inline]

access geometry end vector

Definition at line 340 of file solver_interface.h.

References mvGeoEnd.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setGeoStart ( ntlVec3Gfx  set) [inline]

access geometry start vector

Definition at line 336 of file solver_interface.h.

References mvGeoStart.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setInitDensityGradient ( bool  set) [inline]

set density gradient init from e.g. init test cases

Definition at line 333 of file solver_interface.h.

References mInitDensityGradient.

void LbmSolverInterface::setIsoSubdivs ( int  s) [inline]

set amount of iso subdivisions

Definition at line 368 of file solver_interface.h.

References mIsoSubdivs.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setLbmInitId ( int  set) [inline]

access geo init vars

Definition at line 344 of file solver_interface.h.

References mLbmInitId.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setName ( string  set) [inline]

access name string

Definition at line 353 of file solver_interface.h.

References mName.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setParametrizer ( Parametrizer set) [inline]

set parametrizer pointer

Definition at line 325 of file solver_interface.h.

References mpParam.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setParticleTracer ( ParticleTracer set) [inline]

get/set particle pointer

Definition at line 329 of file solver_interface.h.

References mpParticles.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setPreviewSize ( int  set) [inline]

set desired refinement

Definition at line 370 of file solver_interface.h.

References mOutputSurfacePreview.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setRefinementDesired ( int  set) [inline]

set desired refinement

Definition at line 372 of file solver_interface.h.

References mRefinementDesired.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setRenderGlobals ( ntlRenderGlobals glob) [inline]

set render globals, for scene/tree access

Definition at line 291 of file solver_interface.h.

References mpGlob.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setSilent ( bool  set) [inline]

set silent mode?

Definition at line 363 of file solver_interface.h.

References mSilent.

Referenced by LbmSolverInterface().

void LbmSolverInterface::setSizeX ( int  ns) [inline]

return grid sizes

Definition at line 309 of file solver_interface.h.

References mSizex.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setSizeY ( int  ns) [inline]

Definition at line 310 of file solver_interface.h.

References mSizey.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setSizeZ ( int  ns) [inline]

Definition at line 311 of file solver_interface.h.

References mSizez.

Referenced by SimulationObject::initializeLbmSimulation().

void LbmSolverInterface::setSmoothing ( float  setss,
float  setns 
) [inline]

set amount of surface/normal smoothing

Definition at line 366 of file solver_interface.h.

References mSmoothNormals, and mSmoothSurface.

Referenced by SimulationObject::initializeLbmSimulation().

virtual void LbmSolverInterface::setSurfGenSettings ( short  value) [pure virtual]
void LbmSolverInterface::setSwsAttrList ( AttributeList set) [inline]

set sws attr list pointer

Definition at line 321 of file solver_interface.h.

References mpSifSwsAttrs.

Referenced by SimulationObject::initializeLbmSimulation().

virtual void LbmSolverInterface::step ( ) [pure virtual]

Implemented in LbmFsgrSolver.

Referenced by SimulationObject::step().

void LbmSolverInterface::triangulateSurface ( ) [inline]

Definition at line 300 of file solver_interface.h.

References mpIso, and IsoSurface::triangulate().


Member Data Documentation

perform accurate geometry init?

Definition at line 527 of file solver_interface.h.

Referenced by geoInitCheckPointInside(), and initGeoTree().

CellFlagType LbmSolverInterface::mBoundaryBottom [protected]

Definition at line 484 of file solver_interface.h.

Referenced by parseStdAttrList().

CellFlagType LbmSolverInterface::mBoundaryEast [protected]

Definition at line 484 of file solver_interface.h.

Referenced by parseStdAttrList().

CellFlagType LbmSolverInterface::mBoundaryNorth [protected]

Definition at line 484 of file solver_interface.h.

Referenced by parseStdAttrList().

CellFlagType LbmSolverInterface::mBoundarySouth [protected]

Definition at line 484 of file solver_interface.h.

Referenced by parseStdAttrList().

CellFlagType LbmSolverInterface::mBoundaryTop [protected]

Definition at line 484 of file solver_interface.h.

Referenced by parseStdAttrList().

CellFlagType LbmSolverInterface::mBoundaryWest [protected]

Definition at line 484 of file solver_interface.h.

Referenced by parseStdAttrList().

debug - velocity output scaling factor

Definition at line 514 of file solver_interface.h.

Referenced by getDebugVelScale(), parseStdAttrList(), and setDebugVelScale().

domain boundary free/no slip type

Definition at line 578 of file solver_interface.h.

Referenced by getDomainBound(), LbmFsgrSolver::initializeSolverGrids(), LbmFsgrSolver::parseAttrList(), and setDomainBound().

dump velocities?

Definition at line 571 of file solver_interface.h.

Referenced by getDumpVelocities(), parseStdAttrList(), and setDumpVelocities().

mass change from one step to the next, for extreme cases fix globally

Definition at line 472 of file solver_interface.h.

Referenced by LbmFsgrSolver::adaptGrid(), LbmFsgrSolver::initializeSolverMemory(), LbmFsgrSolver::reinitFlags(), and LbmFsgrSolver::stepMain().

inside which objects?

Definition at line 549 of file solver_interface.h.

Referenced by geoInitCheckPointInside(), and initGeoTree().

vector<int> LbmSolverInterface::mGiObjInside [protected]

inside which objects?

Definition at line 547 of file solver_interface.h.

Referenced by geoInitCheckPointInside(), and initGeoTree().

Definition at line 550 of file solver_interface.h.

Referenced by geoInitCheckPointInside(), and initGeoTree().

gravity strength in neg. z direction

Definition at line 478 of file solver_interface.h.

Referenced by LbmFsgrSolver::initLevelOmegas().

init density gradient?

Definition at line 492 of file solver_interface.h.

Referenced by parseStdAttrList(), and setInitDensityGradient().

isosurface subdivisions

Definition at line 565 of file solver_interface.h.

Referenced by LbmFsgrSolver::initializeSolverMemory(), parseStdAttrList(), and setIsoSubdivs().

isolevel value for marching cubes surface reconstruction

Definition at line 535 of file solver_interface.h.

Referenced by LbmFsgrSolver::initializeSolverMemory(), LbmFsgrSolver::LbmFsgrSolver(), parseStdAttrList(), and LbmFsgrSolver::prepareVisualization().

geometry init id, passed from ntl_geomclass

Definition at line 541 of file solver_interface.h.

Referenced by getLbmInitId(), LbmFsgrSolver::initGeometryFlags(), initGeoTree(), LbmFsgrSolver::initMovingObstacles(), and setLbmInitId().

Definition at line 575 of file solver_interface.h.

Referenced by markedAdvanceCell().

MLSUPS counter

Definition at line 512 of file solver_interface.h.

Referenced by LbmFsgrSolver::stepMain().

string LbmSolverInterface::mName [protected]

name of this lbm object (for debug output)

Definition at line 530 of file solver_interface.h.

Referenced by LbmFsgrSolver::adaptTimestep(), getName(), setName(), and LbmFsgrSolver::stepMain().

string for node info debugging output

Definition at line 516 of file solver_interface.h.

Referenced by getNodeInfoString(), and parseStdAttrList().

Definition at line 508 of file solver_interface.h.

Referenced by LbmFsgrSolver::mainLoop(), and LbmFsgrSolver::stepMain().

no of filled/emptied cells per time step

Definition at line 508 of file solver_interface.h.

Referenced by LbmFsgrSolver::mainLoop(), and LbmFsgrSolver::stepMain().

number of particles lost so far

Definition at line 506 of file solver_interface.h.

number of particles lost so far

Definition at line 504 of file solver_interface.h.

Referenced by LbmFsgrSolver::advanceParticles().

counter number of used cells for performance

Definition at line 510 of file solver_interface.h.

Referenced by LbmFsgrSolver::coarseAdvance(), LbmFsgrSolver::coarseRestrictFromFine(), LbmFsgrSolver::mainLoop(), and LbmFsgrSolver::stepMain().

omega for lbm

Definition at line 476 of file solver_interface.h.

Referenced by LbmFsgrSolver::adaptTimestep(), and LbmFsgrSolver::initLevelOmegas().

output surface preview? if >0 yes, and use as reduzed size

Definition at line 558 of file solver_interface.h.

Referenced by LbmFsgrSolver::getDebugObjects(), LbmFsgrSolver::initializeSolverMemory(), LbmFsgrSolver::parseAttrList(), LbmFsgrSolver::prepareVisualization(), and setPreviewSize().

bool LbmSolverInterface::mPanic [protected]

abort simulation on error...

Definition at line 459 of file solver_interface.h.

Referenced by LbmFsgrSolver::adaptTimestep(), and getPanic().

tree object for geomerty initialization

Definition at line 543 of file solver_interface.h.

Referenced by freeGeoTree(), geoInitCheckPointInside(), and initGeoTree().

remember globals

Definition at line 552 of file solver_interface.h.

Referenced by geoInitCheckPointInside(), getGeoMaxMovementVelocity(), initGeoTree(), and setRenderGlobals().

pointer to the attribute list, only pointer to obj attrs

Definition at line 495 of file solver_interface.h.

Referenced by getAttributeList(), LbmFsgrSolver::parseAttrList(), parseStdAttrList(), readBoundaryFlagInt(), and setAttrList().

Definition at line 496 of file solver_interface.h.

Referenced by getSwsAttributeList(), and setSwsAttrList().

domain vertex trafos

Definition at line 524 of file solver_interface.h.

Referenced by getDomainTrafo(), initDomainTrafo(), LbmSolverInterface(), parseStdAttrList(), and ~LbmSolverInterface().

use refinement/coarsening?

Definition at line 555 of file solver_interface.h.

Referenced by LbmFsgrSolver::parseAttrList(), and setRefinementDesired().

bool LbmSolverInterface::mSilent [protected]
int LbmSolverInterface::mSizex [protected]
int LbmSolverInterface::mSizey [protected]
int LbmSolverInterface::mSizez [protected]

Surface tension of the fluid

Definition at line 480 of file solver_interface.h.

Referenced by LbmFsgrSolver::initLevelOmegas().

test vars

Definition at line 591 of file solver_interface.h.

Referenced by LbmFsgrSolver::handleCpdata(), and LbmFsgrSolver::initCpdata().


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