physics_in_parallel 4.0.0-alpha.1

High-performance infrastructure for numerical simulations in physics
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*!
Structure-of-arrays simulation backend.

Purpose:
    This module stores object state by attribute column instead of by object
    struct. It is the right layout when model code repeatedly updates the same
    attribute for many objects, because each attribute is contiguous and can be
    processed in parallel.
*/

pub(crate) mod interaction;
pub(crate) mod neighbor_list;
pub(crate) mod phys_obj;

// Canonical SoA exports.
pub(crate) use interaction::{Interaction, InteractionError};
pub use neighbor_list::{NeighborList, NeighborListError};