/[MITgcm]/MITgcm_contrib/gael/startup.m
ViewVC logotype

Annotation of /MITgcm_contrib/gael/startup.m

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


Revision 1.2 - (hide annotations) (download)
Fri Aug 5 21:44:32 2011 UTC (13 years, 11 months ago) by gforget
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
- remove startup.m
- revised global variables approach (gcmfaces_global.m
  replaces calls to gcmfaces_path and 'global mygrid')

1 gforget 1.1
2     locDir=pwd;%the directory where we start from and will come back to
3     matDir=pwd;%the directory where gcmfaces and MITprof were downloaded
4    
5     test0=dir([matDir '/gcmfaces']);
6     test1=dir([matDir '/MITprof']);
7    
8     if isempty(test0)|isempty(test1); error('startup.m : matDir needs to be the directory where gcmfaces & MITprof are located\n'); end;
9    
10     cd([matDir '/gcmfaces']);
11     global gcmfaces_verbose; gcmfaces_verbose=0;
12     gcmfaces_path;
13    
14     cd([matDir '/MITprof']);
15     global MITprof_verbose; MITprof_verbose=0;
16     MITprof_path;
17    
18     cd(locDir);
19    
20     clear locDir matDir test0 test1;
21    
22    

  ViewVC Help
Powered by ViewVC 1.1.22