pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/Deltares/SFINCS/pull/223

/assets/global-68dd150ce6c8e711.css" /> Jre/snapwave sfincs by jreyns · Pull Request #223 · Deltares/SFINCS · GitHub
Skip to content

Jre/snapwave sfincs#223

Open
jreyns wants to merge 7 commits intomainfrom
jre/snapwave_sfincs
Open

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

Conversation

@jreyns
Copy link
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
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?

ee_ig = waveps
!
restart=1 !TODO TL: CHECK > we need this turned on right now for IG...
!restart=1 !TODO TL: CHECK > we need this turned on right now for IG...
Copy link
Collaborator

Choose a reason for hiding this comment

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

double check

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

do you have a simple test model for me to debug this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

double check

restart = .true. is the default (sfincs_snapwave.f90, line 706), and cannot be changed
so this code block never has any effect

! 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
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
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

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

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy