-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix adaptivity calling for explicit coupling (#145)
* Fix adaptivity call for explicit coupling, and change the integration test accordinly * Add np_axis parameter when running the integration test * Update tests * Fix micro_dummy code in the integration test * Add np_axis variable while running unit_cube.py script * Modify data names in all JSON config files of integration tests * Add Changelog entry * Remove unnecessary member variable from micro_dummy.py
- Loading branch information
1 parent
21fe820
commit 424bd9d
Showing
15 changed files
with
126 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
rm -fv *-events-summary.json | ||
rm -fv *-events.json | ||
rm -fv *.log | ||
rm -r -fv precice-run/ | ||
rm -r -fv precice-profiling/ | ||
rm -rfv precice-run/ precice-profiling/ | ||
rm -fv *.vtk | ||
rm -fv *.out | ||
rm -fv *.err | ||
rm -fv output/*.vtu | ||
rm -fv output/*.pvtu | ||
rm -r -fv __pycache__ | ||
rm -rfv __pycache__ output/ .venv/ adaptivity_output/ | ||
rm -fv *.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
tests/integration/test_unit_cube/micro-manager-config-load-balancing.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"micro_file_name": "micro_dummy", | ||
"output_dir": "adaptivity_output", | ||
"coupling_params": { | ||
"precice_config_file_name": "precice-config.xml", | ||
"macro_mesh_name": "macro-cube-mesh", | ||
"read_data_names": ["macro-scalar-data", "macro-vector-data"], | ||
"write_data_names": ["micro-scalar-data", "micro-vector-data"] | ||
}, | ||
"simulation_params": { | ||
"micro_dt": 1.0, | ||
"macro_domain_bounds": [0, 1, 0, 1, 0, 1], | ||
"decomposition": [2, 1, 1], | ||
"adaptivity": "True", | ||
"adaptivity_settings": { | ||
"type": "global", | ||
"load_balancing": "True", | ||
"load_balancing_settings": { | ||
"load_balancing_n": 5, | ||
"two_step_load_balancing": "True", | ||
"balancing_threshold": 2 | ||
}, | ||
"data": ["macro-scalar-data", "micro-vector-data"], | ||
"history_param": 0.5, | ||
"coarsening_constant": 0.3, | ||
"refining_constant": 0.4, | ||
"every_implicit_iteration": "True", | ||
"output_cpu_time": "True" | ||
} | ||
}, | ||
"diagnostics": { | ||
"output_micro_sim_solve_time": "True" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.