Re-exports§
pub use moleculars::solids as materials;
Modules§
- acoustics
- astronomy
- Astronomy domain re-exports.
- biology
- Biology domain re-exports.
- chemistry
- Chemistry domain re-exports.
- constants
- Fundamental physical and mathematical constants (SI). Fundamental physical and mathematical constants (SI).
- dynamics
- electronics
- geology
- Geology domain re-exports.
- lubrications
- maths
- Mathematics domain re-exports.
- mechanics
- meteorology
- Meteorology domain re-exports.
- moleculars
- optics
- physics
- Physics domain re-exports.
- quantum
Structs§
- Arena
- Contiguous
f64bump allocator. - Arena
Matrix - 2D matrix stored contiguously within an arena.
- Arena
Slice - Handle to a contiguous slice within the arena.
- Campaign
- Ordered sequence of experiments executed in series.
- Campaign
Result - Collected results from a campaign run.
- Catalog
- Registry of all available scientific functions.
- Chart
Config - Configuration for SVG chart rendering.
- Compute
Request - Inbound computation request.
- Compute
Response - Outbound computation response.
- Config
- Key-value configuration container.
- Experiment
- A computation request targeting a domain function with parameters.
- Experiment
Runner - Dispatches experiments to domain handlers and returns results.
- Function
Info - Metadata describing a registered scientific function.
- Harmonic
Oscillator - Simple harmonic oscillator model.
- Integrator
Config - Configuration for the ODE integrator.
- Lotka
Volterra - Lotka-Volterra predator-prey model.
- Monotonicity
Check - Parameterized monotonicity check.
- Monotonicity
Result - Result of a monotonicity check.
- NanSafety
Check - NaN safety check for a function with given parameters.
- NanSafety
Result - Result of a NaN safety check.
- Pipeline
- Sequential data transformation pipeline.
- Pipeline
Outcome - Overall outcome of the validation pipeline.
- Profile
Entry - Profiling result for a single experiment.
- Profile
Report - Aggregated profiling report for multiple experiments.
- Reproducible
Context - Reproducible context: fixed-seed RNG with audit trail.
- Rng
- Pseudo-random number generator (xoshiro256**) with fixed seed.
- Scratch
Pool - Pool of fixed-size scratch buffers stored in an arena.
- Series
- Named data series for line charts.
- Simple
Model - Generic model built from a closure.
- Simulation
Result - Output of a simulation run.
- Validation
Case - Unit validation case comparing a computed result to a reference value.
- Validation
Pipeline - Validation pipeline orchestrating cases, monotonicity, and NaN safety.
- Validation
Report - Validation report aggregating all results.
- Validation
Thresholds - Blocking thresholds for the validation pipeline.
Enums§
- Angle
Unit - Angle measurement units.
- Domain
Type - Supported scientific domains.
- Energy
Unit - Energy measurement units.
- HubError
- Error types produced by hub computations.
- Integration
Method - Available numerical integration methods.
- Length
Unit - Length measurement units.
- Level
- Log severity level.
- Mass
Unit - Mass measurement units.
- Parameter
Value - Typed parameter value passed to a computation.
- Pressure
Unit - Pressure measurement units.
- RunOutput
- Typed output of an experiment execution.
- Temperature
Unit - Temperature measurement units.
- Time
Unit - Time measurement units.
Traits§
- Dynamical
System - Trait for systems of ordinary differential equations.
Functions§
- angle_
to_ radian - Converts an angle to radians.
- approx_
equal - Returns
trueifaandbare equal withintolerance. - bar_
chart - Generates an SVG bar chart from labels and values.
- convert_
length - Converts a length between two arbitrary units.
- convert_
mass - Converts a mass between two arbitrary units.
- convert_
time - Converts a time between two arbitrary units.
- default_
cases - Returns the default validation cases covering all domains.
- default_
monotonicity_ checks - Returns the default monotonicity checks.
- default_
nan_ safety_ checks - Returns the default NaN safety checks.
- energy_
from_ si - Converts an energy value from SI (joules) to the target unit.
- energy_
to_ si - Converts an energy value to SI (joules).
- filter_
positive_ stage - Stage that keeps only positive values.
- fingerprint
- Computes the FNV-1a fingerprint of a
f64slice. - format_
scientific - Formats
valuein scientific notation withprecisiondecimal places. - format_
si - Formats
valuewith an SI prefix (k, M, G, … or m, µ, n, …). - heatmap
- Generates an SVG heatmap from a 2D matrix.
- histogram
- Generates an SVG histogram by binning the input data.
- integrate
- Integrates the system from
t0totfstarting aty0. - kahan_
dot - Kahan compensated dot product.
- kahan_
sum - Kahan compensated summation to reduce floating-point rounding errors.
- kelvin_
to_ temperature - Converts Kelvin to the target temperature unit.
- length_
from_ si - Converts a length value from SI (meters) to the target unit.
- length_
to_ si - Converts a length value to SI (meters).
- line_
chart - Generates a multi-series SVG line chart.
- linspace
- Generates
nevenly spaced values betweenstartandendinclusive. - logspace
- Generates
nlogarithmically spaced values from $10^{\text{start_exp}}$ to $10^{\text{end_exp}}$. - mass_
from_ si - Converts a mass value from SI (kilograms) to the target unit.
- mass_
to_ si - Converts a mass value to SI (kilograms).
- normalize_
stage - Stage that normalizes values to [0, 1].
- physics_
scalar - pressure_
from_ si - Converts a pressure value from SI (pascals) to the target unit.
- pressure_
to_ si - Converts a pressure value to SI (pascals).
- profile_
batch - Profiles a batch of experiments and returns an aggregated report.
- profile_
experiment - Profiles an experiment over
iterationsruns and returns statistics. - quick_
profile - Shortcut to profile a domain function with scalar parameters.
- radian_
to_ angle - Converts radians to the target angle unit.
- relative_
error - Computes the relative error between
computedandexact. - run_
validation - Runs all validation cases and returns a report.
- scale_
stage - Stage that scales all values by a constant factor.
- scatter_
plot - Generates an SVG scatter plot.
- temperature_
to_ kelvin - Converts a temperature to Kelvin.
- time_
from_ si - Converts a time value from SI (seconds) to the target unit.
- time_
to_ si - Converts a time value to SI (seconds).
Type Aliases§
- HubResult
- Convenience alias for hub computation results.