Blender V2.61 - r43446
Defines

solver_control.cpp File Reference

#include "solver_class.h"
#include "solver_relax.h"
#include "particletracer.h"
#include "solver_control.h"
#include "controlparticles.h"
#include "elbeem.h"
#include "ntl_geometrymodel.h"
#include "../gui/gui_utilities.h"

Go to the source code of this file.

Defines

#define CPODEBUG   0
#define KERN(x, y, z)   mpControl->mCpKernel[ (((z)*cpkarWidth + (y))*cpkarWidth + (x)) ]
#define MDKERN(x, y, z)   mpControl->mMdKernel[ (((z)*mdkarWidth + (y))*mdkarWidth + (x)) ]
#define BOUNDCHECK(x, low, high)   ( ((x)<low) ? low : (((x)>high) ? high : (x) ) )
#define BOUNDSKIP(x, low, high)   ( ((x)<low) || ((x)>high) )
#define NOFORCEENTRY(lev, i, j, k)   (LBMGET_FORCE(lev, i,j,k).maxDistance==CPF_MAXDINIT)
#define USE_GLUTILITIES
#define TESTGET_FORCE(lev, i, j, k)   mpControl->mCpForces[lev][ ((k*mLevel[lev].lSizey)+j)*mLevel[lev].lSizex+i ]

Detailed Description

Definition in file solver_control.cpp.


Define Documentation

#define BOUNDCHECK (   x,
  low,
  high 
)    ( ((x)<low) ? low : (((x)>high) ? high : (x) ) )

Definition at line 407 of file solver_control.cpp.

Referenced by LbmFsgrSolver::handleCpdata().

#define BOUNDSKIP (   x,
  low,
  high 
)    ( ((x)<low) || ((x)>high) )

Definition at line 408 of file solver_control.cpp.

#define CPODEBUG   0

Definition at line 401 of file solver_control.cpp.

Referenced by LbmFsgrSolver::handleCpdata().

#define KERN (   x,
  y,
 
)    mpControl->mCpKernel[ (((z)*cpkarWidth + (y))*cpkarWidth + (x)) ]

Definition at line 404 of file solver_control.cpp.

Referenced by LbmFsgrSolver::handleCpdata().

#define MDKERN (   x,
  y,
 
)    mpControl->mMdKernel[ (((z)*mdkarWidth + (y))*mdkarWidth + (x)) ]

Definition at line 405 of file solver_control.cpp.

Referenced by LbmFsgrSolver::handleCpdata().

#define NOFORCEENTRY (   lev,
  i,
  j,
 
)    (LBMGET_FORCE(lev, i,j,k).maxDistance==CPF_MAXDINIT)
#define TESTGET_FORCE (   lev,
  i,
  j,
 
)    mpControl->mCpForces[lev][ ((k*mLevel[lev].lSizey)+j)*mLevel[lev].lSizex+i ]
#define USE_GLUTILITIES

Definition at line 873 of file solver_control.cpp.