hoomd.write.GSD not recognizing "dynamic" strings for loggable quantities #2059
-
Hello all, I'm working on a molecular dynamics project using HOOMD 3.11, and when trying to add additional dynamic quantities to my GSD writer (velocity, typeid, etc...), I'm finding that the writer is not recognizing the "member strings" as outlined in this doc. If I include one of the "category" strings in the dynamic list, it works fine and correctly records all the members in that category (ie "momentum" is writing velocities properly), but trying to use individual strings (ex: "particles/velocity") gives the following output:
This is just for one operation in a series of them (I'm using signac flow), but I have the exact same issue regardless of which operation it is, and other than problem everything runs exactly as expected. The full code for this operation is attached below: `
` where job.sp.dynamic is ['property', 'momentum', 'particles/typeid'] Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This is expected behavior. The documentation states:
By inference, this means that no other strings are allowed. In your case, GSD implicitly considers logged quantities as dynamic and always writes them to the file. In other words:
|
Beta Was this translation helpful? Give feedback.
I misunderstood. I thought you were asking about quantities defined in your
Logger
.'configuration/box'
,'particles/N'
,'particles/position'
,''particles/orientation'
,''particles/velocity'
, ... and similarly documented strings can be provided in thedynamic
list to choose dynamic quantities with finer granularity than'property'
,'momentum'
, etc...This feature was added in HOOMD-blue 4.0.0. You need to upgrade to use this functionality.