2.7 local / 7 search
Merge Potential and Acceleration functions. Still need to optimize more
This commit is contained in:
parent
da20f7966e
commit
44e386f674
50 changed files with 5658 additions and 48 deletions
|
|
@ -561,7 +561,7 @@ computeAccelerations () {
|
|||
|
||||
// returns sum of dv/dt*m/A (aka Pressure) from elastic collisions with walls
|
||||
double
|
||||
VelocityVerlet (double dt, int iter, FILE *fp) {
|
||||
VelocityVerlet (double dt, int iter, double *PE, FILE *fp) {
|
||||
int i, j, k;
|
||||
|
||||
double psum = 0.;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue