]> https://gitweb.dealii.org/ - dealii.git/commit
Rename the write/update particle functions. 11775/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 19 Feb 2021 18:17:39 +0000 (11:17 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 19 Feb 2021 19:13:17 +0000 (12:13 -0700)
commit4a04c6b5b542f50332d09e0ad0e61feb5343982e
treea1152af80c30a346bd72e3da987d5e198c1d32db
parent747fa0e0656816cebbd06351ce810913031acf27
Rename the write/update particle functions.

Give these functions a more systematic name. While also adjust to a more widely
used idiom: A function that takes a pointer doesn't return the updated pointer
location via that argument, but instead as an explicit return value. This idiom
is in fact used just a couple of lines below the places where these functions
are currently used in particle_handler.cc.
include/deal.II/particles/particle.h
include/deal.II/particles/particle_accessor.h
source/particles/particle.cc
source/particles/particle_handler.cc
tests/particles/particle_04.cc
tests/particles/particle_06.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.