PLUTO
|
3D wrapper for conservative/primitive conversion. More...
#include "pluto.h"
Go to the source code of this file.
Functions | |
void | ConsToPrim3D (Data_Arr U, Data_Arr V, unsigned char ***flag, RBox *box) |
void | PrimToCons3D (Data_Arr V, Data_Arr U, RBox *box) |
3D wrapper for conservative/primitive conversion.
Provide 3D wrappers to the standard 1D conversion functions ConsToPrim() and PrimToCons().
Definition in file mappers3D.c.
Convert a 3D array of conservative variables U
to an array of primitive variables V
. Note that [nv]
is the fastest running index for U
while it is the slowest running index for V
.
[in] | U | pointer to 3D array of conserved variables, with array indexing [k][j][i][nv] |
[out] | V | pointer to 3D array of primitive variables, with array indexing [nv][k][j][i] |
[in,out] | flag | pointer to 3D array of flags. |
[in] | box | pointer to RBox structure containing the domain portion over which conversion must be performed. |
Definition at line 16 of file mappers3D.c.
Convert a 3D array of primitive variables V
to an array of conservative variables U
. Note that [nv]
is the fastest running index for U
while it is the slowest running index for V
.
[in] | V | pointer to 3D array of primitive variables, with array indexing [nv][k][j][i] |
[out] | U | pointer to 3D array of conserved variables, with array indexing [k][j][i][nv] |
[in] | box | pointer to RBox structure containing the domain portion over which conversion must be performed. |
Definition at line 86 of file mappers3D.c.