/[MITgcm]/MITgcm_contrib/tides/test_tide_bc.m
ViewVC logotype

Contents of /MITgcm_contrib/tides/test_tide_bc.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Mon Mar 25 21:54:41 2013 UTC (11 years, 1 month ago) by dimitri
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -2 lines
small changes to comments

1 % Test the usage of create_tide_bc_4bdry.m
2 %
3 % XC WANG 03Feb2013
4
5
6 % User need to replace the CAT directory here
7 %addpath /data17/home/xiao/CAT/Tool/TMD2.03
8 %
9 addpath /data1/cube/ecco2_tools/CATS/Tool/TMD2.03
10 %
11 % addpath /data17/home/xiao/Mat_Tools/MITgcm_Tool
12
13 % Time for nodal correction
14 time_nodal = datenum(1979, 1, 1,0, 0,0) ;
15
16 nx=640;
17 ny=640;
18 %cbdry_used={'s','n', 'w'} ;
19 tide_num = [1 2 3 4 5 6 7 8] ;
20
21 cbdry_used={'s'} ;
22 %tide_num = [1] ;
23
24 %timec = create_tide_bc_4bdry(nx, ny, cbdry_used,tide_num,time_nodal) ;
25 create_tide_bc_second(nx, ny, cbdry_used,tide_num,time_nodal) ;
26
27 % Create a dummy boundary condition file for east boundary
28 %cbdry_empty={'e'} ;
29 %tide_bc_empty(nx, ny, cbdry_empty,tide_num);

  ViewVC Help
Powered by ViewVC 1.1.22