ForcedParticle

D-Dimensional Particle with Coordinate Position and Direction/Velocity/Force Type (Precision) E. F = m*a; where F is force, m is mass, a is acceleration.

struct ForcedParticle (
E
uint D
bool normalizedVelocityFlag = false
) if (
D >= 1
) {
Point!(E, D) position;
Vector!(E, D, normalizedVelocityFlag) velocity;
Vector!(E, D) force;
E mass;
}

Members

Functions

acceleration
auto acceleration()

Get acceleration.

Meta