SPH
|
#include <Functions.h>
Public Member Functions | |
ImpactCone (const AffineMatrix &frame, const Float cutoffVelocity) | |
void | getFragments (const Float m_tot, const Size N, Array< Vector > &r, Array< Vector > &v, Array< Float > &m) |
Generates fragments at the impact point. More... | |
Definition at line 143 of file Functions.h.
|
inlineexplicit |
Definition at line 151 of file Functions.h.
|
inline |
Generates fragments at the impact point.
Particles are added into provided buffers, keeping the existing content untouched.
m_tot | Total mass of ejected fragments |
N | Total number of fragments. |
r | Output array of particle positions. |
r | Output array of particle velocities. |
r | Output array of particle masses. |
Definition at line 163 of file Functions.h.