Skip to content

Commit e4c57e3

Browse files
committed
Merge branch 'fb_ounf3' of github.com:CarstenHansen/WW3 into fb_stvp
2 parents 5ad4563 + c895936 commit e4c57e3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1505
-646
lines changed

README.md

+13-12
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
# The WAVEWATCH III Framework
22

3-
WAVEWATCH III<sup>&reg;</sup> is a community wave modeling framework that includes the
3+
WAVEWATCH III<sup>&reg;</sup> is a community wave modeling framework that includes the
44
latest scientific advancements in the field of wind-wave modeling and dynamics.
55

66
## General Features
77

8-
WAVEWATCH III<sup>&reg;</sup> solves the random phase spectral action density
9-
balance equation for wavenumber-direction spectra. The model includes options
10-
for shallow-water (surf zone) applications, as well as wetting and drying of
11-
grid points. Propagation of a wave spectrum can be solved using regular
12-
(rectilinear or curvilinear) and unstructured (triangular) grids. See
13-
[About WW3](https://github.com/NOAA-EMC/WW3/wiki/About-WW3) for a
14-
detailed description of WAVEWATCH III<sup>&reg;</sup> .
8+
WAVEWATCH III<sup>&reg;</sup> solves the random phase spectral action density
9+
balance equation for wavenumber-direction spectra. The model includes options
10+
for shallow-water (surf zone) applications, as well as wetting and drying of
11+
grid points. Propagation of a wave spectrum can be solved using regular
12+
(rectilinear or curvilinear) and unstructured (triangular) grids. See
13+
[About WW3](https://github.com/NOAA-EMC/WW3/wiki/About-WW3) for a
14+
detailed description of WAVEWATCH III<sup>&reg;</sup>. For a web-based
15+
view of the WAVEWATCH III<sup>&reg;</sup> source code
16+
refer to the [WW3 doxygen documentation](https://noaa-emc.github.io/WW3).
1517

1618
## Installation
1719

18-
The WAVEWATCH III<sup>&reg;</sup> framework package has two parts that need to be combined so
19-
all runs smoothly: the GitHub repo itself, and a binary data file bundle that
20-
needs to be obtained from our ftp site. Steps to successfully acquire and install
20+
The WAVEWATCH III<sup>&reg;</sup> framework package has two parts that need to be combined so
21+
all runs smoothly: the GitHub repo itself, and a binary data file bundle that
22+
needs to be obtained from our ftp site. Steps to successfully acquire and install
2123
the framework are outlined in our [Quick Start](https://github.com/NOAA-EMC/WW3/wiki/Quick-Start)
2224
guide.
2325

@@ -35,4 +37,3 @@ endorsement, recommendation or favoring by the Department of Commerce. The
3537
Department of Commerce seal and logo, or the seal and logo of a DOC bureau,
3638
shall not be used in any manner to imply endorsement of any commercial product
3739
or activity by DOC or the United States Government.
38-

model/nml/ww3_shel.nml

+21
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,27 @@
317317

318318

319319

320+
! -------------------------------------------------------------------- !
321+
! Define user-defined output paths via OUTPUT_PATH_NML namelist
322+
!
323+
! * user-defined paths include: raw output out_grd, out_pnt, and restart
324+
! * default path for these are set as './'
325+
! * NOTE: using user-defined path may cause post-processing fail
326+
! user-defined directroy must exist before execution
327+
!
328+
! * namelist must be terminated with /
329+
! * definitions & defaults:
330+
! PATH%GRD_OUT = './'
331+
! PATH%PNT_OUT = './'
332+
! PATH%RST_OUT = './'
333+
! -------------------------------------------------------------------- !
334+
&OUTPUT_PATH_NML
335+
PATH%GRD_OUT = './'
336+
/
337+
338+
339+
340+
320341
! -------------------------------------------------------------------- !
321342
! Define homogeneous input via HOMOG_COUNT_NML and HOMOG_INPUT_NML namelist
322343
!

model/src/w3gdatmd.F90

+1-1
Original file line numberDiff line numberDiff line change
@@ -2118,7 +2118,7 @@ SUBROUTINE W3DIMS ( IMOD, MK, MTH, NDSE, NDST )
21182118
MPARS(IMOD)%SRCPS%CUMULW(MSPEC,MSPEC), &
21192119
STAT=ISTAT )
21202120
CHECK_ALLOC_STATUS ( ISTAT )
2121-
MPARS(IMOD)%SRCPS%SATINDICES(:,:)=0.
2121+
MPARS(IMOD)%SRCPS%SATINDICES(:,:)=1.
21222122
MPARS(IMOD)%SRCPS%SATWEIGHTS(:,:)=0.
21232123
MPARS(IMOD)%SRCPS%CUMULW(:,:)=0.
21242124
#endif

model/src/w3gridmd.F90

+1-1
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ MODULE W3GRIDMD
851851
#ifdef W3_ST4
852852
INTEGER :: SWELLFPAR, SDSISO, SDSBRFDF, SINTABLE,&
853853
TAUWBUG
854-
REAL :: SDSBCHOICE
854+
REAL :: SDSBCHOICE
855855
REAL :: ZWND, ALPHA0, Z0MAX, BETAMAX, SINTHP,&
856856
ZALP, Z0RAT, TAUWSHELTER, SWELLF, &
857857
SWELLF2,SWELLF3,SWELLF4, SWELLF5, &

model/src/w3initmd.F90

+5-2
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,6 @@ SUBROUTINE W3INIT ( IMOD, IsMulti, FEXT, MDS, MTRACE, ODAT, FLGRD, FLGR2, FLGD,
658658
STOP
659659
ENDIF
660660
#endif
661-
662661
!
663662
! 1.c Open files without unpacking MDS ,,,
664663
!
@@ -1240,7 +1239,11 @@ SUBROUTINE W3INIT ( IMOD, IsMulti, FEXT, MDS, MTRACE, ODAT, FLGRD, FLGR2, FLGD,
12401239
!
12411240
! 4.d Preprocessing for point output.
12421241
!
1243-
IF ( FLOUT(2) ) CALL W3IOPP ( NPT, XPT, YPT, PNAMES, IMOD )
1242+
#ifdef W3_MPI
1243+
IF ( FLOUT(2) ) CALL W3IOPP ( NPT, XPT, YPT, PNAMES, IMOD, MPI_COMM_WAVE )
1244+
#else
1245+
IF ( FLOUT(2) ) CALL W3IOPP ( NPT, XPT, YPT, PNAMES, IMOD, 1 )
1246+
#endif
12441247
#ifdef W3_PDLIB
12451248
CALL DEALLOCATE_PDLIB_GLOBAL(IMOD)
12461249
#endif

0 commit comments

Comments
 (0)