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

Add adaptive similarity condition #64

Draft
wants to merge 38 commits into
base: develop
Choose a base branch
from

Commits on Oct 11, 2023

  1. To test the push action

    Jun Chen committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    e17a662 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. Configuration menu
    Copy the full SHA
    8e99cab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    69a058e View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. Configuration menu
    Copy the full SHA
    75cac0a View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Configuration menu
    Copy the full SHA
    267be8d View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Configuration menu
    Copy the full SHA
    2062cd2 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Update CHANGELOG

    tjwsch committed May 13, 2024
    Configuration menu
    Copy the full SHA
    d9d6d23 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. Add pyproject.toml (precice#84)

    * Add pyproject.toml
    
    * Further changes to the pyproject.toml
    
    * Add adaptivity module explicitly to the pyproject.toml
    
    * Adding package information to pyproject.toml
    
    * Reintroduce micro_manager.adaptivity to packaged in pyproject.toml
    
    * Add scikit-learn as a dependency in pyproject.toml
    
    * Change package name to micro_manager_precice
    
    * Go back to using micro_manager in the unit tests
    
    * Upgrade pip before installing the Micro Manager in the unit tests CI
    
    * Make executable name the same as the package name
    IshaanDesai authored May 16, 2024
    Configuration menu
    Copy the full SHA
    15ccc6b View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. Optionally use initial macro data to initialize micro simulations (pr…

    …ecice#104)
    
    * Use initial macro data to initialize micro simulations
    
    * Explicitly define the local variable is_initial_data_required
    
    * Correctly check number of input arguments of the initialiez() function of the micro simulation library
    
    * Add comment on the boolean which states the requirement of initial data in the micro simulation class
    IshaanDesai authored May 17, 2024
    Configuration menu
    Copy the full SHA
    cf87204 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG

    IshaanDesai committed May 17, 2024
    Configuration menu
    Copy the full SHA
    871d090 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. Configuration menu
    Copy the full SHA
    5249532 View commit details
    Browse the repository at this point in the history
  2. A collection of restructuring and minor updates (precice#105)

    * Make initialize() a public method
    
    * Add pull request template
    
    * Modify tests to use public function initialize(), and add github PR template
    
    * Use version compatible format to state dependency version in pyroject.toml
    
    * Use original way of defining dependency version
    
    * Remove run_micro_manager.py from examples and tests
    
    * Upgrade pip3 in the adaptivity tests workflow
    
    * Remove LD_LIBRARY_PATH setting from adaptivity test workflow to check if it works
    
    * Change order of execution in local adaptivity test workflow
    
    * Use micro-manager-precice in running scripts of tests
    
    * Revert to old way of updating pip
    
    * Make the steps about upgrading pip and installing dependencies for the Micro Manager consistent in all workflows
    
    * Try to run dummy without updating pip
    
    * Explicitly install setuptools and wheel before installing the Micro Manager
    
    * Add local bin folder to path to be able to execute the micro-manager-precice executable
    
    * Don't set the PATH and install the Micro Manager without the --user flag
    
    * Restructure Micro Manager config files in the examples/ directly so that the executable can be used to run the solver dummy
    
    * Add CHANGELOG entries
    
    * Remove ./ from precice-config file path in one of the Micro Manager configs
    IshaanDesai authored May 21, 2024
    Configuration menu
    Copy the full SHA
    2f7e7ba View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. Add documentation for handling of crashing micro simulations (precice…

    …#106)
    
    * Add documentation for handling of crashing micro simulations
    
    * Rewording
    
    ---------
    
    Co-authored-by: Ishaan Desai <[email protected]>
    tjwsch and IshaanDesai authored May 22, 2024
    Configuration menu
    Copy the full SHA
    1696ff6 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Configuration menu
    Copy the full SHA
    554eab3 View commit details
    Browse the repository at this point in the history
  2. Instead of setting fetch-tags: true, set fetch-depth: 0 in the checko…

    …ut action of the publishing workflow
    IshaanDesai committed May 23, 2024
    Configuration menu
    Copy the full SHA
    0befa33 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7312865 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    79a7f54 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Check if initial data returned from the micro simulation is the data …

    …that the adaptivity computation requires (precice#109)
    
    * Check if initial data returned from the micro simulation is the data that the adaptivity computation requires
    
    * Add CHANGELOG entry
    
    * Rephrase exception
    
    * Add documentation about initializing micro simulations
    IshaanDesai authored May 28, 2024
    Configuration menu
    Copy the full SHA
    f50f748 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Handle the case where micro simulations written in C++ have the `init…

    …ialize()` function (precice#110)
    
    * Handle exceptions from the initialize() function call from wrapped functions
    
    * Rework comments and add CHANGELOG entry
    IshaanDesai authored Jun 3, 2024
    Configuration menu
    Copy the full SHA
    a4a8e77 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. Add base class for Micro Manager and restructure main (precice#111)

    * Restructure execution with main
    
    * Add base class and abstract base class to unify common properties
    
    * Add expected return-type to main
    
    * Adapt class descriptions
    
    * Change class descriptions and imports
    
    * Update Changelog
    
    * Update CHANGELOG.md
    
    Co-authored-by: Ishaan Desai <[email protected]>
    
    ---------
    
    Co-authored-by: Ishaan Desai <[email protected]>
    tjwsch and IshaanDesai authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    18fbdec View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. Rework comment

    IshaanDesai committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    0202253 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Set micro simulation dt in the configuration (precice#112)

    * Add option for the user to provide initial time window size of the micro simulation
    
    * Put config parameter micro_time_window_size in coupling_params group
    
    * Paasing dt correctly
    
    * Fix unit tests
    
    * Fix crash handling tests
    
    * Add CHANGELOG entry
    
    * Use micro_dt instead of micro_time_window_size
    
    * Use dt=0 when reading initial data
    IshaanDesai authored Jun 11, 2024
    Configuration menu
    Copy the full SHA
    26dd92d View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Configuration menu
    Copy the full SHA
    f1eac57 View commit details
    Browse the repository at this point in the history
  2. Move micro_dt from coupling parameters to simulation parameters in th…

    …e configuration (precice#114)
    
    * Move micro_dt from coupling_params to simulation_params in the JSON config
    
    * Update CHANGELOG
    IshaanDesai authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    29f93aa View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Make interpolation after crash optional (precice#113)

    * Make sklearn an optional dependency
    
    * Fix optional crash handling
    
    * Fix trailing white space in  config
    
    * Make sklearn an optional dependency
    
    * Fix optional crash handling
    
    * Fix trailing white space in  config
    
    * Apply suggestions from code review
    
    Co-authored-by: Ishaan Desai <[email protected]>
    
    * Add comment regarding parameters potentially configurable by the user
    
    * Resolve conflict in CHANGELOG
    
    ---------
    
    Co-authored-by: Ishaan Desai <[email protected]>
    tjwsch and IshaanDesai authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    6fafea2 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Snapshot computation (precice#101)

    * Initial commit for snapshot commputation
    
    * Snapshot: change import of module
    
    * Adapt SnapshotComputation further
    
    * Adapt Snapshot test
    
    * Snapshot: Formatting
    
    * Prepare Snapshot class further
    
    * First working version of snapshot computation
    
    * Add snapshot test, improve snapshot and restructure
    
    * Add snapshot test, improve snapshot and restructure part 2
    
    * Improve logging, comments and minor structural improvements
    
    * Snapshot: extend setup and github actions
    
    * Move Snapshot into Micro Manager and update execution
    
    * Add post-processing script option and restructure snapshot example
    
    * Add post-processing to snapshot config file
    
    * Make snapshot executable and rename snapshot files
    
    * Restructure snapshot computation
    
    * Restructure config
    
    * Update snapshot computation still without chunking
    
    * Remove unintentional print statement
    
    * Update comments in tests
    
    * Read only the necessary input on each process
    
    * Clarify text and names
    
    * Add HDF5 dependency
    
    * Make h5py optional dependency
    
    * Fix h5py optional
    
    * Initial commit for snapshot commputation
    
    * Snapshot: change import of module
    
    * Adapt SnapshotComputation further
    
    * Snapshot: Formatting
    
    * Prepare Snapshot class further
    
    * First working version of snapshot computation
    
    * Add snapshot test, improve snapshot and restructure
    
    * Add snapshot test, improve snapshot and restructure part 2
    
    * Improve logging, comments and minor structural improvements
    
    * Move Snapshot into Micro Manager and update execution
    
    * Add post-processing script option and restructure snapshot example
    
    * Make snapshot executable and rename snapshot files
    
    * Restructure snapshot computation
    
    * Restructure config
    
    * Update snapshot computation still without chunking
    
    * Remove unintentional print statement
    
    * Update comments in tests
    
    * Make h5py optional dependency
    
    * Fix h5py optional
    
    * Change snapshot case in main
    
    * Move dt to simulation parameters in Snapshot and snapshot specific dt
    
    * Fix init
    
    * Fix issue of using member variable in Config class
    
    * Fix tests
    
    * Apply suggestions from code review
    
    Co-authored-by: Ishaan Desai <[email protected]>
    
    * Apply review suggestions
    
    * Remove output dir from gitignore
    
    * Extend CHANGELOG.md
    
    * Update CHANGELOG.md
    
    ---------
    
    Co-authored-by: Ishaan Desai <[email protected]>
    tjwsch and IshaanDesai authored Jul 25, 2024
    Configuration menu
    Copy the full SHA
    391969d View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Explicitly check if the time window has completed (precice#118)

    * Explicitly check if the time window has completed
    
    * Add CHANGELOG entry
    IshaanDesai authored Jul 30, 2024
    Configuration menu
    Copy the full SHA
    32fd930 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. Add snapshot computation docs and improve micro manager docs (precice…

    …#116)
    
    * Add snapshot docs and update micro manager docs
    
    * Add snapshot configuration docs
    
    * Adapt documentation
    
    * Update postprocessing description
    
    * Remove next step
    
    * Apply suggestions from code review
    
    Co-authored-by: Ishaan Desai <[email protected]>
    
    * Move snapshot mention to -what can it do?-
    
    ---------
    
    Co-authored-by: Ishaan Desai <[email protected]>
    tjwsch and IshaanDesai authored Aug 8, 2024
    Configuration menu
    Copy the full SHA
    d66c000 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. Snapshot: Add possibility to have only one micro simulation object (p…

    …recice#123)
    
    * Allow to compute snapshots on single object
    
    * Update snapshot documentation and CHANGELOG
    
    * Apply suggestions from code review
    
    Co-authored-by: Ishaan Desai <[email protected]>
    
    * Add note when to use a single object
    
    ---------
    
    Co-authored-by: Ishaan Desai <[email protected]>
    tjwsch and IshaanDesai authored Aug 13, 2024
    Configuration menu
    Copy the full SHA
    89f6a63 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    762563e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f8de70a View commit details
    Browse the repository at this point in the history
  4. Update installation docs

    tjwsch committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    ac44d06 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9c16bfb View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. Use absolute values to calculate normalizing factor for relative norm…

    …s in adaptivity (precice#125)
    
    * When taking relative norm differences in similarity calculation, use absolute values to get the normalizing factor
    
    * Fix comments with respect to earlier changes
    
    * Add CHANGELOG entry
    IshaanDesai authored Aug 14, 2024
    Configuration menu
    Copy the full SHA
    490ae43 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Configuration menu
    Copy the full SHA
    fd20cd1 View commit details
    Browse the repository at this point in the history
  2. Bump version

    IshaanDesai committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    98d2485 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

  1. read config file in init

    Jun Chen committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    d6637c1 View commit details
    Browse the repository at this point in the history
  2. merge v0.5.0

    Jun Chen committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    4cca701 View commit details
    Browse the repository at this point in the history