|
Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
|
Definitions of initial conditions for different tests. Note that the grid is mapped to 1D as i + (x_dim)*j + (x_dim*y_dim)*k. Functions are members of the Grid3D class. More...
#include <math.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include <algorithm>#include <cmath>#include <fstream>#include <iostream>#include "../global/global.h"#include "../grid/grid3D.h"#include "../io/io.h"#include "../mpi/mpi_routines.h"#include "../utils/error_handling.h"#include "../utils/hydro_utilities.h"#include "../utils/math_utilities.h"#include "../utils/mhd_utilities.h"
Definitions of initial conditions for different tests. Note that the grid is mapped to 1D as i + (x_dim)*j + (x_dim*y_dim)*k. Functions are members of the Grid3D class.