-
Notifications
You must be signed in to change notification settings - Fork 33
Adding supporting code for blog post #9
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
Merged
Merged
Changes from 3 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
d35594a
Adding PhiML blog post supporting code
mmarkows17 2183e8e
addressing review comments for HNN example
mmarkows17 c54037b
edits suggested by reviewers
mmarkows17 eaa1994
editing readme
mmarkows17 0156c93
getting rid of project by adding data generation scripts and includin…
mmarkows17 50c13ce
updating the startup instructions in the readme to remove the prj and…
mmarkows17 287ed60
adding PINN m and readme files
mmarkows17 10ef65e
removing extraneous rng calls and modified initial condition in FNO e…
mmarkows17 a22a59d
changing sqrt g to omega0
mmarkows17 ce78b86
review edits plus minor typos in data generation files
mmarkows17 e53e0a5
edits from second review
mmarkows17 2a4613b
typo in readme
mmarkows17 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
This file contains hidden or 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 hidden or 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
mmarkows17 marked this conversation as resolved.
Show resolved
Hide resolved
|
Binary file not shown.
mmarkows17 marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or 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,7 +1,9 @@ | ||
function sol = solveNonlinearPendulum(tspan,omega0,thetaDot0) | ||
F = ode; | ||
F.ODEFcn = @(t,x) [x(2); -omega0^2.*sin(x(1))]; | ||
F.InitialValue = [0; thetaDot0]; | ||
F.Solver = "ode45"; | ||
sol = solve(F,tspan); | ||
|
||
F = ode; | ||
F.ODEFcn = @(t,x) [x(2); -omega0^2.*sin(x(1))]; | ||
F.InitialValue = [0; thetaDot0]; | ||
F.Solver = "ode45"; | ||
sol = solve(F,tspan); | ||
|
||
end |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.