Blender V2.61 - r43446
|
#include "solver_class.h"
#include "solver_relax.h"
#include "particletracer.h"
#include "ntl_world.h"
#include "simulation_object.h"
#include <stdlib.h>
#include <zlib.h>
#include "../gui/gui_utilities.h"
Go to the source code of this file.
Defines | |
#define | sqrtf sqrt |
#define | SURFACE_ENH 2 |
#define | ZKD1 1 |
#define | ZKOFF k |
#define | P_CHANGETYPE(p, newtype) |
#define | TRACE_JITTER 0.025 |
#define | TRACE_RAND (rand()/(RAND_MAX+1.0))*TRACE_JITTER-(TRACE_JITTER*0.5) |
#define | FFGET_NORM(var, dl) |
#define | FLOAT_JITTER_BND (FLOAT_JITTER*2.0) |
#define | FLOAT_JITTBNDRAND(x) ((rand()/(RAND_MAX+1.0))*FLOAT_JITTER_BND*(1.-(x/(LbmFloat)maxdw))-(FLOAT_JITTER_BND*(1.-(x)/(LbmFloat)maxdw)*0.5)) |
#define | DEL_PART |
#define | CID_SX (int)( (mLevel[cid->level].lSizex-1) * guiRoiSX ) |
#define | CID_SY (int)( (mLevel[cid->level].lSizey-1) * guiRoiSY ) |
#define | CID_SZ (int)( (mLevel[cid->level].lSizez-1) * guiRoiSZ ) |
#define | CID_EX (int)( (mLevel[cid->level].lSizex-1) * guiRoiEX ) |
#define | CID_EY (int)( (mLevel[cid->level].lSizey-1) * guiRoiEY ) |
#define | CID_EZ (int)( (mLevel[cid->level].lSizez-1) * guiRoiEZ ) |
#define | USE_GLUTILITIES |
#define | DRAWDISPCUBE(col, scale) |
Variables | |
bool | glob_mpactive |
bool | glob_mpnum |
bool | glob_mpindex |
double | guiRoiSX |
double | guiRoiSY |
double | guiRoiSZ |
double | guiRoiEX |
double | guiRoiEY |
double | guiRoiEZ |
int | guiRoiMaxLev |
int | guiRoiMinLev |
Definition in file solver_util.cpp.
#define CID_EX (int)( (mLevel[cid->level].lSizex-1) * guiRoiEX ) |
Definition at line 1279 of file solver_util.cpp.
Referenced by LbmFsgrSolver::advanceCell().
#define CID_EY (int)( (mLevel[cid->level].lSizey-1) * guiRoiEY ) |
Definition at line 1280 of file solver_util.cpp.
Referenced by LbmFsgrSolver::advanceCell().
#define CID_EZ (int)( (mLevel[cid->level].lSizez-1) * guiRoiEZ ) |
Definition at line 1281 of file solver_util.cpp.
Referenced by LbmFsgrSolver::advanceCell().
#define CID_SX (int)( (mLevel[cid->level].lSizex-1) * guiRoiSX ) |
Definition at line 1275 of file solver_util.cpp.
Referenced by LbmFsgrSolver::advanceCell(), and LbmFsgrSolver::getFirstCell().
#define CID_SY (int)( (mLevel[cid->level].lSizey-1) * guiRoiSY ) |
Definition at line 1276 of file solver_util.cpp.
Referenced by LbmFsgrSolver::advanceCell(), and LbmFsgrSolver::getFirstCell().
#define CID_SZ (int)( (mLevel[cid->level].lSizez-1) * guiRoiSZ ) |
Definition at line 1277 of file solver_util.cpp.
Referenced by LbmFsgrSolver::advanceCell(), and LbmFsgrSolver::getFirstCell().
#define DEL_PART |
{ \ /*errMsg("PIT","DEL AT "<< __LINE__<<" type:"<<p->getType()<<" "); */ \ p->setActive( false ); \ continue; }
Definition at line 599 of file solver_util.cpp.
Referenced by LbmFsgrSolver::advanceParticles().
#define DRAWDISPCUBE | ( | col, | |
scale | |||
) |
{ glLineWidth( linewidth ); \ glColor3f( (col)[0], (col)[1], (col)[2]); \ ntlVec3Gfx s = org-(halfsize * (scale)); \ ntlVec3Gfx e = org+(halfsize * (scale)); \ drawCubeWire( s,e ); }
Referenced by LbmFsgrSolver::debugDisplayNode().
#define FFGET_NORM | ( | var, | |
dl | |||
) |
#define FLOAT_JITTBNDRAND | ( | x | ) | ((rand()/(RAND_MAX+1.0))*FLOAT_JITTER_BND*(1.-(x/(LbmFloat)maxdw))-(FLOAT_JITTER_BND*(1.-(x)/(LbmFloat)maxdw)*0.5)) |
Definition at line 597 of file solver_util.cpp.
Referenced by LbmFsgrSolver::advanceParticles().
#define FLOAT_JITTER_BND (FLOAT_JITTER*2.0) |
Definition at line 596 of file solver_util.cpp.
#define P_CHANGETYPE | ( | p, | |
newtype | |||
) |
p->setLifeTime(0.); \ /* errMsg("PIT","U pit"<<(p)->getId()<<" pos:"<< (p)->getPos()<<" status:"<<convertFlags2String((p)->getFlags())<<" to "<< (newtype) ); */ \ p->setType(newtype);
Definition at line 583 of file solver_util.cpp.
Referenced by LbmFsgrSolver::advanceParticles().
#define sqrtf sqrt |
Definition at line 24 of file solver_util.cpp.
Referenced by LbmFsgrSolver::advanceParticles().
#define SURFACE_ENH 2 |
Definition at line 32 of file solver_util.cpp.
#define TRACE_JITTER 0.025 |
Definition at line 589 of file solver_util.cpp.
#define TRACE_RAND (rand()/(RAND_MAX+1.0))*TRACE_JITTER-(TRACE_JITTER*0.5) |
Definition at line 590 of file solver_util.cpp.
Referenced by LbmFsgrSolver::advanceParticles().
#define USE_GLUTILITIES |
Definition at line 1680 of file solver_util.cpp.
#define ZKD1 1 |
Referenced by LbmFsgrSolver::prepareVisualization().
#define ZKOFF k |
Referenced by LbmFsgrSolver::prepareVisualization().
bool glob_mpactive |
Definition at line 86 of file utilities.cpp.
bool glob_mpindex |
Definition at line 89 of file utilities.cpp.
bool glob_mpnum |
Definition at line 88 of file utilities.cpp.
double guiRoiEX |
Definition at line 27 of file elbeem.cpp.
double guiRoiEY |
Definition at line 28 of file elbeem.cpp.
double guiRoiEZ |
Definition at line 29 of file elbeem.cpp.
int guiRoiMaxLev |
Definition at line 30 of file elbeem.cpp.
Referenced by LbmFsgrSolver::advanceCell(), and LbmFsgrSolver::getFirstCell().
int guiRoiMinLev |
Definition at line 30 of file elbeem.cpp.
Referenced by LbmFsgrSolver::advanceCell().
double guiRoiSX |
Definition at line 24 of file elbeem.cpp.
double guiRoiSY |
Definition at line 25 of file elbeem.cpp.
double guiRoiSZ |
Definition at line 26 of file elbeem.cpp.