Version History – v51

The following is a brief summary of the ADCIRC development history.

v51.52.37 – 05/01/2016 – jgf

Added compiler flags for compiling with NetCDF support on Topaz at ERDC; modified makefile to support building aswip in its own subdirectory.

v51.52.36 – 04/30/2016 – jgf

Fixed issue in reading IDEN in fort.15 introduced in previous commit.

v51.52.35 – 04/29/2016 – jgf

Fixed NetCDF metadata for velocity units (wind, water current, max wind and water current, and swan wind); fixed reading of IDEN to make it consistent between the 2D section
of the fort.15 file and the 3D section.

v51.52.34 – 01/25/2016 – jgf

Fixed issue where nodecode was being tested on output arrays where wet/dry state should be considered, but this test was being erroneously applied to stations by looking up the nodecode on the station number itself, rather than the nodes in the element containing the station; checking the wet/dry state of a station was already being correctly handled in subroutine stationArrayInterp().

v51.52.33 – 01/14/2016 – tcm

Added compiler flags for Topaz, SGI ICE X.

v51.52.32 – 11/17/2015 – jgf

Remove stray debugging statement from adcprep.

v51.52.31 – 11/15/2015 – zc

Fixing bug where SWAN was writing the previous time snap instead of the current by moving writeOutput2D call out of timestep.F and into adcirc.F after the SWAN time step has taken place

v51.52.30 – 11/11/2015 – jgf

Fixed output of time varying tau0 so that ascii fort.90 files have a proper header; fort.90 and fort.90.nc files are only written when tau0=-x.1 in fort.15.

v51.52.29 – 09/18/2015 – jgf

Fixed parsing and i/o error checking in subroutine rsget (for reading fort.23).

v51.52.28 – 09/18/2015 – jgf
Fixed check that compares number of nodes in mesh to number of nodes in fort.13 so that it occurs immediately when fort.13 header is read.

v51.52.27 – 09/16/2015 – jgf

Added call to subroutine updateMetaData() at end of subroutine writeNetCDFHotstartFile() to ensure that netcdf metadata is updated in netcdf hotstart files when new
hotstart data are written to them.

v51.52.26 – 09/09/2015 – jgf

Removed stray debugging statements from couple2swan.F and tweaked comments for NWS10GET.

v51.52.25 – 09/04/2015 – yf/jgf

Fixed initial guess for dradz in subroutine glats() (for NWS10, i.e., GFS input) reducing it by a factor of 8.

v51.52.24 – 08/24/2015 – jgf

Modified loop extents from previous change such that the QNMSG array is populated at indices that correspond to the position in the LBCODE array where the flux boundary conditions are specified.

v51.52.23 – 08/23/2015 – jgf

Fixed adcprep issues with array extents for external flux boundaries and the LBCODE array for boundary types at nodes in adcprep; the issues manifested as too many flux values read from fort.15 for periodic river flux boundary conditions.

v51.52.22 – 08/17/2015 – jgf

Added compiler flags for spirit at AFRL.

v51.52.21 – 08/14/2015 – jgf

Fixed NWS10 (NOAA GFS) meteorological input subroutines so that they function properly in serial and parallel; previously, there was no accommodation for NWS10 in adcprep, whereas now adcprep recognizes this as a valid value; subroutines in adcirc were nonfunctional due to outdated parameters and code structure; adcirc code for NWS10GET was fixed and made functional by bringing it in line with the overall structure of the wind module; also fixed an issue with ramp value initialization when nramp=1 and dramp=0.0.

v51.52.20 – 08/06/2015 – jgf

Fix to prevent NaNs in output files in runs that use SWAN coupling with a vortex meteorological model. This issue was a result of the parametric vortex models not initializing the WVNX1 and WVNY1 arrays because they do not use them but SWAN does.

v51.52.19 – 08/04/2015 – zc

Fixing bug that caused serial adcswan to not write output files. descript % writeFlag was never set to .true.

v51.52.18 – 08/02/2015 – zc

Fixing bug in writing netCDF stations using serial adcirc. Pointers to station coordinates were not defined.

v51.52.17 – 07/16/2015 – tcm

Fixed bug in time varying bathymetry implementation, where the wrong amount of bathymetry change was being used for adjusting the eta2 variable.

v51.52.16 – 07/12/2015 – jgf

Uncommented format statement that had been accidentally commented out causing compilation issue.

v51.52.15 – 07/12/2015 – jgf

Removed consideration of noff value when determining wet/dry status of a station for output purposes.

v51.52.14 – 06/12/2015 – jgf

Removed error message emitted by adcprep and adcirc when NOLIFA=2 and NOLICAT=0 because it is alarming and because it contradicts common practice.

v51.52.13 – 06/10/2015 – jgf

Added compiler flags for stampede at TACC.

v51.52.12 – 06/10/2015 – jgf

Fixed issue in adcprep where the EL_SHARE array was dimensioned incorrectly, resulting in nearly all element indices in the IMAP_EL_LG() mapping array being negative
(i.e., represented as ghost elements); the fix assigns a positive element index in the mapping for the first subdomain that contains the element, and a negative element index for any subsequent subdomain that contains the element. This fix will resolve issues with globalization of the NOFF array for fulldomain hotstart files, which have been associated with otherwise inexplicable numerical issues in prior versions.

v51.52.11 – 05/20/2015 – zc

Further fixes for multiple netCDF writer cores and writing the fort.69 debug file.

v51.52.10 – 05/17/2015 – jgf

Fix for globalizing NOFF array that takes the absolute value of the fulldomain element number when retrieving it from the IMAP_EL_LG mapping array. This fixes the issue where all, or nearly all, NOFF values were found to be zero in the fulldomain hotstart file.

v51.52.09 – 05/14/2015 – zc

Bug fixes for compiling with XDMF libraries

v51.52.08 – 05/14/2015 – zc

Fixed netCDF writer processor which did not have knowledge of NP_G and NE_G during initialization. This is now read during the readMetadata routine.

v51.52.07 – 05/06/2015 – jgf

Fixed two memory allocation issues for harmonic analysis i/o in parallel; added command line option to direct ADCIRC to simply report version number and exit.

v51.52.06 – 05/05/2015 – jgf

Fixed memory allocation issue when performing globalio in parallel for ESLNodes.63 file.

v51.52.05 – 04/21/2015 – jgf

Fixed issue with NWS=12 (OWI) where barometric pressure at nodes outside both met grids was set to zero instead of the background pressure of 1013mb; the issue did not affect situations where the OWI grid completely covered the ADCIRC mesh.

v51.52.04 – 04/21/2015 – jgf

Added compiler flags for LSU supermike2.

v51.52.03 – 04/20/2015 – jgf

Added compiler flags for LONI queenbee.

v51.52.02 – 04/13/2015 – jgf

Fixed compilation issue when compiling with DEBUG_WARN_ELEV flag.

v51.52.01 – 04/13/2015 – jgf

Fixed compilation issue with harmonic analysis data post processing in subdomain hotstart files in adcpost.

v51.52 – 03/28/2015 – jgf

Updated comments, log message integer formatting (i0 instead of ix) and execution tracing for GFDL.

v51.51 – 03/25/2015 – jgf

In globalio module, added a check for remainder if the maximum buffer size is not evenly divisible by the rank of the globalized array; removed NOFF=2 handling from globalio since it is already present in the calling routine; fixed excessive logging for slope limiter now that the slope limiter activity is reset every time step; added individual spool counters for output types in write_output module that previously shared spool counters, which caused them to interfere with each other (e.g., the fort.72 was being written but not the fort.71).

v51.50 – 03/21/2015 – jgf

Added back the clearing of the slope limiter flag for all nodes at each time step prior to re-evaluating whether to activate it again; adjusted the USE statements at the top of the new slope limiter subroutines to refer to the mesh module.

v51.49 – 03/16/2015 – tcm

Modifications to make slope limiting a callable subroutine.

v51.48 – 03/16/2015 – jgf

Merged aaltuntas’ fix on r1072 of the ncsu-subdomain branch to deactivate geoidOffset for subdomain boundary conditions.

v51.47 – 03/13/2015 – jgf

Consolidated the elemental slope limiter into a single block of code at the end of GWCE_New() to prevent non-limited slopes from being used in the momentum equation solution.

v51.46 – 03/12/2015 – jgf

Fixed the allocation/initialization of wave radiation stress arrays in global.F, hstart.F, and cstart.F to prevent NaNs from uninitialized values at hotstart from creeping into the solution for water surface elevation and causing SWAN coupled simulations to terminate immediately; applied a fix from Casey to eliminate a floating point exception in SWAN when total water depth in ADCIRC is negative; changed allocation and initialization of ESLONOFF array so that memory is not allocated twice and so that the slope limiter at a node is only activated at hotstart if the current value of the nodal attribute at that node would allow it.

v51.45 – 03/09/2015 – jgf

Merged aa’s latest fixes for subdomain modeling.

v51.44 – 03/09/2015 – jgf

Merged cs/kd changes to support writing and post processing subdomain harmonic analysis output files as well as corrections for writing harmonic analysis data to subdomain hotstart files. These changes enable ADCIRC to perform harmonic analysis for a larger number of harmonic constituents (e.g., more than 30) while executing in parallel by avoiding the i/o memory demand associated with globalio for harmonics.

v51.43 – 02/10/2014 – jgf

Fixed log messages in mesh.F because each of the subdomains was dumping its chatter to the screen in parallel; fixed the splash header (with version and copyright info) so that it appears at the very top of the fort.16; removed erroneous log message about the JCG solver.

v51.42 – 01/28/2014 – jgf

Merged subdomain modeling capability; the changes to existing source code are minimal and limited to a few additional subroutine calls; nearly all the code to support the new feature is contained in the new modules subprep.F (for adcprep) and subdomain.F (for adcirc/padcirc/padcswan).

v51.41 – 01/21/2014 – jgf

Added more error checking to hstime utility to detect netcdf hotstart files that have a mesh but no data.

v51.40 – 12/29/2014 – jgf

Fixed issue in parsing header of nodal attributes file where the reading of the default value of an unrecognized nodal attribute was not being skipped as expected.

v51.39 – 12/24/2014 – jgf

Added execution tracing to mesh.F module. Corrected log message routing in mesh module to reduce the messages it prints to the screen, particularly in parllel.

v51.38 – 12/22/2014 – jgf

Merged GAHM_jie branch (v51.33.x).

v51.33.14 – 12/12/2014 – jgf

Fixed duplicate execution tracing calls.

v51.33.13 – 12/09/2014 – jgf

Merged trunk changes r1032:1050; fixed some issues related to the move of output type identifiers like OFF, ASCII, BINARY, etc from global.F to sizes.F.

v51.33.12 – 11/18/2014 – jgf

Added comma to hstime.F to fix syntax when not compiling with NETCDF support.

v51.33.11 – 11/12/2014

Decided to adjust compiler flags for debugging to remove trapping on underflow floating point exceptions, since default compiler behavior is likely to handle such exceptions correctly (flush to zero) during production.

v51.33.10 – 11/07/2014 – jgf

Corrected stray subroutine call from adcirc_terminate() to terminate().

v51.33.09 – 11/07/2014 – jgf

Added option to compile with debugging to cmplrflags.mk for intel-lonestar; also added SWAN=enable option on the make command line for same (instead of hardcoding -DADCSWAN into the DPRE flags); added dependency of wind module on mesh module into makefile; fixed misplaced END SELECT in couple2swan that was erroneously inside #ifdef causing compilation issue if compiled without netcdf support; fixes to enable compilation with debugging using intel11 compilers on lonestar at TACC.

v51.33.08 – 11/06/2014 – jgf

Fixes to enable compilation in debug mode with ftn compilers on garnet at ERDC.

v51.33.07 – 11/06/2014 – jgf

Fixes to enable compilation with ftn compilers on garnet at ERDC; added execution tracing to write_output module.

v51.33.06 – 10/31/2014 – jgf

Fixes to enable compilation with intel14 compilers on hatteras at RENCI.

v51.33.05 – 10/30/2014 – jgf

Fixed issue with adcprep: mesh coordinates were not suitably initialized, causing floating point exception problems in the setup_kdt_search subroutine; eliminated redundant specification of deg2rad, rad2deg, and Rearth parameters as well as CPP projection sub between adcprep and adcirc, including CPP projection of station coordinates; removed INVCPP subroutine from adcprep since it was not called from anywhere.

v51.33.04 – 10/26/2014 – jgf

Updated this file by adding entries for each commit that has been made on this branch; merged trunk changes that occurred from r1014 through r1031; minor fixes to USE statements in aswip.F to allow the aswip executable to compile; tested and confirmed that all executables compile successfully.

v51.33.03 – 08/25/2014 – gjie

Fixed arrays.

v51.33.02 – 08/01/2014 – gjie

Added geofactor to control the geostrophic balance.

v51.33.01 – 07/21/2014 – gjie

Added GAHM vortex wind model with NWS=20.

v51.37 – 11/11/2014 – zc

Fixing allocation of mpistat in writer_main subroutine. Setting ESLDescript % writeFlag flag to false so code does not attempt to write except at end of simulation. Adding commands to clean SWAN directory temporary fortran files when ‘make clean’ or ‘make clobber’ is run. Adding attribute to OutputDataDescript_t to flag writing of min/max file ascii time stamp. Reorganizing SWAN output routines in SwanOutput subroutine within couple2swan.F into writeOutput2D so they use Jason`s pointer structure for output variables and two sets of output routines are no longer carried. This also allows Swan output to occur even during non-coupling time steps.

v51.36 – 11/07/2014 – zc

Adjusting makefile for adcprep missing dependencies. Removing R,DEG2RAD,RAD2DEG from pre_global.F so that global.F versions are used. Renaming R in read_global.F throughout REarth. Fixing bugs in mesh.F and write_output.F

v51.35 – 10/25/2014 – jgf

Merged all xdmf2 developments (v51.21.xx) to trunk.

v51.21.41 – 10/16/2014 – jgf

Continuing to fix issues discovered in automated testing with ASGS: fixed issues related to constructing file names when using dedicated writer processors to write netcdf files; fixed log messages created by dedicated writer processors so the messages will go into the subdomain fort.16 files associated with those processors; added capability for the code to echo the command line that was used to execute it to document the associated command line options (e.g., the number of writer processors).

v51.21.40 – 10/13/2014 – jgf

Fixed issue with dedicated writers when there are many writers: the writers_write signal was not being honored unless all writers had received some data.

v51.21.39 – 10/10/2014 – jgf

Fixed issue in adcprep for generation of netcdf hotstart files containing harmonic analysis info for means and variances calculations.

v51.21.38 – 10/03/2014 – jgf

Fixes related to merge: prevented netcdf files from being initialized twice in parallel (once in adcprep and once in padcirc — now only in adcprep); fixed issue where fort.90.nc was not being initialized in adcprep.

v51.21.37 – 10/02/2014 – jgf

Improvements to makefile statements that record the compiler flags that were used to compile each executable; fixes that allow fort.90 (tau0 output) file to be written in netcdf if the fort.63 was set to write in netcdf; fixes for adcprep to repair the setup of netcdf files (was
broken by the merge of the trunk and branch but is now fixed).

v51.21.36 – 09/29/2014 – jgf

Fixes from functional testing: fixed initialization of netcdf min/max files.

v51.21.35 – 09/26/2014 – jgf

Fixes uncovered during functional testing: fixed memory allocation for time of max variable in min/max output files; fixed naming of netcdf files including min/max netcdf files; added code to makefile to record the actual compiler flags to a file for later use in determining e.g.
whether the code was compiled with debugging turned on.
v51.21.34 – 09/24/2014 – jgf

Fixes to merged and updated branch for compiling without XDMF support.

v51.21.33 – 09/23/2014 – jgf

Merging changes that have been made in the trunk from v51.21 (trunk revision 936) to the latest trunk v51.33 (trunk revision 1016) into this xdmf2 branch.

v51.21.32 – 03/25/2014 – jgf

Added control.F and xdmfio.F to version control, since they were overlooked in previous commits.

v51.21.31 – 03/25/2014 – jgf

Fixes resulting from compliance testing.

v51.21.30 – 03/21/2014 – jgf

Fixes from testing and preparations for merging back to trunk.

v51.21.29 – 03/14/2014 – jgf

Fixes to dedicated writer code for initializing and writing XDMF output files.

v51.21.28 – 03/13/2014 – jgf

Refactored XDMF output routines into their own module so they can be called from write_output.F as well as writer.F for use with dedicated writers.

v51.21.27 – 03/13/2014 – jgf

Updated adcirc2xdmf to convert only a limited range of datasets if desired; significantly refactored and simplified the dedicated writer code in writer.F for reliability and expandability; modified adcprep to enable it to read mesh data in a variety of formats.

v51.21.26 – 03/05/2014 – jgf

Had to rearrange some variables between mesh module and messenger module to avoid circular dependencies; updated makefile so that all executables build and link properly; updated couple2swan module to reflect the changes (improvements) in the write_output module.

v51.21.25 – 02/24/2014 – jgf

Made corrections to nodal attribute conversion utilities xdmf2adcirc and adcirc2xdmf; completed merge of xdmf nodal attribute reading routines into adcirc.

v51.21.24 – 02/23/2014 – jgf

Significant enhancements to write_output.F, including promoting it to a module; completed merge of XDMF output capabilities into write_output.F; merge of nodal attributes XDMF capabilities into nodalattr.F in process.

v51.21.23 – 02/20/2014 – jgf

Placed mesh and boundaries modules in their own source files and updated makefile accordingly. Builds and runs successfully.

v51.21.22 – 02/20/2014 – jgf

ADCIRC successfully reads and runs with an XDMF formatted mesh as well as a conventional ADCIRC ascii mesh.

v51.21.21 – 02/19/2014 – jgf

All adcirc2xdmf and xdmf2adcirc tests pass.

v51.21.20 – 02/19/2014 – jgf

Added spatial grid collection for visualizing levee boundaries.

v51.21.19 – 02/17/2014 – jgf

Refactored adcmesh.f90 code so that memory allocation for mesh data and boundaries is performed using a single set of subroutines, regardless of the file format of the mesh data (ascii, xdmf or other).

v51.21.18 – 02/16/2014 – jgf

The xdmf2adcirc utility now successfully reads the attributes of internal barrier boundaries and internal
barrier boundaries with cross barrier pipes correctly.

v51.21.17 – 02/14/2014 – jgf

The xdmf2adcirc utility now writes the mesh C and boundaries to the ascii adcirc fort.14 file correctly.

v51.21.16 – 02/12/2014 – jgf

Fixed data types for writing boundary data to XDMF; added code for reading mesh and boundaries from XDMF for use in xdmf2adcirc utility as well as reading data into ADCIRC and adcprep.

v51.21.15 – 02/07/2014 – jgf

Additional progress on xdmf2adcirc utility; added makefile for utility compilation.

v51.21.14 – 02/06/2014 – jgf

Added control.f90 for reading and writing control file (fort.15) as metadata (or for any other purpose); added code for reading and writing nodal attribute data to/from xdmf; added beginnings of code to read XDMF data for xdmf2adcirc.f90 utility.

v51.21.13 – 01/27/2014 – jgf

Tested and subsequently slightly rearranged memory allocation and the initialization of the node table, element table, and boundaries for self consistency; verified that the refactored code runs properly and gives the right answers in serial.

v51.21.12 – 01/24/2014 – jgf

Propagated the changes in the mesh and boundary modules throughout the code; checked to make sure that the code compiles and links successfully.

v51.21.11 – 01/23/2014 – jgf

Refactored all remaining mesh related and boundary related data and subroutines from the global module into the new mesh and boundary modules; wrote a new subroutine for readin ascii fort.14 file sans initialization; created stub subroutine for reading mesh file in XDMF format; added support for specifying the name and file format of and ADCIRC mesh file through command line options; moved mesh-related and boundary related initialization to separate subroutine that can be used regardless of the original file format of the mesh data. This refactoring paves the way for expansion and diversification in the way ADCIRC reads mesh data, e.g., it is now much easier to support the reading of mesh files in NetCDF format, or the reading of files originally developed for use with other unstructured coastal ocean models.

v51.21.10 – 01/03/2014 – jgf

Refactored the arrays nneigh, neitab, neitabele, mju, nodele, areas, totalarea, nodes_lg, and imap_el_lg out of the global module and into the new mesh module along with the variables slam0 and sfea0 and the subroutines allocmain1b, neighb, and invcp; created a new subroutine totalAreaCalc() to encapsulate the calculation of total area around each node from code previously located in adcirc_init(); added code for new boundaries module.

v51.21.09 – 01/02/2014 – jgf

Refactored the variables ne, np, ne_g, np_g, nm, x, y, slam, sfea, dp, and ics as well as the associated memory allocation and the cpp subroutine into the new mesh module.

v51.21.08 – 12/26/2013 – jgf

Added new mesh module, currently placed in global.F source file, for holding data and subroutines related to ADCIRC mesh.

v51.21.07 – 12/22/2013 – jgf

Finished testing code to write control metadata to XDMF xml file.

v51.21.06 – 12/21/2013 – jgf

Finished code for writing fort.15 control metadata to XDMF xml file.

v51.21.05 – 12/19/2013 – jgf

Finished testing and fixing code for reading ascii fort.15 for use in construction of metadata.

v51.21.04 – 12/18/2013 – jgf

Finished code for reading ascii fort.15 for use in xml metadata; added code for writing ascii fort.15 for use in troubleshooting as well as conversion from xdmf to adcirc ascii format.

v51.21.03 – 12/13/2013 – jgf

Added variables and initial code to read fort.15 file for use in creating metadata for xml file.

v51.21.02 – 12/13/2013 – jgf

Added grid collection to hold a time C of output data; refactored the storage of boundaries to its own subroutine; added code to save variable-specific metadata to xml files.

v51.21.01 – 12/11/2013 – jgf

Added adcirc2xdmf.f90 code to util subdir.

v51.33.14 – 12/12/2014 – jgf

Fixed duplicate execution tracing calls.

v51.33.13 – 12/09/2014 – jgf

Merged trunk changes r1032:1050; fixed some issues related to the move of output type identifiers like OFF, ASCII, BINARY, etc from global.F to sizes.F.

v51.33.12 – 11/18/2014 – jgf

Added comma to hstime.F to fix syntax when not compiling with NETCDF support.

v51.33.11 – 11/12/2014

Decided to adjust compiler flags for debugging to remove trapping on underflow floating point exceptions, since default compiler behavior is likely to handle such exceptions correctly (flush to zero) during production.

v51.33.10 – 11/07/2014 – jgf

Corrected stray subroutine call from adcirc_terminate() to terminate().

v51.33.09 – 11/07/2014 – jgf

Added option to compile with debugging to cmplrflags.mk for intel-lonestar; also added SWAN=enable option on the make command line for same (instead of hardcoding -DADCSWAN into the DPRE flags); added dependency of wind module on mesh module into makefile; fixed misplaced END SELECT in couple2swan that was erroneously inside #ifdef causing compilation issue if compiled without netcdf support; fixes to enable compilation with debugging using intel11 compilers on lonestar at TACC.

v51.33.08 – 11/06/2014 – jgf

Fixes to enable compilation in debug mode with ftn compilers on garnet at ERDC.

v51.33.07 – 11/06/2014 – jgf

Fixes to enable compilation with ftn compilers on garnet at ERDC; added execution tracing to write_output module.

v51.33.06 – 10/31/2014 – jgf

Fixes to enable compilation with intel14 compilers on hatteras at RENCI.

v51.33.05 – 10/30/2014 – jgf

Fixed issue with adcprep: mesh coordinates were not suitably initialized, causing floating point exception problems in the setup_kdt_search subroutine; eliminated redundant specification of deg2rad, rad2deg, and Rearth parameters as well as CPP projection sub between adcprep and adcirc, including CPP projection of station coordinates; removed INVCPP subroutine from adcprep since it was not called from anywhere.

v51.33.04 – 10/26/2014 – jgf

Updated this file by adding entries for each commit that has been made on this branch; merged trunk changes that occurred from r1014 through r1031; minor fixes to USE statements in aswip.F to allow the aswip executable to compile; tested and confirmed that all executables compile successfully.

v51.33.03 – 08/25/2014 – gjie

Fixed arrays.

v51.33.02 – 08/01/2014 – gjie

Added geofactor to control the geostrophic balance.

v51.33.01 – 07/21/2014 – gjie

Added GAHM vortex wind model with NWS=20.

v51.33 – 07/16/2014 – tcm

Updated compiler flags for diamond, to replace no longer supported options -xT with -xSSSE3. While diamond has been removed from service, another SGI Spirit is still in service.

v51.32 – 07/16/2014 – tcm

Added a feature that will kill all MPI processes when an elevation greater than error elevation is encountered during a coupled ADCIRC+STWAVE simulation, NRS=4. This is needed to stop all MPI processes, not just the ones that ADCIRC owns.

v51.31 – 07/07/2014 – tcm

Fixed a bug in prepping fort.141 files that was caused by only adding 105 to the processor number to create a unit number, since 141 would be used for both a local unit number and a global unit number. Now addes 505 to the processor number, so that local PE####/fort.141 will have unit numbers from 505 to 760.

v51.30 – 07/02/2014 – tcm

Removed the conditional pre-processor flags related to max/min file generation (-DNELMAX -DNUVMAX -DNPRMAX -DNWVMAX -DNRSMAX). Added initialization of max/min variables to handle an issue with a compiler that didn’t initalize them to zero.

v51.29 – 06/30/2014 – jgf

Updated compiler flags for lonestar machine at TACC.

v51.28 – 05/12/2014 – jcd

Merging swan4101 branch into trunk.

v51.27.02 – 05/11/2014 – jcd

Removing our old hack to limit infinite sweeping on some meshes. SWAN no longer needs it.

v51.27.01 – 05/07/2014 – jcd

Added the latest SWAN release version 41.01 to the ADCIRC code. Initial testing confirms it gives identical results to the previous version.

v51.27 – 05/02/2014 – tcm

FUNCTIONALITY CHANGE ALERT
Removed the use of fort.88 files for initializing river elevations at the time of cold start. Initial river elevations are now specified as a nodal attribute in the fort.13 file with the attribute name of initial_river_elevation. In addition to removing the fort.88 file from the adcirc and adcprep stages, how initial river elevations values are set has also changed. Previously if initial river elevation values and GeoidOffSet values were both used, then the larger of the two values was used provided initial river elevations were greater than zero. This has now changed so that initial river elevations and GeoidOffSet values are now added together (provided initial river elevations are greater than zero, otherwise only the GeoidOffSet value is used.).

v51.26 – 03/18/2014 – tcm

Added NHSTAR=-1 option which generates individual binary hot-start files named fort.68_######### where ######### is the time step iteration pre-padded with 0. Also, corrected some bugs in the hot start writer through hs-writers related to fort.16 and screen output information.

v51.25 – 03/14/2014 – tcm

Merging the v51.20.01-07 changes into the trunk.

v51.20.07 – 03/07/2014 – tcm –

Adding trunk updates to this branch prior to reintegration.

v51.20.06 – 03/07/2014 – tcm

Finished additions for max/min records where the time the max/min occurs is also recorded. The max/min files now have two “time records” instead of one. The first “time record” records the actual max/min value and the second “time record” records the time in seconds when the max/min occurred. The NetCDF files for the max/min for ADCIRC information has also been updated and includes a new set of variables that prefix to the original names with time_of_oldvariable name. NetCDF files are still not used to initialize the max/min values at hotstart which was a capability to start with. However, if the ascii max/min files are present then the max/min values and their associated times will be initialized from the file. If a legacy max/min file is encountered without the times data, then the times associated with the max/min is set to -99999.d0 to flag unknown.

v51.20.05 – 02/28/2014 – tcm

Finished adding the use of external files for specifying recording stations locations. Also added some debugging checks for reading fort.18 files during parallel execution.

v51.20.04 – 02/28/2014 – tcm

Adding the use of external files for specifying recording stations into the ADCIRC/PADCIRC codes.

v51.20.03 – 02/27/2014 – tcm

Adding the use of external files for specifying recording station (elev, vel, conc, met) locations Updated the adcprep routines at this time. Triggered by a negative value for (NSTAE,NSTAV,NSTAC, or NSTAM) in the fort.15 file. External station files are named: elev_stat.151, vel_stat.151, conc_stat.151, met_stat.151. The first line of this file contains the number of stations the remaining lines of the file are the same format as the stations are listed in the fort.15 now. Not that the actual value of the NSTAE etc in the fort.15 is reset if the value in the external file is different.

v51.20.02 – 01/24/2014 – tcm

Continued adding capability to track the time step number that a max/min value occurs at. Updated how max/min files are read at hstart so that now every proc has the max/min value at hot start time. Write the values and the time stamp in the max/min files now. Still not finished.

v51.20.01 – 11/19/2013 – tcm

Begin adding capability to track the time step number that a max/min value occurs at.

v51.24 – 01/31/2014 – tcm

Fixed bug in processing fort.88 file in prep.F by using a maximum of 256 subdomains open at a time.

v51.23 – 12/16/2013 – jgf

Moved CPP subroutine from adcirc module to global module, making it available to the get_gfdl subroutine thereby fixing an issue with compilation of aswip.

v51.22 – 12/16/2013 – jgf

Added compiler flags for compiling padcswan on garnet at ERDC.

v51.21 – 12/04/2013 – jgf

Fixed incorrect station coordinates in all station netcdf files, 2D and 3D, serial and parallel, where Cartesian coordinates were erroneously being written to station netcdf files, coordinates are now correctly written in degrees latitude and longitude.

v51.20 – 11/19/2013 – tcm

Merging changes from the trunk into this branch ahead of re-integration.

v51.06.10 – 08/01/2013 – tcm

Added insertion of blank wind/pressure snaps when wind files start after the beginning of the simulation or not enough wind files to complete the simulation for NWS=16 GFDL wind file formats.

v51.06.09 – 05/09/2013 – tcm

Corrected bug in hstart.F where fort.75 files were errornously being opened.

v51.06.08 – 05/08/2013 – tcm

Added setMessageSource and unsetMessageSource to writer.F and wind.F for GFDL.

v51.06.07 – 05/08/2013 – tcm

Changed GFDL ASCII for read, this format is still in flux.

v51.06.06 – 04/01/2013 – tcm

Fixed a bug in GFDL interpolation.

v51.06.05 – 04/01/2013 – tcm

Updated GFDL interpolation to perform a check to make sure points aren’t too far away from the grid. If GFDL_max_extrap_dist = -99999.d0 in the fort.22 file, then an estimated maximum distance is computed to be 6*grid cell spacing in the GFDL grid.

v51.06.04 – 02/25/2013 – tcm

Added pressure conversion from mb to MH20 for nws = 16, GFDL wind/pressure

v51.06.03 – 02/21/2013 – tcm

Fixed bugs in nws=16 option.

v51.06.02 – 02/20/2013 – tcm

Added nws=+-16 (GFDL Met Data)

v51.06.01 – 02/08/2013 – tcm

Added a subroutine for reading and interpolating GFDL winds/pressures onto ADCIRC nodes.

v51.19 – 11/12/2013 – pck

Update CF-UGRID Compliance to v.0.9.0. Also decreased lower limit from 0.03 to 0.02 for Manning’s n seen by SWAN (per Hope et al. 2013 validation of Hurricane Ike).

v51.18 – 11/11/2013 – jgf

Fixed f90 compilation rule and arguments to switch.pl (replacing -unix -f95 with swch) for compiling adcswan and padcswan targets.

v51.17 – 11/01/2013 – tcm

Corrected a bug in adcprep for nws=2 where wtiminc was not being correctly read from the fort.15 file.

v51.16 – 10/11/2013 – tcm

Enlarged the integer format width for node numbers being written on the run status updates in timestep.F that report maximum elevation and maximum velocity for the grid for that time step. Width increased from I7 to I8.

v51.15 – 09/10/2013 – jgf, tcm, jcd

Fixed an issue caused by boundaries that are only two nodes long, causing a floating point exception in read_input.F when dividing by the distance between nodes (division by zero).

v51.14 – 07/25/2013 – jgf

Corrected a bug in NWS8 (symmetric holland) where the background pressure was being erroneously applied in mb whereas NWS8 requires Pa; fixed met-only mode by forcing a recalculation of starting and ending timesteps for output whenever the ADCIRC timestep has changed after a hotstart; fixed bug that was causing NWS8 to run out of met data one met time step too early.

v51.13 – 05/30/2013 – jgf

Updated compiler flags for compiling with netcdf support on Diamond at ERDC.

v51.12 – 05/14/2013 – jgf

Corrected 3D netcdf hotstart issue in parallel where typos in netcdfio.F were causing density3D to be read erroneously in place of velocity3D and turbulence3D data.

v51.11 – 05/09/2013 – tcm

Corrected bug in hstart.F where fort.75 files were erroneously being opened.

v51.10 – 05/06/2013 – jgf

Moved the logical variable writerReadMetaData from global.F to netcdfio.F to avoid compilation issue on IBM Power7 (AIX 6.1).

v51.09 – 05/06/2013 – jgf –

Updated developers documentation to include instructions for building ADCIRC (no code changes).

v51.09 – 04/22/2013 – tcm

Added message to fort.16 file on the number of hotstart writers. Also, fixed bug were “-H” on the command line first showed up as an invalid option during the first parsing of the command line.

v51.08 – 03/05/2013 – jcd

Small change to the SWAN Makefile to include the kdtree2 module, in case it is needed by some compilers.

v51.07 – 02/25/2013 – zc

Correcting loading of ESL on hot start in serial. Corrected SwanMain to have one call to SWMAN commented out (using NADC) if compiling with ADCIRC so subroutine call not detected as missing arguments by some compilers. Without ADCIRC, this is left uncommented.

v51.06 – 02/06/2013 – zc

Ensuring that SWAN is sent blended winds for NWS=+/-29. Previously it only saw vortex generated winds.

v51.05 – 02/03/2013 – zc

Corrected variable FoundEye not being set in NWS15GET, so wind drag always defaulted to Garratt formulation.

v51.04 – 01/16/2013 – jgf

Fixed issue found by JieGao in initialization of quadrant angles that affected Vr calculations and caused differences between calculated quadrant wind speeds and isotach values from the track file.

v51.03 – 01/10/2013 – zc

Correcting bug that would cause error if elemental_slope_limiter was not last attribute in fort.13. Added check for FoundEleSlopeLim and LoadEleSlopeLim as well.

v51.02 – 10/23/2012 – zc

Reversing change from 9/28/2012. This is actually a leftover debugging statement in NetCDF and is corrected in versions > 4.2. Also, this seemed to cause segfaults under some compilers

v51.01 – 10/19/2012 – jcd

Added a WaveWindMultiplier to allow the user to adjust the wind speeds before they are passed to the wave model. The conversion factor has a default value of 1.0, but it can be adjusted in the fort.15 file with a command like: &waveCoupling WaveWindMultiplier=1.09 /

v51.00 – 10/19/2012 – jgf

Extended the code for a hotstarting a run with a time step size that is different from the time step size in the hot start file to all run types (not just 3D baroclinic); also cleaned up some stray debug statements.