Skip to content

Commit

Permalink
Update examples/step-67/step-67.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Luca Heltai <luca.heltai@sissa.it>
  • Loading branch information
stefanozampini and luca-heltai committed Apr 11, 2023
1 parent 24ace2e commit fbe0970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/step-67/step-67.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2275,8 +2275,8 @@ namespace Euler_DG
// embedded formulas produce steps very similar to the one with the CFL.
using VectorType = PETScWrappers::MPI::Vector;

// We won't need those ugly copy from/to operations once we derive PETSc
// vector classes from VectorSpaceVectors
// Here we use two small helper functions to copy to and from `LinearAlgebra::distributed::Vector<Number>`
// vector types.
auto copy_from_petsc = [](const VectorType & src,
LinearAlgebra::distributed::Vector<Number> &dst) {
auto lr = src.local_range();
Expand Down

0 comments on commit fbe0970

Please sign in to comment.