From 68a834f780d40764582a05ca92da68d437972390 Mon Sep 17 00:00:00 2001 From: John Tramm Date: Fri, 17 Jan 2020 15:59:37 +0000 Subject: [PATCH] Added comment warning for Particle::Bank struct defintion that changes to it must also be made in MPI type declaration. --- include/openmc/particle.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/openmc/particle.h b/include/openmc/particle.h index 2f5e96394c..601924c9fd 100644 --- a/include/openmc/particle.h +++ b/include/openmc/particle.h @@ -163,6 +163,9 @@ public: }; //! Saved ("banked") state of a particle + //! NOTE: This structure's MPI type is built in initialize_mpi() of + //! initialize.cpp. Any changes made to the struct here must also be + //! made when building the Bank MPI type in initialize_mpi(). struct Bank { Position r; Direction u;