From 9f29ca99435cbc05144d91bcdc31d92372873199 Mon Sep 17 00:00:00 2001 From: John Tramm Date: Fri, 17 Jan 2020 16:32:42 +0000 Subject: [PATCH] Added another annotation to the Particle::Bank struct definition, alerting that this structure is also defined in the python C interface. --- include/openmc/particle.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/openmc/particle.h b/include/openmc/particle.h index 601924c9f..097f0faaf 100644 --- a/include/openmc/particle.h +++ b/include/openmc/particle.h @@ -166,6 +166,9 @@ public: //! 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(). + //! NOTE: This structure is also used on the python side, and is defined + //! in lib/core.py. Changes made to the type here must also be made to the + //! python defintion. struct Bank { Position r; Direction u;