00001 #ifndef PARTICLE_H 00002 #define PARTICLE_H 00003 #include "../copyright.h" 00004 /*============================================================================*/ 00005 /*! \file particle.h 00006 * \brief Global variables for all functions in in the src/particles 00007 * directory. */ 00008 /*============================================================================*/ 00009 00010 #include <stdio.h> 00011 #include <stdarg.h> 00012 #include "../athena.h" 00013 #include "../defs.h" 00014 00015 #include "../config.h" 00016 00017 /*----------------------------------------------------------------------------*/ 00018 #ifdef PARTICLES 00019 00020 /*--------------------------- grid limit quantities -----------------------==-*/ 00021 /* left and right limit of grid indices */ 00022 int ilp,iup, jlp,jup, klp,kup; 00023 /* left and right limit of grid boundary */ 00024 Real x1lpar, x1upar, x2lpar, x2upar, x3lpar, x3upar; 00025 00026 /*----------------- Quantities for Stopping time calculation -----------------*/ 00027 /*! \var Real *tstop0 00028 * \brief Array of particle stopping time (for tstop=const) for each particle 00029 * type */ 00030 Real *tstop0; 00031 /*! \var Real *grrhoa 00032 * \brief an array of particle solid density times particle size in 00033 * normalized unit */ 00034 Real *grrhoa; 00035 /*! \var Real alamcoeff 00036 * \brief coefficient for the calculation of a/lambda */ 00037 Real alamcoeff; 00038 00039 00040 /*! \var int ncell 00041 * \brief number of neighbouring cells involved in 1D interpolation */ 00042 int ncell; 00043 00044 #ifdef SHEARING_BOX 00045 /*! \var Real vshear 00046 * \brief Shear velocity */ 00047 Real vshear; 00048 #endif 00049 00050 #endif /* PARTICLES */ 00051 00052 #endif /* PARTICLE_H */