PLUTO
4.4-patch2
|
Perform index permutation and set domain integration indexes. More...
#include "pluto.h"
Functions | |
void | SetVectorIndices (int dir) |
void | ResetState (const Data *d, Sweep *sweep, Grid *grid) |
The function SetIndexes() performs a cyclic permutation of the array indices corresponding to vector components (velocity, momentum, magnetic field, etc...). Indices are stored as global variables, see globals.h
Initialize some of the elements of the Sweep structure to zero in order to speed up computations. These includes:
void SetVectorIndices | ( | int | dir | ) |
Set vector indices and integration index range.
[in] | dir | the direction index |