From: Wolfgang Bangerth Date: Fri, 20 Aug 2021 01:37:32 +0000 (-0600) Subject: Use ParticleAccessor::set_properties() taking a Tensor. X-Git-Tag: v9.4.0-rc1~1034^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=163d9efb1b14f3b24a504f0c76fe7eba8380da81;p=dealii.git Use ParticleAccessor::set_properties() taking a Tensor. --- diff --git a/examples/step-19/step-19.cc b/examples/step-19/step-19.cc index aac35e91b8..b197b16933 100644 --- a/examples/step-19/step-19.cc +++ b/examples/step-19/step-19.cc @@ -707,7 +707,7 @@ namespace Step19 const Tensor<1, dim> new_velocity = old_velocity + acceleration * dt; - particle->set_properties(make_array_view(new_velocity)); + particle->set_properties(new_velocity); // With the new velocity, we can then also update the location // of the particle and tell the particle about it.