ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
System::System Class Reference

Main system class. More...

#include <System.hpp>

Inheritance diagram for System::System:
Collaboration diagram for System::System:

Public Member Functions

 System (Private)
auto get_time_step () const
 Get time_step.
void set_time_step (double value)
 Set time_step.
auto get_sim_time () const
 Get sim_time.
void set_sim_time (double value)
 Set sim_time.
auto get_force_cap () const
 Get force_cap.
void set_force_cap (double value)
 Set force_cap.
auto get_min_global_cut () const
 Get min_global_cut.
void set_min_global_cut (double value)
 Set min_global_cut.
void set_box_l (Utils::Vector3d const &box_l)
 Change the box dimensions.
void tune_verlet_skin (double min_skin, double max_skin, double tol, int int_steps, bool adjust_max_skin)
 Tune the Verlet skin.
void set_cell_structure_topology (CellStructureType topology)
 Change cell structure topology.
void rebuild_cell_structure ()
 Rebuild cell lists.
void rebuild_aosoa ()
double maximal_cutoff () const
 Calculate the maximal cutoff of all interactions.
double get_interaction_range () const
 Get the interaction range.
unsigned get_global_ghost_flags () const
 Returns the ghost flags required for running pair kernels for the global state, e.g.
unsigned get_force_reduce_ghost_flags () const
 Returns the ghost flags for the force-reduce step.
bool long_range_interactions_sanity_checks () const
 Check electrostatic and magnetostatic methods are properly initialized.
Observable_stat const & calculate_energy ()
 Calculate the total energy.
Observable_stat const & calculate_pressure ()
 Calculate the pressure from a virial expansion.
void synchronize_npt_state ()
 Synchronize NpT state such as instantaneous and average pressure.
void npt_ensemble_init (bool recalc_forces)
 Reinitialize the NpT state.
void npt_add_virial_contribution (double energy)
bool has_npt_enabled () const
Utils::Vector3d * get_npt_virial () const
void calculate_forces ()
 Calculate all forces.
void calculate_long_range_fields ()
 Calculate dipole fields.
bool has_collision_detection_enabled () const
double particle_short_range_energy_contribution (int pid)
 Compute the short-range energy of a particle.
std::optional< double > particle_bond_energy (int pid, int bond_id, std::vector< int > partners)
 Compute the energy of a given bond which has to exist on the given particle.
int integrate (int n_steps, int reuse_forces)
 Integrate equations of motion.
int integrate_with_signal_handler (int n_steps, int reuse_forces, bool update_accumulators)
void lb_couple_particles ()
 Calculate particle-lattice interactions.
void update_dependent_particles ()
 Update particles with properties depending on other particles, namely virtual sites and ICC charges.
void update_used_propagations ()
 Update the global propagation bitmask.
void check_kT (double value) const
 Veto temperature change.
Hook procedures

These procedures are called if several significant changes to the system happen which may make a reinitialization of subsystems necessary.

void on_boxl_change (bool skip_method_adaption=false)
 Called when the box length has changed.
void on_node_grid_change ()
void on_periodicity_change ()
void on_cell_structure_change ()
void on_thermostat_param_change ()
void on_temperature_change ()
void on_verlet_skin_change ()
void on_timestep_change ()
void on_integration_start ()
void on_short_range_ia_change ()
void on_non_bonded_ia_change ()
void on_coulomb_change ()
void on_dipoles_change ()
void on_constraint_change ()
 Called every time a constraint is changed.
void on_lb_boundary_conditions_change ()
 Called when the LB boundary conditions change (geometry, slip velocity, or both).
void on_particle_local_change ()
 Called every time a particle local property changes.
void on_particle_change ()
 Called every time a particle property changes.
void on_particle_charge_change ()
 Called every time a particle charge changes.
void on_observable_calc ()
 called before calculating observables, i.e.
void on_lees_edwards_change ()
void veto_boxl_change (bool skip_particle_checks=false) const

Static Public Member Functions

static std::shared_ptr< System > create ()

Public Attributes

std::shared_ptr< GpuParticleData > gpu
ResourceCleanup cleanup_queue
Coulomb::Solver coulomb
Dipoles::Solver dipoles
LB::Solver lb
EK::Solver ek
std::shared_ptr< BoxGeometry > box_geo
std::shared_ptr< LocalBox > local_geo
std::shared_ptr< CellStructure > cell_structure
std::shared_ptr< Propagation > propagation
std::shared_ptr< BondedInteractionsMap > bonded_ias
std::shared_ptr< InteractionsNonBonded > nonbonded_ias
std::shared_ptr< Thermostat::Thermostat > thermostat
std::shared_ptr< ComFixed > comfixed
std::shared_ptr< Galilei > galilei
std::shared_ptr< OifGlobal > oif_global
std::shared_ptr< ImmersedBoundaries > immersed_boundaries
std::shared_ptr< CollisionDetection::CollisionDetection > collision_detection
std::shared_ptr< BondBreakage::BondBreakage > bond_breakage
std::shared_ptr< LeesEdwards::LeesEdwards > lees_edwards
std::shared_ptr< Accumulators::AutoUpdateAccumulators > auto_update_accumulators
std::shared_ptr< Constraints::Constraints > constraints
std::shared_ptr< SteepestDescent > steepest_descent
std::shared_ptr< StokesianDynamics > stokesian_dynamics
std::shared_ptr< NptIsoParameters > nptiso
std::shared_ptr< InstantaneousPressure > npt_inst_pressure

Protected Member Functions

void update_local_geo ()
void update_icc_particles ()
bool has_icc_enabled () const
void integrate_magnetodynamics ()
 Run magnetodynamics update for local virtual particles.

Protected Attributes

bool reinit_thermo
 Whether the thermostat has to be reinitialized before integration.
double time_step
 Molecular dynamics integrator time step.
double sim_time
 Molecular dynamics integrator simulation time.
double force_cap
 Molecular dynamics integrator force capping.
double min_global_cut
 Minimal global interaction cutoff.
std::shared_ptr< EnergyObservable > m_obs_energy
std::shared_ptr< PressureObservable > m_obs_pressure

Detailed Description

Main system class.

Most components follow the composite pattern and the opaque pointer pattern. See System class design for more details.

Definition at line 87 of file core/system/System.hpp.

Constructor & Destructor Documentation

◆ System()

Member Function Documentation

◆ calculate_energy()

◆ calculate_forces()

◆ calculate_long_range_fields()

◆ calculate_pressure()

◆ check_kT()

void System::System::check_kT ( double value) const

Veto temperature change.

Definition at line 163 of file core/system/System.cpp.

References ek, and lb.

Referenced by calculate_long_range_fields().

◆ create()

std::shared_ptr< System > System::System::create ( )
static

◆ get_force_cap()

auto System::System::get_force_cap ( ) const
inline

Get force_cap.

Definition at line 115 of file core/system/System.hpp.

References force_cap.

Referenced by ghost_reduce_overlap_eligible().

◆ get_force_reduce_ghost_flags()

unsigned System::System::get_force_reduce_ghost_flags ( ) const

Returns the ghost flags for the force-reduce step.

Always includes GHOSTTRANS_FORCE; adds GHOSTTRANS_TORQUE when orientation physics is active (same whitelist as get_global_ghost_flags for QUAT).

Definition at line 664 of file core/system/System.cpp.

References GHOSTTRANS_FORCE, GHOSTTRANS_TORQUE, and System::orientation_ghosts_needed().

Referenced by calculate_forces().

◆ get_global_ghost_flags()

unsigned System::System::get_global_ghost_flags ( ) const

◆ get_interaction_range()

double System::System::get_interaction_range ( ) const

◆ get_min_global_cut()

auto System::System::get_min_global_cut ( ) const
inline

◆ get_npt_virial()

Utils::Vector3d * System::System::get_npt_virial ( ) const

Definition at line 681 of file core/system/System.cpp.

References has_npt_enabled(), and npt_inst_pressure.

Referenced by calculate_forces().

◆ get_sim_time()

auto System::System::get_sim_time ( ) const
inline

Get sim_time.

Definition at line 109 of file core/system/System.hpp.

References sim_time.

Referenced by calculate_energy(), and calculate_forces().

◆ get_time_step()

◆ has_collision_detection_enabled()

bool System::System::has_collision_detection_enabled ( ) const

Definition at line 691 of file core/system/System.cpp.

References collision_detection.

Referenced by calculate_long_range_fields().

◆ has_icc_enabled()

bool System::System::has_icc_enabled ( ) const
protected

Definition at line 315 of file icc.cpp.

References coulomb.

Referenced by update_dependent_particles().

◆ has_npt_enabled()

bool System::System::has_npt_enabled ( ) const

◆ integrate()

int System::System::integrate ( int n_steps,
int reuse_forces )

Integrate equations of motion.

Parameters
n_stepsNumber of integration steps, can be zero
reuse_forcesDecide when to re-calculate forces

This function calls two hooks for propagation kernels such as velocity Verlet, velocity Verlet + NpT, or steepest descent. One hook is called before and one after the force calculation. It is up to the propagation kernels to increment the simulation time.

This function propagates the system according to the choice of integrator stored in Propagation::integ_switch. The general structure is:

  • if reuse_forces is zero, recalculate the forces based on the current state of the system
  • Loop over the number of simulation steps:
    1. initialization (e.g., RATTLE)
    2. First hook for propagation kernels
    3. Update dependent particles and properties (RATTLE, virtual sites)
    4. Calculate forces for the current state of the system. This includes forces added by the Langevin thermostat and the Lattice-Boltzmann-particle coupling
    5. Second hook for propagation kernels
    6. Update dependent properties (Virtual sites, RATTLE)
    7. Run single step algorithms (Lattice-Boltzmann propagation, collision detection, NpT update)
  • Final update of dependent properties and statistics/counters

High-level documentation of the integration and thermostatting schemes can be found in doc/sphinx/system_setup.rst and /doc/sphinx/running.rst

Returns
number of steps that have been integrated, or a negative error code

Definition at line 609 of file integrate.cpp.

References bond_breakage, bonded_ias, box_geo, calculate_forces(), cell_structure, check_runtime_errors(), collision_detection, comm_cart, correct_position_shake(), correct_velocity_shake(), Cells::DATA_PART_PROPERTIES, ek, ESPRESSO_CALI_MARK_BEGIN, ESPRESSO_CALI_MARK_END, ESPRESSO_CALI_MARK_FUNCTION, get_global_ghost_flags(), CellStructure::ghosts_reduce_forces_finish(), has_npt_enabled(), CellStructure::has_pending_ghost_reduce(), INTEG_ERROR_RUNTIME, INTEG_ERROR_SIGINT, INTEG_METHOD_BD, INTEG_METHOD_STEEPEST_DESCENT, INTEG_REUSE_FORCES_ALWAYS, INTEG_REUSE_FORCES_NEVER, integrate_magnetodynamics(), integrator_step_1(), integrator_step_2(), integrator_step_2_filtered(), EspressoCaliLoop::iteration(), lb, lb_tracers_add_particle_force_to_fluid(), lb_tracers_propagate(), LEES_EDWARDS, lees_edwards, local_geo, on_integration_start(), propagation, Cells::RESORT_LOCAL, resort_particles_if_needed(), PropagationMode::ROT_VS_INDEPENDENT, PropagationMode::ROT_VS_RELATIVE, runtimeErrorMsg, save_old_position(), sim_time, synchronize_npt_state(), thermostat, time_step, PropagationMode::TRANS_LB_MOMENTUM_EXCHANGE, PropagationMode::TRANS_LB_TRACER, PropagationMode::TRANS_VS_CENTER_OF_MASS, PropagationMode::TRANS_VS_RELATIVE, update_used_propagations(), vs_com_update_particles(), and vs_relative_update_particles().

Referenced by calculate_long_range_fields(), integrate_with_signal_handler(), run_full_force_calc(), and time_calc().

◆ integrate_magnetodynamics()

void System::System::integrate_magnetodynamics ( )
protected

Run magnetodynamics update for local virtual particles.

Iterate over local particles and update the dipole moment of virtual particles according to the thermal Stoner-Wohlfarth model. Collect active homogeneous external magnetic fields from constraints and add the per-particle dipolar contribution before performing either the simplified no-field update or the full thermal Stoner-Wohlfarth update.

Definition at line 258 of file stoner_wohlfarth_thermal.cpp.

References cell_structure, constraints, Particle::dip_fld(), get_external_field(), get_reference_particle(), Particle::id(), Particle::is_virtual(), Random::philox_4_uint64s(), Particle::stoner_wohlfarth_is_enabled(), stoner_wohlfarth_main(), stoner_wohlfarth_no_field(), THERMO_LANGEVIN, thermostat, and Utils::uniform().

Referenced by integrate().

◆ integrate_with_signal_handler()

int System::System::integrate_with_signal_handler ( int n_steps,
int reuse_forces,
bool update_accumulators )

◆ lb_couple_particles()

◆ long_range_interactions_sanity_checks()

bool System::System::long_range_interactions_sanity_checks ( ) const

Check electrostatic and magnetostatic methods are properly initialized.

Returns
true if sanity checks failed.

Definition at line 464 of file core/system/System.cpp.

References coulomb, dipoles, and runtimeErrorMsg.

Referenced by calculate_energy(), calculate_pressure(), and on_integration_start().

◆ maximal_cutoff()

double System::System::maximal_cutoff ( ) const

◆ npt_add_virial_contribution()

void System::System::npt_add_virial_contribution ( double energy)

Definition at line 137 of file npt.cpp.

References has_npt_enabled(), and npt_inst_pressure.

◆ npt_ensemble_init()

void System::System::npt_ensemble_init ( bool recalc_forces)

Reinitialize the NpT state.

Definition at line 101 of file npt.cpp.

References box_geo, cell_structure, comm_cart, Utils::Mpi::gather_buffer(), get_time_step(), npt_inst_pressure, nptiso, and this_node.

Referenced by on_integration_start().

◆ on_boxl_change()

void System::System::on_boxl_change ( bool skip_method_adaption = false)

Called when the box length has changed.

This routine is relatively fast, and changing the box length every time step as for example necessary for NpT is more or less ok.

Parameters
skip_method_adaptionskip the long-range methods adaptions

Definition at line 212 of file core/system/System.cpp.

References constraints, coulomb, dipoles, ek, lb, rebuild_cell_structure(), and update_local_geo().

Referenced by calculate_long_range_fields(), set_box_l(), velocity_verlet_npt_propagate_AVOVA_And(), and velocity_verlet_npt_propagate_AVOVA_MTK().

◆ on_cell_structure_change()

void System::System::on_cell_structure_change ( )

Definition at line 276 of file core/system/System.cpp.

References clear_particle_node(), coulomb, dipoles, ek, and lb.

Referenced by calculate_long_range_fields().

◆ on_constraint_change()

void System::System::on_constraint_change ( )

Called every time a constraint is changed.

Definition at line 338 of file core/system/System.cpp.

References propagation.

Referenced by calculate_long_range_fields().

◆ on_coulomb_change()

void System::System::on_coulomb_change ( )

◆ on_dipoles_change()

void System::System::on_dipoles_change ( )

◆ on_integration_start()

◆ on_lb_boundary_conditions_change()

void System::System::on_lb_boundary_conditions_change ( )

Called when the LB boundary conditions change (geometry, slip velocity, or both).

Definition at line 340 of file core/system/System.cpp.

References propagation.

Referenced by calculate_long_range_fields(), and ScriptInterface::walberla::LBFluid::do_call_method().

◆ on_lees_edwards_change()

void System::System::on_lees_edwards_change ( )

Definition at line 438 of file core/system/System.cpp.

References lb.

Referenced by calculate_long_range_fields().

◆ on_node_grid_change()

void System::System::on_node_grid_change ( )

◆ on_non_bonded_ia_change()

void System::System::on_non_bonded_ia_change ( )

◆ on_observable_calc()

void System::System::on_observable_calc ( )

called before calculating observables, i.e.

energy, pressure or the integrator (forces). Initialize any methods here which are not initialized immediately (P3M etc.).

Definition at line 410 of file core/system/System.cpp.

References cell_structure, clear_particle_node(), coulomb, dipoles, get_global_ghost_flags(), rebuild_aosoa(), and update_dependent_particles().

Referenced by calculate_energy(), calculate_long_range_fields(), calculate_pressure(), dpd_pressure_local(), and on_integration_start().

◆ on_particle_change()

◆ on_particle_charge_change()

void System::System::on_particle_charge_change ( )

Called every time a particle charge changes.

Definition at line 370 of file core/system/System.cpp.

References coulomb.

Referenced by calculate_long_range_fields(), and ScriptInterface::Particles::set_particles_charges().

◆ on_particle_local_change()

void System::System::on_particle_local_change ( )

Called every time a particle local property changes.

Definition at line 344 of file core/system/System.cpp.

References cell_structure, get_global_ghost_flags(), and propagation.

Referenced by calculate_long_range_fields().

◆ on_periodicity_change()

void System::System::on_periodicity_change ( )

◆ on_short_range_ia_change()

void System::System::on_short_range_ia_change ( )

◆ on_temperature_change()

void System::System::on_temperature_change ( )

Definition at line 301 of file core/system/System.cpp.

References ek, and lb.

Referenced by calculate_long_range_fields().

◆ on_thermostat_param_change()

◆ on_timestep_change()

void System::System::on_timestep_change ( )

Definition at line 306 of file core/system/System.cpp.

References ek, lb, and on_thermostat_param_change().

Referenced by calculate_long_range_fields(), and set_time_step().

◆ on_verlet_skin_change()

void System::System::on_verlet_skin_change ( )

◆ particle_bond_energy()

std::optional< double > System::System::particle_bond_energy ( int pid,
int bond_id,
std::vector< int > partners )

Compute the energy of a given bond which has to exist on the given particle.

Requires that bond partners are visible on the same MPI rank as the primary particle. Returns nothing if the primary particle is not owned by this MPI rank.

Parameters
pidParticle id
bond_idBond id
partnersParticle ids of the bond partners
Returns
energy of the bond given the primary particle and bond partners

Definition at line 219 of file energy.cpp.

References bond_broken_error(), bonded_ias, box_geo, calc_bonded_energy(), cell_structure, coulomb, get_global_ghost_flags(), get_ptr(), Particle::id(), and Particle::is_ghost().

Referenced by calculate_long_range_fields().

◆ particle_short_range_energy_contribution()

double System::System::particle_short_range_energy_contribution ( int pid)

Compute the short-range energy of a particle.

Iterate through particles inside cell and neighboring cells and compute energy contribution for a specific particle.

Parameters
pidParticle id
Returns
Non-bonded energy of the particle.

Definition at line 195 of file energy.cpp.

References bonded_ias, calc_non_bonded_pair_energy(), cell_structure, coulomb, do_nonbonded(), get_global_ghost_flags(), and nonbonded_ias.

Referenced by calculate_long_range_fields().

◆ rebuild_aosoa()

void System::System::rebuild_aosoa ( )

◆ rebuild_cell_structure()

void System::System::rebuild_cell_structure ( )

Rebuild cell lists.

Use e.g. after a skin change.

Definition at line 208 of file core/system/System.cpp.

References cell_structure, and set_cell_structure_topology().

Referenced by on_boxl_change(), on_node_grid_change(), on_non_bonded_ia_change(), on_short_range_ia_change(), and on_verlet_skin_change().

◆ set_box_l()

void System::System::set_box_l ( Utils::Vector3d const & box_l)

Change the box dimensions.

Definition at line 486 of file core/system/System.cpp.

References box_geo, and on_boxl_change().

◆ set_cell_structure_topology()

void System::System::set_cell_structure_topology ( CellStructureType topology)

Change cell structure topology.

Definition at line 182 of file core/system/System.cpp.

References cell_structure, get_interaction_range(), HYBRID, NSQUARE, and REGULAR.

Referenced by rebuild_cell_structure().

◆ set_force_cap()

void System::System::set_force_cap ( double value)

Set force_cap.

Definition at line 172 of file core/system/System.cpp.

References force_cap, and propagation.

◆ set_min_global_cut()

void System::System::set_min_global_cut ( double value)

Set min_global_cut.

Definition at line 177 of file core/system/System.cpp.

References min_global_cut, and on_verlet_skin_change().

◆ set_sim_time()

void System::System::set_sim_time ( double value)

Set sim_time.

Definition at line 1048 of file integrate.cpp.

References box_geo, lees_edwards, propagation, and sim_time.

◆ set_time_step()

void System::System::set_time_step ( double value)

Set time_step.

Definition at line 150 of file core/system/System.cpp.

References ek, lb, on_timestep_change(), and time_step.

◆ synchronize_npt_state()

void System::System::synchronize_npt_state ( )

Synchronize NpT state such as instantaneous and average pressure.

Definition at line 44 of file npt.cpp.

References comm_cart, npt_inst_pressure, and nptiso.

Referenced by integrate().

◆ tune_verlet_skin()

void System::System::tune_verlet_skin ( double min_skin,
double max_skin,
double tol,
int int_steps,
bool adjust_max_skin )

Tune the Verlet skin.

Choose the optimal Verlet list skin between min_skin and max_skin by bisection to tolerance tol.

Definition at line 125 of file tuning.cpp.

References box_geo, cell_structure, maximal_cutoff(), and time_calc().

◆ update_dependent_particles()

◆ update_icc_particles()

void System::System::update_icc_particles ( )
protected

Definition at line 321 of file icc.cpp.

References coulomb, and get_ptr().

Referenced by calculate_forces(), and update_dependent_particles().

◆ update_local_geo()

void System::System::update_local_geo ( )
protected

◆ update_used_propagations()

◆ veto_boxl_change()

void System::System::veto_boxl_change ( bool skip_particle_checks = false) const

Definition at line 230 of file core/system/System.cpp.

References cell_structure, comm_cart, constraints, ek, and lb.

Referenced by calculate_long_range_fields().

Member Data Documentation

◆ auto_update_accumulators

std::shared_ptr<Accumulators::AutoUpdateAccumulators> System::System::auto_update_accumulators

◆ bond_breakage

◆ bonded_ias

◆ box_geo

std::shared_ptr<BoxGeometry> System::System::box_geo

Definition at line 325 of file core/system/System.hpp.

Referenced by angular_momentum(), calc_part_distribution(), calc_re(), calc_rg(), calc_rh(), Galilei::calc_system_cms_position(), calculate_energy(), calculate_pressure(), center_of_mass(), create_cabana_neighbor_kernel(), create_kokkos_bonds_kernel_data(), create_specialized_verlet_pair_loop(), PairCriteria::DistanceCriterion::decide(), ScriptInterface::walberla::LBFluid::do_call_method(), ScriptInterface::walberla::LatticeWalberla::do_construct(), dpd_pressure(), dpd_pressure_local(), draw_polymer_positions(), Observables::BondAngles::evaluate(), Observables::BondDihedrals::evaluate(), Observables::CosPersistenceAngles::evaluate(), Observables::CylindricalDensityProfile::evaluate(), Observables::CylindricalFluxDensityProfile::evaluate(), Observables::CylindricalVelocityProfile::evaluate(), Observables::DensityProfile::evaluate(), Observables::FluxDensityProfile::evaluate(), Observables::ForceDensityProfile::evaluate(), Observables::ParticleDistances::evaluate(), BondBreakage::BondBreakage::execute_bond_breakage(), LB::Solver::get_interpolated_densities(), LB::Solver::get_interpolated_density(), LB::Solver::get_interpolated_velocity(), gyration_tensor(), CollisionDetection::BindAtPointOfCollision::handle_collisions(), CollisionDetection::GlueToSurface::handle_collisions(), CoulombP3MImpl< FloatType, Architecture, FFTConfig >::init_gpu_kernels(), integrate(), lb_couple_particles(), LB::Solver::make_lattice_position_checker(), maybe_insert_particle(), mindist(), moment_of_inertia_matrix(), nbhood(), npt_ensemble_init(), on_periodicity_change(), pack_particles(), particle_bond_energy(), ParticleObservables::traits< Particle >::position(), resort_particles_if_needed(), EK::EKWalberla::sanity_checks(), CoulombP3M::sanity_checks_boxl(), DipolarP3M::sanity_checks_boxl(), set_box_l(), set_sim_time(), structure_factor(), System(), CoulombP3MImpl< FloatType, Architecture, FFTConfig >::tune(), DipolarP3MHeffte< FloatType, Architecture, FFTConfig >::tune(), tune_verlet_skin(), update_dependent_particles(), update_local_geo(), velocity_verlet_npt_propagate_AVOVA_And(), and velocity_verlet_npt_propagate_AVOVA_MTK().

◆ cell_structure

std::shared_ptr<CellStructure> System::System::cell_structure

Definition at line 327 of file core/system/System.hpp.

Referenced by CollisionDetection::add_bind_centers(), add_bond(), angular_momentum(), calc_linear_momentum(), calc_re(), calc_rg(), calc_rh(), Galilei::calc_system_cms_position(), Galilei::calc_system_cms_velocity(), calculate_energy(), calculate_forces(), calculate_pressure(), center_of_mass(), Coulomb::check_charge_neutrality(), create_cabana_neighbor_kernel(), create_kokkos_bonds_kernel_data(), create_specialized_verlet_pair_loop(), dpd_pressure_local(), BondBreakage::BondBreakage::execute_bond_breakage(), Galilei::galilei_transform(), gather_traits_for_types(), get_cell_structure(), get_interacting_neighbors(), get_interaction_range(), get_neighbor_pids(), get_pairs_filtered(), get_short_range_neighbors(), CollisionDetection::BindAtPointOfCollision::handle_collisions(), CollisionDetection::GlueToSurface::handle_collisions(), init_forces_and_thermostat(), integrate(), integrate_magnetodynamics(), integrate_with_signal_handler(), is_valid_position(), Galilei::kill_particle_forces(), Galilei::kill_particle_motion(), lb_couple_particles(), mindist(), moment_of_inertia_matrix(), nbhood(), non_bonded_loop_trace(), npt_ensemble_init(), ScriptInterface::CellSystem::CellSystem::on_bind_system(), on_integration_start(), on_observable_calc(), on_particle_change(), on_particle_local_change(), particle_bond_energy(), particle_short_range_energy_contribution(), rebuild_cell_structure(), reduce_cabana_forces_and_torques(), resort_particles_if_needed(), set_cell_structure_topology(), System(), tune_verlet_skin(), update_dependent_particles(), update_used_propagations(), update_verlet_state(), velocity_verlet_npt_propagate_AVOVA_And(), velocity_verlet_npt_propagate_AVOVA_MTK(), and veto_boxl_change().

◆ cleanup_queue

ResourceCleanup System::System::cleanup_queue

Definition at line 100 of file core/system/System.hpp.

◆ collision_detection

◆ comfixed

std::shared_ptr<ComFixed> System::System::comfixed

◆ constraints

◆ coulomb

◆ dipoles

◆ ek

◆ force_cap

double System::System::force_cap
protected

Molecular dynamics integrator force capping.

Definition at line 362 of file core/system/System.hpp.

Referenced by calculate_forces(), get_force_cap(), set_force_cap(), and System().

◆ galilei

std::shared_ptr<Galilei> System::System::galilei

◆ gpu

◆ immersed_boundaries

std::shared_ptr<ImmersedBoundaries> System::System::immersed_boundaries

Definition at line 335 of file core/system/System.hpp.

Referenced by calculate_forces(), System(), and update_dependent_particles().

◆ lb

◆ lees_edwards

std::shared_ptr<LeesEdwards::LeesEdwards> System::System::lees_edwards

◆ local_geo

◆ m_obs_energy

std::shared_ptr<EnergyObservable> System::System::m_obs_energy
protected

Definition at line 369 of file core/system/System.hpp.

Referenced by calculate_energy().

◆ m_obs_pressure

std::shared_ptr<PressureObservable> System::System::m_obs_pressure
protected

Definition at line 370 of file core/system/System.hpp.

Referenced by calculate_pressure().

◆ min_global_cut

double System::System::min_global_cut
protected

Minimal global interaction cutoff.

Particles with a distance smaller than this are guaranteed to be available on the same node (through ghosts).

Definition at line 368 of file core/system/System.hpp.

Referenced by get_min_global_cut(), set_min_global_cut(), and System().

◆ nonbonded_ias

◆ npt_inst_pressure

◆ nptiso

◆ oif_global

std::shared_ptr<OifGlobal> System::System::oif_global

Definition at line 334 of file core/system/System.hpp.

Referenced by calculate_forces(), and System().

◆ propagation

◆ reinit_thermo

bool System::System::reinit_thermo
protected

Whether the thermostat has to be reinitialized before integration.

Definition at line 356 of file core/system/System.hpp.

Referenced by on_integration_start(), on_thermostat_param_change(), and System().

◆ sim_time

double System::System::sim_time
protected

Molecular dynamics integrator simulation time.

Definition at line 360 of file core/system/System.hpp.

Referenced by get_sim_time(), integrate(), set_sim_time(), and System().

◆ steepest_descent

std::shared_ptr<SteepestDescent> System::System::steepest_descent

◆ stokesian_dynamics

std::shared_ptr<StokesianDynamics> System::System::stokesian_dynamics

Definition at line 346 of file core/system/System.hpp.

Referenced by integrator_step_1(), and System().

◆ thermostat

◆ time_step

double System::System::time_step
protected

Molecular dynamics integrator time step.

Definition at line 358 of file core/system/System.hpp.

Referenced by get_time_step(), integrate(), on_integration_start(), set_time_step(), and System().


The documentation for this class was generated from the following files: