Skip to content

Jre/snapwave sfincs#223

Closed
jreyns wants to merge 9 commits intomainfrom
jre/snapwave_sfincs
Closed

Jre/snapwave sfincs#223
jreyns wants to merge 9 commits intomainfrom
jre/snapwave_sfincs

Conversation

@jreyns
Copy link
Copy Markdown
Collaborator

@jreyns jreyns commented Oct 28, 2025

Snapwave additions to sfincs code

@jreyns jreyns requested a review from Leynse October 28, 2025 15:53
Copy link
Copy Markdown
Collaborator

@Leynse Leynse left a comment

Choose a reason for hiding this comment

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

  • I started adding the central scheme for ig already - can you check and finish?

Comment thread source/src/snapwave/snapwave_solver.f90 Outdated
Comment thread source/src/snapwave/snapwave_solver.f90 Outdated
! Actual determining of source term - every first sweep of iteration
!
call determine_infragravity_source_sink_term(inner, no_nodes, ntheta, w, ds, prev, cg_ig, nwav, depth, zb, H, ee, ee_ig, eeprev, eeprev_ig, cgprev, ig_opt, alphaigfac, alphaig_local, beta_local, srcig_local)
call determine_infragravity_source_sink_term([msk==1], no_nodes, ntheta, w, ds, prev, cg_ig, nwav, depth, zb, H, ee, ee_ig, eeprev, eeprev_ig, cgprev, ig_opt, alphaigfac, alphaig_local, beta_local, srcig_local)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

In VS debug mode get message "forrtl: warning (406): fort: (1): In call to DETERMINE_INFRAGRAVITY_SOURCE_SINK_TERM, an array temporary was created for argument #1

Probably not harmful, be should it be avoided?

Copy link
Copy Markdown
Collaborator Author

@jreyns jreyns Dec 11, 2025

Choose a reason for hiding this comment

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

we can also explicitly allocate an array for this. Now it goes on the stack

@Leynse
Copy link
Copy Markdown
Collaborator

Leynse commented Apr 10, 2026

Closing Pull Request, because all changes we want to keep I merged into PR #300 , thanks!

@Leynse Leynse closed this Apr 10, 2026
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.

Externalize duplicate subroutines read_<type>_input(fileid,keyword,value,default)

2 participants