Blender V2.61 - r43446
Defines | Variables

controlparticles.cpp File Reference

#include "ntl_geometrymodel.h"
#include "ntl_world.h"
#include "solver_class.h"
#include "controlparticles.h"
#include "mvmcoords.h"
#include <zlib.h>

Go to the source code of this file.

Defines

#define sqrtf   sqrt
#define LINE_LEN   100
#define TRISWAP(v, a, b)   { LbmFloat tmp = (v)[b]; (v)[b]=(v)[a]; (v)[a]=tmp; }
#define TRISWAPALL(v, a, b)
#define DEBUG_MODVEL   0

Variables

int globCPIProblems = 0

Detailed Description

Definition in file controlparticles.cpp.


Define Documentation

#define DEBUG_MODVEL   0
#define LINE_LEN   100

Definition at line 300 of file controlparticles.cpp.

#define sqrtf   sqrt

Definition at line 25 of file controlparticles.cpp.

Referenced by ControlParticles::calculateMaxdForce().

#define TRISWAP (   v,
  a,
 
)    { LbmFloat tmp = (v)[b]; (v)[b]=(v)[a]; (v)[a]=tmp; }

Definition at line 905 of file controlparticles.cpp.

#define TRISWAPALL (   v,
  a,
 
)
Value:
{  \
            TRISWAP( (v).pos     ,a,b ); \
            TRISWAP( (v).vel     ,a,b ); \
            TRISWAP( (v).rotaxis ,a,b ); }

Definition at line 906 of file controlparticles.cpp.

Referenced by ControlParticles::swapCoords().


Variable Documentation

int globCPIProblems = 0