Skip to content
Snippets Groups Projects

Add support for per-layer callbacks

Merged Brian Groenke requested to merge bgroenke/cryogridjulia:feature/callbacks into master

Adds support for registering callbacks from specified stratigraphy components. Callbacks should be implemented as struct types <: CryoGrid.Callback and registered via a callbacks(::Layer, ::Process) implementation. Corresponding implementations for criterion(::Callback, ::Layer, ::Process, state) (the callback condition) and affect!(::Callback, ::Layer, ::Process, state) should then be provided.

This pull request also includes some other minor bug fixes and maintenance changes, as well as a (hopefully final) renaming of CompoundProcess to CoupledProcesses which should not affect user code.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading