From b21f2d53225a3784dbfed579776899a800cd2502 Mon Sep 17 00:00:00 2001 From: Thomas Quinn Date: Thu, 11 Sep 2025 17:54:06 -0500 Subject: [PATCH] Tipsy::header: replace operator|(PUPer,) with PUPbytes(). --- structures/TipsyReader.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/structures/TipsyReader.h b/structures/TipsyReader.h index 7c14e7e..7551f80 100644 --- a/structures/TipsyReader.h +++ b/structures/TipsyReader.h @@ -348,6 +348,10 @@ class TipsyWriter { #include "pup.h" #include "charm++.h" +PUPbytes(Tipsy::header); +/* Having trouble using this in a parameter marshalling context in a + .ci file. PUPbytes appears to work. + inline void operator|(PUP::er& p, Tipsy::header& h) { p | h.time; p | h.nbodies; @@ -356,6 +360,7 @@ inline void operator|(PUP::er& p, Tipsy::header& h) { p | h.ndark; p | h.nstar; } +*/ class CkOStream;