#include <simulation.hpp>
|
| using | DView = Kokkos::View< Real *, peclet::core::MemSpace > |
| |
◆ DView
◆ force()
◆ init()
- Parameters
-
| posFlat,vel | 3*N device arrays (x-fastest per particle), pos in [0,L). |
| invMass | 1/m per particle (N). |
| pressEq | EOS constant. |
◆ internalEnergy()
◆ kineticEnergy()
◆ numParticles()
◆ positions()
◆ repair()
◆ setRepair()
Opt-in (E1 scaffolding, default off): use the incremental moving-point repair for the topology each step and reeval-publish the force geometry, instead of a full rebuild. Same physics contract; ~10× cheaper geometry per the repair benches. Set before init(). The physics wiring/tuning on top of this scaffolding is ongoing work.
◆ setViscous()
Enable the viscous term (NavierStokes); per-particle viscosities (size N).
◆ step()
◆ time()
◆ velocities()
◆ view()
The documentation for this class was generated from the following file: