alan-turing-institute / PeriPy

Code base for PeriPy, a lightweight, open-source and high-performance package for peridynamic simulations written in Python - a collaboration between Exeter, Cambridge & Turing
MIT License
47 stars 14 forks source link

Review if updating `model.h5` file independent parameters like `bond_stiffness` and `critical_stretch` should have its own method #115

Open bb515 opened 3 years ago

bb515 commented 3 years ago

The current solution to updating a model parameter (when no update the model.h5 file is required after said update) is to simply run a simulation with that new parameter as a key word argument. Is this the best solution though? Wouldn't it be less confusing to explicitly update the model parameters before a simulation is done. Disadvantages:

Advantages:

Advantages seem to outweigh disadvantages, so I'll impliment this.