Skip to content

Commit

Permalink
Merge pull request #20 from una-auxme/dev
Browse files Browse the repository at this point in the history
Updated version in Project.toml
  • Loading branch information
JulianTrommer authored Jul 22, 2024
2 parents c8316a5 + 376b73e commit 77980da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MeshGraphNets"
uuid = "f7b4726d-4195-44ab-b39c-37bbdadae004"
authors = ["JT <julian.trommer@uni-a.de>"]
version = "0.4.0"
version = "0.4.1"

[deps]
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
Expand Down
7 changes: 4 additions & 3 deletions src/strategies.jl
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,11 @@ Useful if the network tends to get stuck in a local minimum if SolverTraining is
- `dt`: Interval at which the simulation is saved.
- `tstop`: Stop time of the simulation.
- `solver`: Solver that is used for simulating the system.
- `interval_size`: Size of the intervals (i.e. number of datapoints in one interval).
- `continuity_term = 100`: Factor by which the error between points of concurrent intervals is multiplied.
## Keyword Arguments
- `sense = InterpolatingAdjoint(autojacvec = ZygoteVJP(), checkpointing = true)`:
- `sense = InterpolatingAdjoint(autojacvec = ZygoteVJP(), checkpointing = true)`: The sensitivity algorithm that is used for caluclating the sensitivities.
- `interval_size`: Size of the intervals (i.e. number of datapoints in one interval).
- `continuity_term = 100`: Factor by which the error between points of concurrent intervals is multiplied.
- `solargs`: Keyword arguments that are passed on to the solver.
"""
struct MultipleShooting <: SolverStrategy
Expand Down Expand Up @@ -436,6 +436,7 @@ Useful for initial training of the system since it it faster than training with
## Keyword Arguments
- `window_size = 0`: Number of steps from each trajectory (starting at the beginning) that are used for training. If the number is zero then the whole trajectory is used.
- `random = true`: Whether the derivatives of the data should shuffled before the training.
"""
struct DerivativeTraining <: DerivativeStrategy
window_size::Integer
Expand Down

2 comments on commit 77980da

@JulianTrommer
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/111513

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.4.1 -m "<description of version>" 77980dae63aa5ef79348576107fcfcbb026814d1
git push origin v0.4.1

Please sign in to comment.