Skip to content

Commit 73c6f64

Browse files
authored
Fix copy/paste error in ParticleInterpolator docstrings (#4808)
The proposed changes: - [x] fix a bug or incorrect behavior in AMReX - [ ] add new capabilities to AMReX - [ ] changes answers in the test suite to more than roundoff level - [ ] are likely to significantly affect the results of downstream AMReX users - [x] include documentation in the code and/or rst files, if appropriate
1 parent dd263a9 commit 73c6f64

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Src/Particle/AMReX_ParticleInterpolators.H

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ struct Base
3131
*
3232
* \param p the particle to interpolate
3333
* \param arr the Array4 to interpolate to
34-
* \param src_comp the particle component to start at
35-
* \param dst_comp the mesh component to start at
34+
* \param src_comp the particle component to start interpolating from
35+
* \param dst_comp the mesh component to start writing to
3636
* \param num_comps the number of components to interpolate
3737
* \param f function for computing the particle quantity to interpolate
3838
*
@@ -93,8 +93,8 @@ struct Base
9393
*
9494
* \param p the particle to interpolate
9595
* \param arr the Array4 to interpolate to
96-
* \param src_comp the particle component to start at
97-
* \param dst_comp the mesh component to start at
96+
* \param src_comp the mesh component to start interpolating from
97+
* \param dst_comp the particle component to start writing to
9898
* \param num_comps the number of components to interpolate
9999
* \param f function for computing the particle quantity to interpolate
100100
* \param g function that updates the particle given the mesh value

0 commit comments

Comments
 (0)