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();
134#ifdef ESPRESSO_SHARED_MEMORY_PARALLELISM
135 void rebuild_aosoa();
139 double maximal_cutoff()
const;
142 double get_interaction_range()
const;
144 unsigned get_global_ghost_flags()
const;
149 bool long_range_interactions_sanity_checks()
const;
152 std::shared_ptr<Observable_stat> calculate_energy();
155 std::shared_ptr<Observable_stat> calculate_pressure();
165 void synchronize_npt_state();
167 void npt_ensemble_init(
bool recalc_forces);
168 void npt_add_virial_contribution(
double energy);
169 bool has_npt_enabled()
const;
174 void calculate_forces();
176#ifdef ESPRESSO_DIPOLE_FIELD_TRACKING
181#ifdef ESPRESSO_COLLISION_DETECTION
182 bool has_collision_detection_enabled()
const;
194 double particle_short_range_energy_contribution(
int pid);
209 std::optional<double> particle_bond_energy(
int pid,
int bond_id,
210 std::vector<int> partners);
244 int integrate(
int n_steps,
int reuse_forces);
246 int integrate_with_signal_handler(
int n_steps,
int reuse_forces,
247 bool update_accumulators);
250 void lb_couple_particles();
265 void on_boxl_change(
bool skip_method_adaption =
false);
266 void on_node_grid_change();
267 void on_periodicity_change();
268 void on_cell_structure_change();
269 void on_thermostat_param_change();
270 void on_temperature_change();
271 void on_verlet_skin_change();
272 void on_timestep_change();
273 void on_integration_start();
274 void on_short_range_ia_change();
275 void on_non_bonded_ia_change();
276 void on_coulomb_change();
277 void on_dipoles_change();
279 void on_constraint_change();
283 void on_lb_boundary_conditions_change();
285 void on_particle_local_change();
287 void on_particle_change();
289 void on_particle_charge_change();
294 void on_observable_calc();
295 void on_lees_edwards_change();
296 void veto_boxl_change(
bool skip_particle_checks =
false)
const;
303 void update_dependent_particles();
307 void update_used_propagations();
311 void check_kT(
double value)
const;
328#ifdef ESPRESSO_COLLISION_DETECTION
333 std::shared_ptr<Accumulators::AutoUpdateAccumulators>
337 std::shared_ptr<NptIsoParameters>
nptiso;
358 void update_local_geo();
359#ifdef ESPRESSO_ELECTROSTATICS
360 void update_icc_particles();
361 bool has_icc_enabled()
const;
369 void integrator_sanity_checks()
const;
Particle data communication manager for the GPU.