mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-25 20:45:35 -04:00
Re-adding OpenMP pragmas.
This commit is contained in:
parent
c968866c0e
commit
a0931879a6
1 changed files with 2 additions and 2 deletions
|
|
@ -1018,7 +1018,7 @@ extern "C" int openmc_id_map(const CPlot& pl, int* data_out) {
|
|||
|
||||
double dir[3] = {0.5, 0.5, 0.5};
|
||||
|
||||
//#pragma omp parallel
|
||||
#pragma omp parallel
|
||||
{
|
||||
Particle p;
|
||||
p.initialize();
|
||||
|
|
@ -1028,7 +1028,7 @@ extern "C" int openmc_id_map(const CPlot& pl, int* data_out) {
|
|||
int level = pl.level_;
|
||||
int j{};
|
||||
|
||||
//#pragma omp for
|
||||
#pragma omp for
|
||||
for (int y = 0; y < height; y++) {
|
||||
p.coord[0].xyz[out_i] = xyz[out_i] - out_pixel * y;
|
||||
p.n_coord = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue