perf: remove OpenMP pragma from ortho calc, since we already forked

OpenMP threads in 2D ADI
This commit is contained in:
Max Lübke 2023-01-06 16:18:06 +01:00
parent 0abd4e04ae
commit d4e3ab8544

View File

@ -87,7 +87,6 @@ auto calc_d_ortho(const DMatrixRowMajor &c, const DMatrixRowMajor &alpha,
}
// then iterate over inlet
#pragma omp parallel for private(y_values) schedule(dynamic)
for (int i = 1; i < n_rows - 1; i++) {
for (int j = 0; j < n_cols; j++) {
double sy = (time_step * alpha(i, j)) / (dx * dx);