Automatic generation produced by ISE Eiffel

Classes Clusters Cluster hierarchy Chart Relations Flat contracts Go to:
deferred class EG_PARTICLE_SIMULATION [G -> NUMERIC] General cluster: physics description: "In an EG_PARTICLE_SIMULATION any number of EG_PARTICLEs are interacting with each other in a way that is defined by the implementer of n_body_force. The force affecting a_particle can be retrieved by querying force resulting a NUMERIC describing the force. Currently there are two implementation for n_body_force_solver: (best case) runtime EG_PARTICLE_SIMULATION_N2O (n^2) EG_PARTICLE_SIMULATION_BHO (n log n) EG_PARTICLE_SIMULATION_N2 uses the straight forward way to calculating the force, meaning comparing each particle with each other. EG_PARTICLE_SIMULATION_BH uses the method proposed by Barnes and Hut (see comment there for more information). EG_PARTICLE_SIMULATION works for EG_PARTICLE located in a two dimensional space." Ancestors ANY Queries force (a_particle: [like particle_type] EG_PARTICLE): G particles: LIST [[like particle_type] EG_PARTICLE] Commands set_particles (a_particles: [like particles] LIST [[like particle_type] EG_PARTICLE]) Constraints particles exist particles not empty
Classes Clusters Cluster hierarchy Chart Relations Flat contracts Go to:

-- Generated by Eiffel Studio --
For more details: eiffel.org