New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 8862 for branches/2015/nemo_v3_6_STABLE/NEMOGCM/TOOLS/SIREN/src/create_boundary.F90 – NEMO

Ignore:
Timestamp:
2017-11-30T16:58:49+01:00 (6 years ago)
Author:
jpaul
Message:

Bugs fix: see tickets #1989

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/nemo_v3_6_STABLE/NEMOGCM/TOOLS/SIREN/src/create_boundary.F90

    r6392 r8862  
    2626!>  <br/>  
    2727!> \image html  boundary_NEATL36_70.png  
    28 !> \image latex boundary_NEATL36_70.png 
     28!> <center>\image latex boundary_NEATL36_70.png 
     29!> </center> 
    2930!> 
    3031!> @note  
     
    5152!>       - cn_varcfg : variable configuration file 
    5253!> (see ./SIREN/cfg/variable.cfg) 
     54!>       - cn_dimcfg : dimension configuration file. define dimensions allowed 
     55!> (see ./SIREN/cfg/dimension.cfg). 
    5356!>       - cn_dumcfg : useless (dummy) configuration file, for useless  
    5457!> dimension or variable (see ./SIREN/cfg/dummy.cfg). 
     
    161164!>             - cn_north='index1(width),first1:last1|index2,first2:last2' 
    162165!>             \image html  boundary_50.png  
    163 !>             \image latex boundary_50.png 
     166!>             <center>\image latex boundary_50.png 
     167!>             </center> 
    164168!>       - cn_south  : south boundary indices on fine grid 
    165169!>       - cn_east   : east  boundary indices on fine grid 
     
    198202!> @date January, 2016 
    199203!> - same process use for variable extracted or interpolated from input file. 
     204!> @date October, 2016 
     205!> - dimension to be used select from configuration file 
     206!> 
     207!> @todo 
     208!> - rewitre using meshmask instead of bathymetry and coordinates files. 
    200209!> 
    201210!> @note Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
     
    383392 
    384393   ! namcfg 
    385    CHARACTER(LEN=lc)                       :: cn_varcfg = 'variable.cfg'  
    386    CHARACTER(LEN=lc)                       :: cn_dumcfg = 'dummy.cfg' 
     394   CHARACTER(LEN=lc)                       :: cn_varcfg = './cfg/variable.cfg'  
     395   CHARACTER(LEN=lc)                       :: cn_dimcfg = './cfg/dimension.cfg' 
     396   CHARACTER(LEN=lc)                       :: cn_dumcfg = './cfg/dummy.cfg' 
    387397 
    388398   ! namcrs 
     
    445455   NAMELIST /namcfg/ &  !< config namelist 
    446456   &  cn_varcfg, &       !< variable configuration file 
     457   &  cn_dimcfg, &       !< dimension configuration file 
    447458   &  cn_dumcfg          !< dummy configuration file 
    448459 
     
    527538      CALL var_def_extra(TRIM(cn_varcfg)) 
    528539 
     540      ! get dimension allowed 
     541      CALL dim_def_extra(TRIM(cn_dimcfg)) 
     542 
    529543      ! get dummy variable 
    530544      CALL var_get_dummy(TRIM(cn_dumcfg)) 
     
    761775                  ENDIF 
    762776               ENDDO 
    763                 
     777 
    764778               ! clean 
    765779               CALL var_clean(tl_var1) 
     
    879893                        CALL dom_del_extra( tl_segvar1(jvar+jj,jk,jl), & 
    880894                        &                   tl_dom1 ) 
     895 
    881896                        ! clean extra point information on coarse grid domain 
    882897                        CALL dom_clean_extra( tl_dom0 ) 
     
    11511166   CALL mpp_clean(tl_coord1) 
    11521167   CALL mpp_clean(tl_coord0) 
     1168   CALL var_clean_extra() 
    11531169 
    11541170   CALL multi_clean(tl_multi) 
     
    13821398      CALL extrap_fill_value( td_var ) 
    13831399 
    1384       ! interpolate Bathymetry 
     1400      ! interpolate variable 
    13851401      CALL interp_fill_value( td_var, id_rho(:), & 
    13861402      &                       id_offset=id_offset(:,:) ) 
Note: See TracChangeset for help on using the changeset viewer.