mirror of
https://git.gfz-potsdam.de/naaice/tug.git
synced 2025-12-13 09:28:23 +01:00
delete openmp curly bracket
This commit is contained in:
parent
c0e46bd82f
commit
af056b4d82
@ -333,7 +333,6 @@ static void BTCS_2D(Grid &grid, Boundary &bc, double ×tep) {
|
||||
|
||||
MatrixXd concentrations = grid.getConcentrations();
|
||||
#pragma omp parallel for num_threads(NUM_THREADS_BTCS) private(A, b, row_t1)
|
||||
{
|
||||
for (int i = 0; i < rowMax; i++) {
|
||||
|
||||
|
||||
@ -347,14 +346,14 @@ static void BTCS_2D(Grid &grid, Boundary &bc, double ×tep) {
|
||||
|
||||
concentrations_t1.row(i) = row_t1;
|
||||
}
|
||||
}
|
||||
|
||||
concentrations_t1.transposeInPlace();
|
||||
concentrations.transposeInPlace();
|
||||
alphaX.transposeInPlace();
|
||||
alphaY.transposeInPlace();
|
||||
|
||||
#pragma omp parallel for num_threads(NUM_THREADS_BTCS) private(A, b, row_t1)
|
||||
{
|
||||
|
||||
for (int i = 0; i < colMax; i++) {
|
||||
// swap alphas, boundary conditions and sx/sy for column-wise calculation
|
||||
A = createCoeffMatrix(alphaY, bcLeft, bcRight, rowMax, i, sy);
|
||||
@ -365,7 +364,7 @@ static void BTCS_2D(Grid &grid, Boundary &bc, double ×tep) {
|
||||
|
||||
concentrations.row(i) = row_t1;
|
||||
}
|
||||
}
|
||||
|
||||
concentrations.transposeInPlace();
|
||||
|
||||
grid.setConcentrations(concentrations);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user