Skip to content

Commit

Permalink
Merge pull request #5638 from gassmoeller/fix_alignment_problem_gmg_n…
Browse files Browse the repository at this point in the history
…ewton

Fix alignment problem for VectorizedArray
  • Loading branch information
tjhei authored May 18, 2024
2 parents 5bf26b0 + 8d90584 commit 60d92af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/simulator/stokes_matrix_free.cc
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,8 @@ namespace aspect

// Store the symmetric gradients of the velocity field and the
// values of the pressure field
std::vector<SymmetricTensor<2,dim,VectorizedArray<number>>> sym_grad_u;
std::vector<VectorizedArray<number>> val_p;
AlignedVector<SymmetricTensor<2,dim,VectorizedArray<number>>> sym_grad_u;
AlignedVector<VectorizedArray<number>> val_p;
if (cell_data->enable_newton_derivatives)
{
sym_grad_u.resize(u_eval.n_q_points);
Expand Down

0 comments on commit 60d92af

Please sign in to comment.