Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.4.0 #88

Merged
merged 30 commits into from
Mar 21, 2024
Merged

Release v0.4.0 #88

merged 30 commits into from
Mar 21, 2024

Conversation

IshaanDesai
Copy link
Member

This release includes:

erikscheurer and others added 27 commits August 28, 2023 08:33
* [WIP] Update preCICE API calls

* Changing mocked preCICE to v3

* Explicitly mention v3.0.0.0dev0 for pyprecice

* Use correct API function get_mesh_vertex_ids_and_coordinates

* Use pyprecice v3.0.0.0dev1

* Formatting

* Work with pyprecice v3.0.0.0dev2

* Partially fixing tests

* Fix tests

* Formatting

* Fix precice-configs

* Move dimensions parameter back to precice-configuration

* Move initialize after requires_initial_data()

* Remove initialize() from micro simulations, along with the writing of initial data to preCICE

* In time loop, get dt from preCICE

* Make precice findable in Action, remove initialize() from pybind11 wrapper, other fixes

* Port unit_cube.py to v3

* Port config used in adaptivity integration test

* Port config to v3, remove use of su for parallel tests

* Allow mpiexec to run as root for parallel tests, fix error in unit_cube.py for integration tests

* Modify LD_LIBRARY_PATH in Action, fix unit_cube.py

* Remove user precice in adaptivity parallel tests

* Use correct container and proper working directories in Actions

* Move dimensions attribute into mesh tag

* Pass correct dt to read_data(...) command

---------

Co-authored-by: Ishaan Desai <[email protected]>
* Clean up adaptivity tests

* Rename long variables in micro_manager.py
* Fix typo

* Add --config parameter to the run-micro-manager.py execution command

* Add assertion to check if a rank has no vertices

---------

Co-authored-by: Ishaan Desai <[email protected]>
…f adaptivity. (#75)

* Warn if only micro-scale data is used in the similarity computation of adaptivity

* Formatting

* Reword warning

* Formatting
* Make initialize() a private method

* Remove calls to initialize()
… of micro simulations (#78)

* Moving functionality relevant to global adaptivity into its own constructor rather than initialize()

* Remove unnecessary declaration of internal variable in global adaptivity test

* Add fix for a case where ranks have unequal number of micro simulations

* Cleanup

* Repair test
* Pass ID to micro simulations

* Pass ID to micro simulation class constructors in dummies

* Formatting

* Pass the global ID in the state of the C++ micro simulation in the dummy

* Fix C++ solver dummy

* Remove function set_global_id from Simulation class, as we should never have to change the global ID of a micro simulation

* Change documentation to add passing global id to simulation during defining
* Fix bugs in global adaptivity

* Fix formatting and also a bug in the local adaptivity

* Set coarse tolerance to sys.float_info.min if all the similarity distances are zero
* Reintroduce initialize() function optionally in the micro simulation API, and use its data for adaptivity

* Check if initialize() method exists, and if yes, run it

* Check is_sim_active

* Remove print statement

* Use dict given by initialize() as it is

* Rewrite documentation in parallel tests

* Set initialization condition for not one just all ranks

* Formatting
* Use nightly image of precice/precice and be consistent across workflows for installation commands

* Remove unfinished test coverage CI
…no good way to pass the sim id to the new micro simulation instance
@IshaanDesai IshaanDesai requested a review from Fujikawas March 20, 2024 16:16
@IshaanDesai IshaanDesai force-pushed the micro-manager-v0.4.0 branch from fa7770f to f49c04b Compare March 21, 2024 10:28
examples/precice-config-adaptivity.xml Outdated Show resolved Hide resolved
@IshaanDesai IshaanDesai force-pushed the micro-manager-v0.4.0 branch from f49c04b to 02bb42d Compare March 21, 2024 14:04
@IshaanDesai IshaanDesai merged commit 6d26f16 into main Mar 21, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants