whitespace

This commit is contained in:
Axel Kohlmeyer
2024-02-19 12:54:59 -05:00
parent fb1e6610ed
commit ec0535172c
2 changed files with 3 additions and 3 deletions

View File

@ -17,6 +17,7 @@
------------------------------------------------------------------------- */
#include "fix_wall_flow.h"
#include "atom.h"
#include "citeme.h"
#include "comm.h"
@ -200,8 +201,7 @@ void FixWallFlow::end_of_step()
int prev_segment = current_segment[i];
current_segment[i] = compute_current_segment(pos);
if (prev_segment != current_segment[i])
generate_velocity(i);
if (prev_segment != current_segment[i]) generate_velocity(i);
}
}
}

View File

@ -50,7 +50,7 @@ class FixWallFlow : public Fix {
int rndseed;
class RanMars *random;
int *current_segment;
int compute_current_segment(double pos) const;
void generate_velocity(int i);
};