Skip to content

Commit

Permalink
dummy method + typo
Browse files Browse the repository at this point in the history
  • Loading branch information
RemDelaporteMathurin committed Dec 9, 2024
1 parent ecbce45 commit e0b4e8a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/hisp/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def run_bin(self, bin: SubBin | DivBin):
milestones.append(my_model.settings.final_time)
my_model.settings.stepsize.milestones = milestones

# add adatpivity settings
# add adaptivity settings
my_model.settings.stepsize.growth_factor = 1.2
my_model.settings.stepsize.cutback_factor = 0.9
my_model.settings.stepsize.target_nb_iterations = 4
Expand All @@ -71,6 +71,10 @@ def run_bin(self, bin: SubBin | DivBin):

return my_model, quantities

# TODO implement this method
def run_all_bins(self):
pass

def which_model(self, bin: SubBin | DivBin):
"""Returns the correct model for the subbin.
Expand Down

0 comments on commit e0b4e8a

Please sign in to comment.