You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In preparation for the integrator refactor (#4015):
In order to remove time_step (#3769) and temperature as globals, components that use them should take them as an initialization argument and store their own copy.
This affects e.g.:
dpd (time step and temperature)
thermalized bonds (tim step and temperature)
lb (temperature, time step because of unit conversion)
reaciton ensemble (temperature)
electrostatics module (no idea, wy. Perhaps Drude)
The best way to identify uses is probably, using and IDE of your choice, to open the headers which define the globals (integrate.hpp and thermostat.hpp), find the definition of the global and use the "find uses" functio of the IDE.
The text was updated successfully, but these errors were encountered:
jngrad
changed the title
Add time stepand kT as parameter to components that use them
Add time step and kT as parameters to components that use them
May 11, 2021
Fixes#4247
Description of changes:
- reduce usage of the `temperature` and `time_step` globals
- combine the `int fluidstep` and `double fluidstep` static globals into a single static global
- only increment LB RNG during LB integration (changes the thermalization random sequence when `tau != time_step`)
- reduce code duplication, replace raw pointers by references, improve separation of concerns
In preparation for the integrator refactor (#4015):
In order to remove time_step (#3769) and temperature as globals, components that use them should take them as an initialization argument and store their own copy.
This affects e.g.:
The best way to identify uses is probably, using and IDE of your choice, to open the headers which define the globals (integrate.hpp and thermostat.hpp), find the definition of the global and use the "find uses" functio of the IDE.
The text was updated successfully, but these errors were encountered: