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

Bug fixes for thread in w3_new and initializing variables #373

Merged
merged 4 commits into from
May 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ regtests/ww3_tp2.14/input/oasis3-mct/doc
regtests/ww3_tp2.14/input*/*.nc.OAS*CM*
regtests/ww3_tp2.14/input*/*/*.nc.OAS*CM*
regtests/ww3_tp2.17/input/inlet.msh
regtests/ww3_tp2.21/input/mesh.msh
regtests/ww3_tp2.21/input/obstructions_local.glo_unst.in
regtests/ww3_tp2.21/input/obstructions_shadow.glo_unst.in
*.nc
*/*.nc
*/*/*.nc
Expand Down
15 changes: 14 additions & 1 deletion model/bin/w3_new
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,27 @@
'mpp' );;
'mpiexp' ) cd $main_dir/ftn ; touch wmgridmd.ftn ;;
'thread' ) cd $main_dir/ftn ; touch w3wavemd.ftn
touch w3canomd.ftn
touch w3fld1md.ftn
touch w3fld2md.ftn
touch w3flxxmd.ftn
touch w3iogomd.ftn
touch w3pro1md.ftn
touch w3pro2md.ftn
touch w3pro3md.ftn
touch w3psmcmd.ftn
touch w3srcemd.ftn
touch w3pro1md.ftn
touch w3pro2md.ftn
touch w3pro3md.ftn
touch w3updtmd.ftn
touch wmgridmd.ftn
touch w3uno2md.ftn
touch w3updtmd.ftn
touch w3uqckmd.ftn
touch w3iogomd.ftn ;;
touch w3iogomd.ftn
touch ww3_multi.ftn
touch ww3_shel.ftn ;;
'GSE' ) cd $main_dir/ftn ; touch w3gdatmd.ftn
touch w3adatmd.ftn
touch w3idatmd.ftn
Expand Down
4 changes: 4 additions & 0 deletions model/ftn/w3idatmd.ftn
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@
INPUTS(I)%TDN(2) = 0
INPUTS(I)%TG0(1) = -1
INPUTS(I)%TG0(2) = 0
INPUTS(I)%GA0 = 0.
INPUTS(I)%GD0 = 0.
INPUTS(I)%GAN = 0.
INPUTS(I)%GDN = 0.
INPUTS(I)%IINIT = .FALSE.
INPUTS(I)%INFLAGS1 = .FALSE.
INPUTS(I)%INFLAGS2 = .FALSE.
Expand Down