Blender V2.61 - r43446
|
#include <solver_interface.h>
class defining abstract function interface
Definition at line 234 of file solver_interface.h.
Definition at line 408 of file solver_interface.h.
LbmSolverInterface::LbmSolverInterface | ( | ) |
Constructor.
Definition at line 29 of file solver_interface.cpp.
References debMsgStd, DM_MSG, gDebugLevel, ntlMatrix4x4< Scalar >::initId(), mDumpRawBinary, mDumpRawText, mpSimTrafo, and setSilent().
LbmSolverInterface::~LbmSolverInterface | ( | ) | [virtual] |
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] |
Implemented in LbmFsgrSolver.
Referenced by SimulationObject::initializeLbmSimulation().
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] |
Referenced by SimulationObject::drawInteractiveDisplay().
virtual void LbmSolverInterface::debugPrintNodeInfo | ( | CellIdentifier | cell, |
int | forceSet = -1 |
||
) | [pure virtual] |
Referenced by SimulationObject::setMouseClick().
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 | ||
) |
Definition at line 470 of file solver_interface.cpp.
References distance(), dot(), geoInitCheckPointInside(), ntlRay::getDirection(), ntlTriangle::getObjectId(), ntlRay::getOrigin(), getVecEpsilon(), i, ntlTree::intersect(), mAccurateGeoinit, mGiObjDistance, mGiObjInside, mGiObjSecondDist, mpGiTree, mpGlob, and NULL.
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] |
Implemented in LbmFsgrSolver.
Referenced by SimulationObject::initializeLbmSimulation().
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] |
Definition at line 376 of file solver_interface.h.
References mDumpVelocities.
Referenced by SimulationObject::initializeLbmSimulation(), and ntlBlenderDumper::renderScene().
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] |
ParticleTracer* LbmSolverInterface::getParticleTracer | ( | ) | [inline] |
Definition at line 330 of file solver_interface.h.
References mpParticles.
int LbmSolverInterface::getSizeX | ( | void | ) | [inline] |
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 | ( | ) |
Definition at line 668 of file solver_interface.cpp.
References mMarkedCells.
Referenced by LbmFsgrSolver::initializeSolverPostinit(), and LbmFsgrSolver::stepMain().
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] |
Implemented in LbmFsgrSolver.
Referenced by SimulationObject::initializeLbmSimulation().
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 | ( | ) |
parse standard attributes
Definition at line 248 of file solver_interface.cpp.
References debMsgStd, DM_NOTIFY, errFatal, errMsg, mBoundaryBottom, mBoundaryEast, mBoundaryNorth, mBoundarySouth, mBoundaryTop, mBoundaryWest, mCppfStage, mDebugVelScale, mDumpVelocities, mFarFieldSize, mInitDensityGradient, mIsoSubdivs, mIsoValue, mNodeInfoString, mPartDropMassSub, mPartGenProb, mPartUsePhysModel, mpParam, mpSifAttrs, mpSimTrafo, mSizex, mSizey, mSizez, AttributeList::readBool(), readBoundaryFlagInt(), AttributeList::readFloat(), AttributeList::readInt(), AttributeList::readMat4Gfx(), AttributeList::readString(), AttributeList::readVec3d(), Parametrizer::setSize(), SIMWORLD_INITERROR, vec2L(), and vec2P().
Referenced by LbmFsgrSolver::parseAttrList().
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] |
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] |
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] |
Implemented in LbmFsgrSolver.
Referenced by SimulationObject::initializeLbmSimulation().
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().
bool LbmSolverInterface::mAccurateGeoinit [protected] |
perform accurate geometry init?
Definition at line 527 of file solver_interface.h.
Referenced by geoInitCheckPointInside(), and initGeoTree().
bool LbmSolverInterface::mAllfluid [protected] |
only fluid in sim?
Definition at line 465 of file solver_interface.h.
Referenced by getAllfluid(), LbmFsgrSolver::initGeometryFlags(), LbmFsgrSolver::initializeSolverMemory(), and setAllfluid().
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().
int LbmSolverInterface::mCppfStage [protected] |
Definition at line 592 of file solver_interface.h.
Referenced by getCpStage(), LbmFsgrSolver::initCpdata(), LbmFsgrSolver::initializeSolverMemory(), parseStdAttrList(), and setCpStage().
LbmFloat LbmSolverInterface::mDebugVelScale [protected] |
debug - velocity output scaling factor
Definition at line 514 of file solver_interface.h.
Referenced by getDebugVelScale(), parseStdAttrList(), and setDebugVelScale().
string LbmSolverInterface::mDomainBound [protected] |
domain boundary free/no slip type
Definition at line 578 of file solver_interface.h.
Referenced by getDomainBound(), LbmFsgrSolver::initializeSolverGrids(), LbmFsgrSolver::parseAttrList(), and setDomainBound().
LbmFloat LbmSolverInterface::mDomainPartSlipValue [protected] |
part slip value for domain
Definition at line 580 of file solver_interface.h.
Referenced by getDomainPartSlip(), LbmFsgrSolver::initializeSolverGrids(), LbmFsgrSolver::parseAttrList(), LbmFsgrSolver::recalculateObjectSpeeds(), and setDomainPartSlip().
bool LbmSolverInterface::mDumpRawBinary [protected] |
Definition at line 596 of file solver_interface.h.
Referenced by getDumpRawBinary(), LbmSolverInterface(), LbmFsgrSolver::notifySolverOfDump(), and setDumpRawBinary().
bool LbmSolverInterface::mDumpRawBinaryZip [protected] |
Definition at line 597 of file solver_interface.h.
Referenced by getDumpRawBinaryZip(), LbmFsgrSolver::notifySolverOfDump(), and setDumpRawBinaryZip().
bool LbmSolverInterface::mDumpRawText [protected] |
dumping modes
Definition at line 595 of file solver_interface.h.
Referenced by getDumpRawText(), LbmSolverInterface(), LbmFsgrSolver::notifySolverOfDump(), and setDumpRawText().
bool LbmSolverInterface::mDumpVelocities [protected] |
dump velocities?
Definition at line 571 of file solver_interface.h.
Referenced by getDumpVelocities(), parseStdAttrList(), and setDumpVelocities().
LbmFloat LbmSolverInterface::mFarFieldSize [protected] |
Definition at line 583 of file solver_interface.h.
Referenced by LbmFsgrSolver::advanceParticles(), getFarFieldSize(), LbmFsgrSolver::initializeSolverMemory(), LbmFsgrSolver::parseAttrList(), parseStdAttrList(), LbmFsgrSolver::prepareVisualization(), and setFarFieldSize().
LbmFloat LbmSolverInterface::mFixMass [protected] |
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().
vector<gfxReal> LbmSolverInterface::mGiObjDistance [protected] |
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().
vector<gfxReal> LbmSolverInterface::mGiObjSecondDist [protected] |
Definition at line 550 of file solver_interface.h.
Referenced by geoInitCheckPointInside(), and initGeoTree().
LbmVec LbmSolverInterface::mGravity [protected] |
gravity strength in neg. z direction
Definition at line 478 of file solver_interface.h.
Referenced by LbmFsgrSolver::initLevelOmegas().
bool LbmSolverInterface::mInitDensityGradient [protected] |
init density gradient?
Definition at line 492 of file solver_interface.h.
Referenced by parseStdAttrList(), and setInitDensityGradient().
int LbmSolverInterface::mInitDone [protected] |
initialization from config file done?
Definition at line 489 of file solver_interface.h.
Referenced by LbmFsgrSolver::initializeSolverMemory(), LbmFsgrSolver::initializeSolverPostinit(), LbmFsgrSolver::initLevelOmegas(), LbmFsgrSolver::initMovingObstacles(), LbmFsgrSolver::mainLoop(), LbmFsgrSolver::stepMain(), and LbmFsgrSolver::~LbmFsgrSolver().
int LbmSolverInterface::mIsoSubdivs [protected] |
isosurface subdivisions
Definition at line 565 of file solver_interface.h.
Referenced by LbmFsgrSolver::initializeSolverMemory(), parseStdAttrList(), and setIsoSubdivs().
LbmFloat LbmSolverInterface::mIsoValue [protected] |
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().
int LbmSolverInterface::mLbmInitId [protected] |
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().
int LbmSolverInterface::mMarkedCellIndex [protected] |
Definition at line 575 of file solver_interface.h.
Referenced by markedAdvanceCell().
vector<CellIdentifierInterface *> LbmSolverInterface::mMarkedCells [protected] |
Definition at line 574 of file solver_interface.h.
Referenced by addCellToMarkedList(), markedAdvanceCell(), markedClearList(), and markedGetFirstCell().
LbmFloat LbmSolverInterface::mMLSUPS [protected] |
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 LbmSolverInterface::mNodeInfoString [protected] |
string for node info debugging output
Definition at line 516 of file solver_interface.h.
Referenced by getNodeInfoString(), and parseStdAttrList().
int LbmSolverInterface::mNumEmptiedCells [protected] |
Definition at line 508 of file solver_interface.h.
Referenced by LbmFsgrSolver::mainLoop(), and LbmFsgrSolver::stepMain().
int LbmSolverInterface::mNumFilledCells [protected] |
no of filled/emptied cells per time step
Definition at line 508 of file solver_interface.h.
Referenced by LbmFsgrSolver::mainLoop(), and LbmFsgrSolver::stepMain().
int LbmSolverInterface::mNumInvalidDfs [protected] |
number of particles lost so far
Definition at line 506 of file solver_interface.h.
int LbmSolverInterface::mNumParticlesLost [protected] |
number of particles lost so far
Definition at line 504 of file solver_interface.h.
Referenced by LbmFsgrSolver::advanceParticles().
int LbmSolverInterface::mNumUsedCells [protected] |
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().
LbmFloat LbmSolverInterface::mOmega [protected] |
omega for lbm
Definition at line 476 of file solver_interface.h.
Referenced by LbmFsgrSolver::adaptTimestep(), and LbmFsgrSolver::initLevelOmegas().
int LbmSolverInterface::mOutputSurfacePreview [protected] |
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().
LbmFloat LbmSolverInterface::mPartDropMassSub [protected] |
Definition at line 585 of file solver_interface.h.
Referenced by LbmFsgrSolver::advanceParticles(), LbmFsgrSolver::initializeSolverPostinit(), LbmFsgrSolver::mainLoop(), and parseStdAttrList().
LbmFloat LbmSolverInterface::mPartGenProb [protected] |
particle generation probability
Definition at line 568 of file solver_interface.h.
Referenced by getGenerateParticles(), LbmFsgrSolver::initParticles(), LbmFsgrSolver::mainLoop(), parseStdAttrList(), and setGenerateParticles().
bool LbmSolverInterface::mPartUsePhysModel [protected] |
Definition at line 587 of file solver_interface.h.
Referenced by LbmFsgrSolver::advanceParticles(), LbmFsgrSolver::mainLoop(), and parseStdAttrList().
vector<ntlGeometryObject*>* LbmSolverInterface::mpGiObjects [protected] |
object vector for geo init
Definition at line 545 of file solver_interface.h.
Referenced by geoInitCheckPointInside(), getGeoMaxMovementVelocity(), LbmFsgrSolver::initCpdata(), LbmFsgrSolver::initGeometryFlags(), initGeoTree(), LbmFsgrSolver::initializeSolverGrids(), LbmFsgrSolver::initMovingObstacles(), and LbmFsgrSolver::recalculateObjectSpeeds().
ntlTree* LbmSolverInterface::mpGiTree [protected] |
tree object for geomerty initialization
Definition at line 543 of file solver_interface.h.
Referenced by freeGeoTree(), geoInitCheckPointInside(), and initGeoTree().
ntlRenderGlobals* LbmSolverInterface::mpGlob [protected] |
remember globals
Definition at line 552 of file solver_interface.h.
Referenced by geoInitCheckPointInside(), getGeoMaxMovementVelocity(), initGeoTree(), and setRenderGlobals().
IsoSurface* LbmSolverInterface::mpIso [protected] |
Mcubes object for surface reconstruction.
Definition at line 533 of file solver_interface.h.
Referenced by getIsoIndexArray(), getIsoIndexCount(), getIsoVertexArray(), getIsoVertexCount(), getSurfaceGeoObj(), LbmFsgrSolver::initializeSolverMemory(), LbmFsgrSolver::initializeSolverPostinit(), LbmFsgrSolver::LbmFsgrSolver(), LbmFsgrSolver::notifySolverOfDump(), LbmFsgrSolver::parseAttrList(), LbmFsgrSolver::prepareVisualization(), triangulateSurface(), and LbmFsgrSolver::~LbmFsgrSolver().
Parametrizer* LbmSolverInterface::mpParam [protected] |
get parameters from this parametrize in finishInit
Definition at line 499 of file solver_interface.h.
Referenced by LbmFsgrSolver::adaptTimestep(), LbmFsgrSolver::advanceParticles(), LbmFsgrSolver::fineAdvance(), getParametrizer(), LbmFsgrSolver::getVelocityAt(), LbmFsgrSolver::handleCpdata(), LbmFsgrSolver::initCpdata(), LbmFsgrSolver::initGeometryFlags(), LbmFsgrSolver::initializeSolverGrids(), LbmFsgrSolver::initializeSolverMemory(), LbmFsgrSolver::initLevelOmegas(), LbmFsgrSolver::initMovingObstacles(), parseStdAttrList(), LbmFsgrSolver::recalculateObjectSpeeds(), and setParametrizer().
ParticleTracer* LbmSolverInterface::mpParticles [protected] |
store particle tracer
Definition at line 501 of file solver_interface.h.
Referenced by LbmFsgrSolver::adaptTimestep(), LbmFsgrSolver::advanceParticles(), getParticleTracer(), LbmFsgrSolver::initCpdata(), LbmFsgrSolver::initializeSolverPostinit(), LbmFsgrSolver::initParticles(), setParticleTracer(), and LbmFsgrSolver::stepMain().
LbmFloat LbmSolverInterface::mPreviewFactor [protected] |
Definition at line 559 of file solver_interface.h.
Referenced by LbmFsgrSolver::initializeSolverMemory(), and LbmFsgrSolver::prepareVisualization().
AttributeList* LbmSolverInterface::mpSifAttrs [protected] |
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().
AttributeList* LbmSolverInterface::mpSifSwsAttrs [protected] |
Definition at line 496 of file solver_interface.h.
Referenced by getSwsAttributeList(), and setSwsAttrList().
ntlMatrix4x4<gfxReal>* LbmSolverInterface::mpSimTrafo [protected] |
domain vertex trafos
Definition at line 524 of file solver_interface.h.
Referenced by getDomainTrafo(), initDomainTrafo(), LbmSolverInterface(), parseStdAttrList(), and ~LbmSolverInterface().
int LbmSolverInterface::mRefinementDesired [protected] |
use refinement/coarsening?
Definition at line 555 of file solver_interface.h.
Referenced by LbmFsgrSolver::parseAttrList(), and setRefinementDesired().
bool LbmSolverInterface::mSilent [protected] |
debug output?
Definition at line 538 of file solver_interface.h.
Referenced by LbmFsgrSolver::adaptGrid(), LbmFsgrSolver::adaptTimestep(), LbmFsgrSolver::coarseAdvance(), LbmFsgrSolver::coarseCalculateFluxareas(), LbmFsgrSolver::coarseRestrictFromFine(), LbmFsgrSolver::fineAdvance(), LbmFsgrSolver::initGeometryFlags(), LbmFsgrSolver::initializeSolverPostinit(), LbmFsgrSolver::initLevelOmegas(), setSilent(), LbmFsgrSolver::stepMain(), and LbmFsgrSolver::~LbmFsgrSolver().
int LbmSolverInterface::mSizex [protected] |
Size of the array in x,y,z direction
Definition at line 463 of file solver_interface.h.
Referenced by LbmFsgrSolver::advanceParticles(), LbmFsgrSolver::computeObstacleSurfaceNormalAcc(), getSizeX(), LbmFsgrSolver::initializeSolverGrids(), LbmFsgrSolver::initializeSolverMemory(), LbmFsgrSolver::initParticles(), LbmFsgrSolver::mainLoop(), LbmFsgrSolver::notifySolverOfDump(), parseStdAttrList(), LbmFsgrSolver::prepareVisualization(), and setSizeX().
int LbmSolverInterface::mSizey [protected] |
Definition at line 463 of file solver_interface.h.
Referenced by LbmFsgrSolver::advanceParticles(), LbmFsgrSolver::computeObstacleSurfaceNormalAcc(), getSizeY(), LbmFsgrSolver::initializeSolverMemory(), LbmFsgrSolver::initParticles(), LbmFsgrSolver::mainLoop(), LbmFsgrSolver::notifySolverOfDump(), parseStdAttrList(), LbmFsgrSolver::prepareVisualization(), and setSizeY().
int LbmSolverInterface::mSizez [protected] |
Definition at line 463 of file solver_interface.h.
Referenced by LbmFsgrSolver::advanceParticles(), LbmFsgrSolver::computeObstacleSurfaceNormalAcc(), getSizeZ(), LbmFsgrSolver::initializeSolverMemory(), LbmFsgrSolver::mainLoop(), LbmFsgrSolver::notifySolverOfDump(), parseStdAttrList(), LbmFsgrSolver::prepareVisualization(), and setSizeZ().
float LbmSolverInterface::mSmoothNormals [protected] |
Definition at line 563 of file solver_interface.h.
Referenced by LbmFsgrSolver::initializeSolverMemory(), LbmFsgrSolver::initializeSolverPostinit(), LbmFsgrSolver::parseAttrList(), and setSmoothing().
float LbmSolverInterface::mSmoothSurface [protected] |
enable surface and normals smoothing?
Definition at line 562 of file solver_interface.h.
Referenced by LbmFsgrSolver::initializeSolverMemory(), LbmFsgrSolver::initializeSolverPostinit(), LbmFsgrSolver::parseAttrList(), and setSmoothing().
int LbmSolverInterface::mStepCnt [protected] |
step counter
Definition at line 469 of file solver_interface.h.
Referenced by LbmFsgrSolver::adaptTimestep(), LbmFsgrSolver::advanceParticles(), LbmFsgrSolver::coarseAdvance(), LbmFsgrSolver::handleCpdata(), LbmFsgrSolver::mainLoop(), and LbmFsgrSolver::stepMain().
LbmFloat LbmSolverInterface::mSurfaceTension [protected] |
Surface tension of the fluid
Definition at line 480 of file solver_interface.h.
Referenced by LbmFsgrSolver::initLevelOmegas().
LbmFloat LbmSolverInterface::mTForceStrength [protected] |
test vars
Definition at line 591 of file solver_interface.h.
Referenced by LbmFsgrSolver::handleCpdata(), and LbmFsgrSolver::initCpdata().
ntlVec3Gfx LbmSolverInterface::mvGeoEnd [protected] |
Definition at line 522 of file solver_interface.h.
Referenced by LbmFsgrSolver::cpDebugDisplay(), getGeoEnd(), LbmFsgrSolver::handleCpdata(), LbmFsgrSolver::initGeometryFlags(), LbmFsgrSolver::initializeSolverMemory(), LbmFsgrSolver::initMovingObstacles(), LbmFsgrSolver::initParticles(), and setGeoEnd().
ntlVec3Gfx LbmSolverInterface::mvGeoStart [protected] |
for display - start and end vectors for geometry
Definition at line 522 of file solver_interface.h.
Referenced by LbmFsgrSolver::cpDebugDisplay(), LbmFsgrSolver::getCellAt(), LbmFsgrSolver::getCellOrigin(), getGeoStart(), LbmFsgrSolver::getVelocityAt(), LbmFsgrSolver::handleCpdata(), LbmFsgrSolver::initGeometryFlags(), LbmFsgrSolver::initializeSolverMemory(), LbmFsgrSolver::initMovingObstacles(), LbmFsgrSolver::initParticles(), and setGeoStart().