Skip to content

Commit

Permalink
Combine non-orthorhombic corrections in the xz and yz planes
Browse files Browse the repository at this point in the history
  • Loading branch information
mtaillefumier authored and oschuett committed Mar 8, 2021
1 parent f84d0fc commit 27414a6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/grid/cpu/grid_collocate_dgemm.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,8 @@ void collocate_l0(double *scratch, const double alpha, const bool orthogonal_xy,

/* compute the following operation (variant) it is a tensor contraction
V_{kji} = \sum_{\alpha\beta\gamma} C_{\alpha\gamma\beta} T_{2,\alpha,i}
T_{1,\beta,j} T_{0,\gamma,k}
V_{kji} = \sum_{\alpha\beta\gamma}
C_{\alpha\gamma\beta} T_{2,\alpha,i} T_{1,\beta,j} T_{0,\gamma,k}
*/
void tensor_reduction_for_collocate_integrate(
Expand Down Expand Up @@ -721,7 +721,6 @@ void apply_mapping_cubic(struct collocation_integration_ *handler,

if (upper_corner[2] - lower_corner[2]) {
const int position1[3] = {z, y, x};

/* the function will internally take care of the local vx global
* grid */
add_sub_grid(
Expand Down

0 comments on commit 27414a6

Please sign in to comment.