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

[WIP] Migrate neural network-based indicators to new repository #1

Draft
wants to merge 24 commits into
base: main
Choose a base branch
from

Conversation

sloede
Copy link
Member

@sloede sloede commented Nov 2, 2023

See also the Trixi.jl counterpart trixi-framework/Trixi.jl#1701.

Copy link
Member

@ranocha ranocha left a comment

Choose a reason for hiding this comment

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

Shall we also set up CI on Julia v1.8, Documenter, TagBot, and Dependabot?

Manifest.toml Outdated Show resolved Hide resolved
Project.toml Outdated Show resolved Hide resolved
Project.toml Show resolved Hide resolved
Project.toml Outdated Show resolved Hide resolved
src/TrixiSmartShockFinder.jl Outdated Show resolved Hide resolved

[compat]
MuladdMacro = "0.2.4"
# Trixi = "0.6"
Copy link
Member Author

Choose a reason for hiding this comment

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

TODO @sloede: uncomment this line

@sloede
Copy link
Member Author

sloede commented Nov 3, 2023

This looks ready from my side. Thus, a review would be great. Please do not merge yet though, as I'd like to check with the upcoming Trixi v0.6 first.

@sloede sloede requested a review from ranocha November 3, 2023 15:36
README.md Outdated Show resolved Hide resolved
using TrixiSmartShockFinder
using Trixi

# TODO: Remove once Trixi.jl is released without these exports
Copy link
Member

Choose a reason for hiding this comment

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

TODO notes

Comment on lines +13 to +16
# TODO: Remove once Trixi.jl is released without these exports
NeuralNetworkPerssonPeraire = TrixiSmartShockFinder.NeuralNetworkPerssonPeraire
NeuralNetworkRayHesthaven = TrixiSmartShockFinder.NeuralNetworkRayHesthaven
IndicatorNeuralNetwork = TrixiSmartShockFinder.IndicatorNeuralNetwork
Copy link
Member

Choose a reason for hiding this comment

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

I guess there are TODO notes in every elixir - I will skip them

src/indicators_1d.jl Show resolved Hide resolved
src/indicators_1d.jl Show resolved Hide resolved
src/indicators_2d.jl Show resolved Hide resolved
src/indicators_2d.jl Show resolved Hide resolved
src/indicators_2d.jl Show resolved Hide resolved
src/indicators_2d.jl Show resolved Hide resolved
BSON = "0.3.3"
Flux = "0.13.15, 0.14"
OrdinaryDiffEq = "6.49.1"
# Trixi = "0.6"
Copy link
Member

Choose a reason for hiding this comment

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

TODO

Co-authored-by: Hendrik Ranocha <[email protected]>
@sloede
Copy link
Member Author

sloede commented Nov 6, 2023

Shall we also set up CI on Julia v1.8, Documenter, TagBot, and Dependabot?

I'd say no. We will not register this as a package for now, and I don't plan on fixing issues that would arise from Dependabot-triggered updates. Since the package is so tiny, I also do not think setting up Documenter.jl is absolutely necessary

@ranocha
Copy link
Member

ranocha commented Nov 6, 2023

Fine with me 👍 This is basically ready to be merged. Do you want to make the breaking release of Trixi.jl first?

@sloede
Copy link
Member Author

sloede commented Nov 6, 2023

Fine with me 👍

Thanks for reviewing and double-checking my thought process!

Do you want to make the breaking release of Trixi.jl first?

Yes, such that we can activate the currently commented Trixi.jl compat bounds for v0.6 and verify that they work.

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.

2 participants