79class System :
public std::enable_shared_from_this<System> {
87 static std::shared_ptr<System> create();
98 void set_time_step(
double value);
104 void set_sim_time(
double value);
110 void set_force_cap(
double value);
116 void set_min_global_cut(
double value);
126 void tune_verlet_skin(
double min_skin,
double max_skin,
double tol,
127 int int_steps,
bool adjust_max_skin);
133 void rebuild_cell_structure();
136 double maximal_cutoff()
const;
139 double get_interaction_range()
const;
141 unsigned get_global_ghost_flags()
const;
146 bool long_range_interactions_sanity_checks()
const;
149 std::shared_ptr<Observable_stat> calculate_energy();
152 std::shared_ptr<Observable_stat> calculate_pressure();
162 void synchronize_npt_state();
164 void npt_ensemble_init(
bool recalc_forces);
165 void npt_add_virial_contribution(
double energy);
171 void calculate_forces();
173#ifdef DIPOLE_FIELD_TRACKING
175 void calculate_long_range_fields();
187 double particle_short_range_energy_contribution(
int pid);
202 std::optional<double> particle_bond_energy(
int pid,
int bond_id,
203 std::vector<int> partners);
237 int integrate(
int n_steps,
int reuse_forces);
239 int integrate_with_signal_handler(
int n_steps,
int reuse_forces,
240 bool update_accumulators);
243 void thermostat_force_init();
245 void lb_couple_particles();
260 void on_boxl_change(
bool skip_method_adaption =
false);
261 void on_node_grid_change();
262 void on_periodicity_change();
263 void on_cell_structure_change();
264 void on_thermostat_param_change();
265 void on_temperature_change();
266 void on_verlet_skin_change();
267 void on_timestep_change();
268 void on_integration_start();
269 void on_short_range_ia_change();
270 void on_non_bonded_ia_change();
271 void on_coulomb_change();
272 void on_dipoles_change();
274 void on_constraint_change();
278 void on_lb_boundary_conditions_change();
280 void on_particle_local_change();
282 void on_particle_change();
284 void on_particle_charge_change();
289 void on_observable_calc();
290 void on_lees_edwards_change();
291 void veto_boxl_change(
bool skip_particle_checks =
false)
const;
298 void update_dependent_particles();
302 void update_used_propagations();
306 void check_kT(
double value)
const;
323#ifdef COLLISION_DETECTION
328 std::shared_ptr<Accumulators::AutoUpdateAccumulators>
332 std::shared_ptr<NptIsoParameters>
nptiso;
353 void update_local_geo();
355 void update_icc_particles();
363 void integrator_sanity_checks()
const;
Particle data communication manager for the GPU.