# 1. Overview
**Outcome:** understand which numerical infrastructure PiP supplies and where
application-specific science belongs. No installation is needed yet.
## Focus on the physical model
Physics in Parallel supplies reusable Rust containers, explicit randomness,
spatial operations, and particle models. Use these building blocks to avoid
rewriting storage backends, sampling machinery, pair networks, and numerical
execution plumbing for each scientific project.
```text
Application: equations, parameters, time loop, experiments, and files
↓
PiP: tensors · RNG · spatial tools · particle models
↓
Caller-owned Rayon pool + internally selected numerical kernels
```
PiP is a library, not an experiment runner. Your application owns configuration,
units, scientific choices, output policy, and its integration with a workflow
system. PiP does not interpret `study.json`, schedule experiment sweeps, or
provide a dashboard. It can be used directly or inside a scientific runner.
## Choose the smallest API layer
| Basic | Universal containers, random values, spaces, lattices, and pairing. | `physics_in_parallel::prelude::basic` |
| Models | Canonical particle state, physical laws, integration, and observations. | `physics_in_parallel::prelude::models` |
| Advanced | Raw storage, structured matrices, and generic engines. | `physics_in_parallel::prelude::advanced` |
The preludes are independent. Import basic and models together when a simulation
needs both. Domain roots such as `math`, `rng`, `space`, `models`, and `threading`
are authoritative; private implementation modules are not integration points.
## What to decide before writing code
- Which scalar type and units represent the science?
- What are the shape, coordinate order, and intended backend?
- Which RNG method, seed, and sequence coordinates define reproducibility?
- What integration order, timestep, boundary behavior, and selection rules apply?
- Who owns the active thread pool and saved results?
The first simulation supplies concrete answers for a small two-particle model.
Later chapters explain how to change those answers deliberately.
PiP remains alpha software. Version `4.2.0-alpha` revises higher-dimensional
radial pairing and adds streaming pairs, mixtures, and exact-count placement.
Tensor serialized formats are unchanged. The 4.x generation replaces 3.x
without compatibility aliases. See [release migration](../RELEASES.md).
---
**Guide index:** [Documentation](../README.md)
**Next:** [2. Installation](2-installation.md)