fluidsim merge requestshttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests2021-04-04T07:42:55Zhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/209Fix animate phys_fields2021-04-04T07:42:55ZPierre AugierFix animate phys_fieldsPierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/208Use importlib.metadata for entrypoints2022-02-27T20:41:07ZAshwin V. MohananUse importlib.metadata for entrypointsUse of a future compatible feature:
https://docs.python.org/3.10/library/importlib.metadata.html#entry-pointsUse of a future compatible feature:
https://docs.python.org/3.10/library/importlib.metadata.html#entry-pointshttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/207Add new options NO_KY0 (2D) and NO_KZ0 (3D)2021-03-30T09:57:57ZPierre AugierAdd new options NO_KY0 (2D) and NO_KZ0 (3D)Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/206Update doc install from source2021-04-01T13:58:48ZPierre AugierUpdate doc install from sourcePierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/205Fix load_sim_for_plot without phys files2021-02-22T20:42:39ZPierre AugierFix load_sim_for_plot without phys filesPierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/204Topic/default/spatial means regions2021-03-22T12:58:53ZPierre AugierTopic/default/spatial means regionsPierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/202Topic/default/spatiotemporal spectra2021-03-31T07:22:54ZJason ReneuveTopic/default/spatiotemporal spectracompute spatiotemporal spectracompute spatiotemporal spectraJason ReneuveJason Reneuvehttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/201Warn for _set_attrib in InfoSolverCore, new function iter_complete_params2021-02-18T14:56:20ZAshwin V. MohananWarn for _set_attrib in InfoSolverCore, new function iter_complete_paramsCloses #69Closes #69Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/200Topic/default/extend simul2021-02-19T20:33:36ZPierre AugierTopic/default/extend simulI like to introduce a mechanism to "extend a Simul class" with another class.
The first application is to introduce a particular output specialized for one study. Thus, we don't want to have it in a solver used for many applications.
T...I like to introduce a mechanism to "extend a Simul class" with another class.
The first application is to introduce a particular output specialized for one study. Thus, we don't want to have it in a solver used for many applications.
This MR will contain deep changes (also in fluidsim_core), it's a bit tricky and it can have consequences on projects depending on fluidsim_core. Thus, I don't assign to myself this time :slight_smile: !
More coming soon...
## Proposed new API:
```python
# can be anywhere, but should be importable (otherwise, the simulation can't be loaded afterwards)
from fluidsim.extend_simul.spatial_means_center_milestone import SpatialMeansCenter
Simul = SpatialMeansCenter.create_extended_Simul(Simul)
# then, as usual
params = Simul.create_default_params()
...
```
Note: I'm not very happy with the name `create_extended_Simul`...
Then, the simulation can be loaded as usual with `load_sim_for_plots`, `load_state_phys_file` and `load_for_restart`.
There is another case when one wants to plug this output to a simulation already created. Then, I guess we need to do:
```python
params, Simul = load_for_restart(name_dir)
Simul = SpatialMeansCenter.create_extended_Simul(Simul)
SpatialMeansCenter.complete_params_with_default(params)
```Ashwin V. MohananAshwin V. Mohananhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/199save_as_phys_fields2021-02-17T09:37:38ZJason Reneuvesave_as_phys_fieldsfix issue #72fix issue #72https://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/198Prepare release fluidsim 0.4.12021-02-02T14:11:09ZPierre AugierPrepare release fluidsim 0.4.1Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/197Add psutil to setup require2021-02-02T13:07:16ZPierre AugierAdd psutil to setup requirePierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/196Honour site.cfg config2021-02-02T10:24:13ZAshwin V. MohananHonour site.cfg confighttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/195Fix install mybinder (fix #71)2021-02-01T15:38:47ZPierre AugierFix install mybinder (fix #71)Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/194run `make black`2021-01-20T14:43:11ZPierre Augierrun `make black`Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/193fluidsim-bench robust to cpu_count=12021-01-19T11:38:45ZPierre Augierfluidsim-bench robust to cpu_count=1See https://github.com/conda-forge/fluidsim-feedstock/pull/5#issuecomment-762707399See https://github.com/conda-forge/fluidsim-feedstock/pull/5#issuecomment-762707399Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/192Topic/default/temporal spectra2021-02-02T13:36:53ZPierre AugierTopic/default/temporal spectraPartly implement #45Partly implement #45Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/191Topic/default/fix wrong name run #682021-01-12T20:06:14ZPierre AugierTopic/default/fix wrong name run #68Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/190Prepare release 0.4.02021-01-11T14:43:05ZPierre AugierPrepare release 0.4.0See https://foss.heptapod.net/fluiddyn/fluidsim/-/issues/67See https://foss.heptapod.net/fluiddyn/fluidsim/-/issues/67Pierre AugierPierre Augierhttps://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/189fixed color error2021-01-08T06:45:08ZJason Reneuvefixed color errorred-> magenta for D_4(k_z)red-> magenta for D_4(k_z)