Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
Loading...
Searching...
No Matches
parallel_omp.h
1#ifdef PARALLEL_OMP
2
3 #ifndef PARALLEL_OMP_H
4 #define PARALLEL_OMP_H
5
6 #include <omp.h>
7 #include <stdio.h>
8 #include <stdlib.h>
9
10 #include <iostream>
11
12 #include "../global/global.h"
13 #include "math.h"
14
15void Get_OMP_Grid_Indxs(int n_grid_cells, int n_omp_procs, int omp_proc_id, int *omp_gridIndx_start,
16 int *omp_gridIndx_end);
17
18 #ifdef PARTICLES
19void Get_OMP_Particles_Indxs(part_int_t n_parts_local, int n_omp_procs, int omp_proc_id, part_int_t *omp_pIndx_start,
20 part_int_t *omp_pIndx_end);
21 #endif
22
23 #endif
24#endif