Allow non-conservative simulations without stress#47
Allow non-conservative simulations without stress#47PicoCentauri wants to merge 1 commit intometatomicfrom
Conversation
|
If Alternatively, we could allow I don't have strong feeling here, we can either automatically use autodiff when the non_conservative output does not exists; or force the user to tell us and have |
|
I think a fallback to autodiff and write a warning might not be read by the user. I am more in favour of raising an error if either
|
|
I'm fine with the error, but it seems that there is a typo (
|
|
Yes sorry for the typo. Okay let's do this options. |
This is a bit delicate. The problem seems to be that the
vflag_globalis kind of always set. I tried a minimal NVE simulation and athermo_stylewhere there is no pressure output. But even during this run, the flag is set to true.The only workaround I see is to warn the user at init time and unfortunately silently ignore the pressure output during the run.
I am open to any better suggestions. @Luthaf or @HaoZeke.