Blender V2.61 - r43446
Classes | Defines

solver_control.h File Reference

#include "controlparticles.h"
#include "ntl_geometrymodel.h"

Go to the source code of this file.

Classes

class  LbmControlSet
class  LbmControlData

Defines

#define FARF_3DONLY   -1
#define FARF_BOTH   0
#define FARF_SWEONLY   1
#define FARF_SEPSWE   2
#define CPF_ENTRIES   12
#define CPF_FORCE   0
#define CPF_VELWEIGHT   3
#define CPF_VELOCITY   4
#define CPF_FORCEWEIGHT   7
#define CPF_MINCPDIST   8
#define CPF_MINCPDIR   9
#define LBMGET_FORCE(lev, i, j, k)   mpControl->mCpForces[lev][ (LBMGI(lev,i,j,k,0)) ]
#define __PRECOLLIDE_MODS(rho, ux, uy, uz, grav)
#define MAXDGRAV
#define PRECOLLIDE_MODS(rho, ux, uy, uz, grav)
#define TEST_IF_CHECK

Detailed Description

Definition in file solver_control.h.


Define Documentation

#define __PRECOLLIDE_MODS (   rho,
  ux,
  uy,
  uz,
  grav 
)
Value:
ux += (grav)[0]; \
    uy += (grav)[1]; \
    uz += (grav)[2];

Definition at line 54 of file solver_control.h.

#define CPF_ENTRIES   12

Definition at line 37 of file solver_control.h.

#define CPF_FORCE   0

Definition at line 38 of file solver_control.h.

#define CPF_FORCEWEIGHT   7

Definition at line 41 of file solver_control.h.

#define CPF_MINCPDIR   9

Definition at line 43 of file solver_control.h.

#define CPF_MINCPDIST   8

Definition at line 42 of file solver_control.h.

#define CPF_VELOCITY   4

Definition at line 40 of file solver_control.h.

#define CPF_VELWEIGHT   3

Definition at line 39 of file solver_control.h.

#define FARF_3DONLY   -1

Definition at line 28 of file solver_control.h.

#define FARF_BOTH   0

Definition at line 29 of file solver_control.h.

#define FARF_SEPSWE   2

Definition at line 32 of file solver_control.h.

#define FARF_SWEONLY   1

Definition at line 30 of file solver_control.h.

#define LBMGET_FORCE (   lev,
  i,
  j,
 
)    mpControl->mCpForces[lev][ (LBMGI(lev,i,j,k,0)) ]

Definition at line 50 of file solver_control.h.

Referenced by LbmFsgrSolver::handleCpdata().

#define MAXDGRAV
Value:
if(myforce->forceMaxd[0]*ux<LBM_EPSILON) { \
                ux = v2w*myforce->forceVel[0]+ v2wi*ux; } \
            /* movement inverse to g? */ \
            if((uy>LBM_EPSILON)&&(uy>myforce->forceVel[1])) { \
                uy = v2w*myforce->forceVel[1]+ v2wi*uy; }

Definition at line 69 of file solver_control.h.

#define PRECOLLIDE_MODS (   rho,
  ux,
  uy,
  uz,
  grav 
)

Definition at line 79 of file solver_control.h.

Referenced by LbmFsgrSolver::collideArrays().

#define TEST_IF_CHECK
Value:
if((!iffilled)&&(LBMGET_FORCE(lev,i,j,k).weightAtt!=0.)) { \
            errMsg("TESTIFFILL"," at "<<PRINT_IJK<<" "<<mass<<" "<<rho); \
            iffilled = true; \
            if(mass<rho*1.0) mass = rho*1.0; myfrac = 1.0; \
        }

Definition at line 113 of file solver_control.h.