Skip to content

Commit

Permalink
changed time in output to output step time
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjamesgarza committed Mar 28, 2024
1 parent 0004cb8 commit 5681a1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/box_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,10 @@ def solve(self, path_to_output = None):
#runs the simulation at each timestep
while(curr_time <= self.box_model_options.simulation_length):

if(next_output_time <= curr_time):
#outputs to output_array if enough time has elapsed
if(next_output_time <= curr_time):
row = []
row.append(curr_time)
row.append(next_output_time)
row.append(curr_conditions.temperature)
row.append(curr_conditions.pressure)
for conc in curr_concentrations:
Expand Down

0 comments on commit 5681a1e

Please sign in to comment.