WAVEWATCH III  beta 0.0.1
w3triamd.F90 File Reference

Reads triangle and unstructured grid information. More...

Go to the source code of this file.

Modules

module  w3triamd
 Reads triangle and unstructured grid information.
 

Functions/Subroutines

subroutine w3triamd::readmsh (NDS, FNAME)
 Reads triangle and unstructured grid information from GMSH files. More...
 
subroutine w3triamd::readmsh_iobp (NDS, FNAME)
 Reads triangle and unstructured grid information from GMSH files. More...
 
subroutine w3triamd::get_boundary_status (STATUS)
 Boundary status (code duplication). More...
 
subroutine w3triamd::readmshobc (NDS, FNAME, TMPSTA, UGOBCOK)
 Reads open boundary information for UNST grids following GMESH type format. More...
 
subroutine w3triamd::ug_getopenboundary (TMPSTA, ZBIN, ZLIM)
 Defines open boundary points based on depth. More...
 
subroutine w3triamd::spatial_grid
 Calculates triangle areas and reorders the triangles to have them oriented counterclockwise. More...
 
subroutine w3triamd::nvectri
 Calculate cell tools: inward normal, angles and length of edges. More...
 
subroutine w3triamd::count (TRIGPTEMP)
 Calculate global and maximum number of connection for array allocations. More...
 
subroutine w3triamd::coordmax
 Calculate first point and last point coordinates, and minimum and maximum edge length. More...
 
subroutine w3triamd::area_si (IMOD)
 Define optimized connection arrays (points and triangles) for spatial propagation schemes. More...
 
subroutine w3triamd::is_in_ungrid (IMOD, XTIN, YTIN, ITOUT, IS, JS, RW)
 Determine whether a point is inside or outside an unstructured grid, and returns index of triangle and interpolation weights. More...
 
subroutine w3triamd::is_in_ungrid2 (IMOD, XTIN, YTIN, FORCE, ITOUT, IS, JS, RW)
 Determine whether a point is inside or outside an unstructured grid, and returns index of triangle and interpolation weights. More...
 
subroutine w3triamd::ug_gradients (PARAM, DIFFX, DIFFY)
 Calculate gradients at a point via its connection. More...
 
subroutine w3triamd::w3nestug (DISTMIN, FLOK)
 UGTYPE nesting initialization. More...
 
subroutine w3triamd::set_iobp (MASK, STATUS)
 Setup boundary pointer. More...
 
subroutine w3triamd::get_boundary (MNP, MNE, TRIGP, IOBP, NEIGHBOR_PREV, NEIGHBOR_NEXT)
 Find boundary points. More...
 
subroutine w3triamd::triang_indexes (I, INEXT, IPREV)
 Set indices of the triangle. More...
 
subroutine w3triamd::set_ug_iobp ()
 Redefines the values of the boundary points and angle pointers based on the MAPSTA array. More...
 
subroutine w3triamd::fix_periodcity (I1, I2, I3, XGRD, YGRD, PT)
 Adjust element longitude coordinates for elements straddling the dateline with distance of ~360 degrees. More...
 

Variables

integer, save w3triamd::n_outside_boundary
 
integer, dimension(:), allocatable, save w3triamd::outside_boundary
 

Detailed Description

Reads triangle and unstructured grid information.

Author
F. Ardhuin
A. Roland
Date
26-Jan-2014

Definition in file w3triamd.F90.