B.6. User-Defined Scalar (UDS) DEFINE Macros

The following definitions for UDS DEFINE macros (see User-Defined Scalar (UDS) Transport Equation DEFINE Macros) are taken from the udf.h header file.

 #define DEFINE_ANISOTROPIC_DIFFUSIVITY(name, c, t, ns, dmatrix) \
 void name(cell_t c, Thread *t, int ns, real dmatrix[ND_ND][ND_ND])
 
 #define DEFINE_UDS_FLUX(name, f, t, i) real name(face_t f, Thread *t, int i)
 
 #define DEFINE_UDS_UNSTEADY(name, c, t, i, apu, su) \
  void name(cell_t c, Thread *t, int i, real *apu, real *su)