- Global CT_AverageNormalMagField  (const Data *d, int side, Grid *grid)
 
- replace the loops with more compact macro, such as X1_BEG_LOOP()...  
 
- Global CT_AverageNormalMagField  (const Data *d, int side, Grid *grid)
 
- replace the loops with more compact macro, such as X1_BEG_LOOP()...  
 
- Global CT_AverageTransverseMagField  (const Data *d, int side, Grid *grid)
 
- replace the loops using more compact notations, such as X1_BEG_LOOP()...  
 
- Global CT_StoreResistiveEMF  (double **res_flx, int beg, int end, Grid *grid)
 
- some memory could be saved here...  
 
- Global CT_StoreResistiveEMF  (double **res_flx, int beg, int end, Grid *grid)
 
- some memory could be saved here...  
 
- Global CT_Update  (const Data *, Grid *)
 
- dt may be set separately in a more concise manner. 
 
- Global CT_Update  (const Data *, Grid *)
 
- dt may be set separately in a more concise manner. 
 
- File fargo.h  
 
- Global FARGO_ShiftSolution  (Data_Arr, Data_Arr, Grid *)
 
- Optimization: avoid using too many if statement like on nproc_s > 1 or == 1  
 
- Global FARGO_ShiftSolution  (Data_Arr, Data_Arr, Grid *)
 
- Optimization: avoid using too many if statement like on nproc_s > 1 or == 1  
 
- Global FillMagneticField  (const Data *d, int side, Grid *grid)
 
- replace the loops with more compact macro, such as X1_BEG_LOOP()...  
 
- Global FillMagneticField  (const Data *d, int side, Grid *grid)
 
- replace the loops with more compact macro, such as X1_BEG_LOOP()...  
 
- File hdf5_io.c  
 
- This format does not yet support writing of supplementary variables. 
 
- Global MyFunctionTemplate  (void)
 
- – 
 
- Global RightHandSide  (const State_1D *state, Time_Step *Dts, int beg, int end, double dt, Grid *grid)
 
– 
–  
 
- Global SB_Boundary  (const Data *, int, Grid *)
 
- Check if sb_Ly and sb_vy need to be global.  
 
- Global SB_Boundary  (const Data *, int, Grid *)
 
- Check if sb_Ly and sb_vy need to be global.  
 
- File shearingbox.h  
 
- Check if sb_vy and sb_Ly are really needed as global variables.  
 
- Global WriteVTK_Header  (FILE *fvtk, Grid *grid)
 
- Write the grid using several processors.