Changed the exit condition and reflected change here.
This commit is contained in:
parent
3dab7d35bf
commit
dbfe5225fa
@ -18,8 +18,7 @@ function [LoadingRate, StandardError, ConfidenceInterval] = calculateLoadingRate
|
||||
end
|
||||
for AtomIndex = 1:n
|
||||
Position = squeeze(DynamicalQuantities(AtomIndex, TimeIndex, 1:3))';
|
||||
Velocity = squeeze(DynamicalQuantities(AtomIndex, TimeIndex, 4:6))';
|
||||
if this.exitCondition(ovenObj, Position, Velocity, CollisionEvents(AtomIndex))
|
||||
if this.exitCondition(Position, CollisionEvents(AtomIndex))
|
||||
NumberOfLoadedAtoms(TimeIndex) = NumberOfLoadedAtoms(TimeIndex) + 1;
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user