/[MITgcm]/mitgcm.org/sealion/online_documents/generate_links
ViewVC logotype

Annotation of /mitgcm.org/sealion/online_documents/generate_links

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


Revision 1.10 - (hide annotations) (download)
Wed Apr 24 20:49:32 2002 UTC (23 years, 6 months ago) by gcmpack
Branch: MAIN
Changes since 1.9: +29 -19 lines
Fixed link generatinon for latest (tutorials moved lower) document.

1 adcroft 1.1 #!/bin/sh
2    
3     findnode()
4     {
5 adcroft 1.7 # findnode html_file search_string
6     cd manual
7 gcmpack 1.10 rm $1
8 adcroft 1.1 echo ln -s `egrep "$2" node*.html | sed 's/:.*//'` $1 1>&2
9     ln -sf `egrep "$2" node*.html | sed 's/:.*//'` $1 1>&2
10 gcmpack 1.10 if [ ! -f $1 ]; then
11     echo Search for \"$2\" failed.
12     exit
13     else
14     echo Found \"$2\".
15     fi
16 adcroft 1.7 cd ..
17     createframeset $1
18 adcroft 1.8 echo $1 >> .cvsignore
19 adcroft 1.7 }
20    
21     createframeset()
22     {
23     # createframeset html_file
24     echo sed 's:onlineDocuments.html:manual/'$1':' index.html ">" $1
25     sed 's:onlineDocuments.html:manual/'$1':' index.html > $1
26 adcroft 1.1 }
27 adcroft 1.8
28     echo manual > .cvsignore
29 adcroft 1.1
30     findnode contents.html "^Contents"
31 gcmpack 1.10 findnode overview.html "^1.* Introduction"
32 adcroft 1.1 findnode discrete.html "^2. Discretization and Algorithm"
33 cnh 1.4 findnode horizcurve.html "^2.* Vector invariant"
34     findnode fvol.html "^2.* The finite volume method:"
35 adcroft 1.1 findnode getting.html "^3. Getting started and using the MITgcm"
36 cnh 1.6 findnode examples.html "^3.* Example experiments"
37 adcroft 1.1 findnode sarch.html "^4.1 Overall architectural goals"
38 cnh 1.2 findnode wrapper.html "^4.2 WRAPPER"
39 cnh 1.4 findnode targethw.html "^4.2.* Target hardware"
40     findnode tiles.html "^4.* Tiles<"
41 cnh 1.2 findnode using_wrapper.html "^4.3 Using the WRAPPER"
42 cnh 1.5 findnode multi-threaded.html "^4.* Multi-threaded execution"
43     findnode multi-process.html "^4.* Multi-process execution"
44 gcmpack 1.10 findnode communication.html "^4.* Controlling communication"
45 adcroft 1.1 findnode autodiff.html "^5. Automatic Differentiation"
46     findnode packages.html "^6. Physical Parameterization and Packages"
47 cnh 1.9 findnode diags.html "^7. Diagnostics and tools"
48 adcroft 1.1 findnode ecco.html "^8. Interface with ECCO"
49    
50 gcmpack 1.10 findnode obtaining.html "^3.* Obtaining the code"
51     findnode compiling.html "^3.* Building the code"
52     findnode running.html "^3.* Running the model"
53     findnode looking.html "^3.* Looking at the output"
54     findnode doing.html "^3.* Doing it yourself: customizing the code"
55    
56     findnode eg_barotrop.html "^3.* Barotropic Ocean Gyre"
57     findnode eg_baroclin.html "^3.* Four Layer Baroclinic"
58     findnode eg_hs.html "^3.* Held-Suarez"
59     findnode eg_surf.html "^3.* Surface Driven"
60     findnode global4x4.html "^3.* Global Ocean"
61     findnode plume.html "^3.* Gravity"
62     findnode adexample.html "^5.* Sensitivity of Air-Sea Exchange"
63    
64     findnode illustrations.html "^1.* Illustrations of the model"
65     findnode continuous.html "^1.* Continuous equations"
66     findnode atmos.html "^1.* Global atmosphere:"
67     findnode ocean.html "^1.* Global ocean circulation"
68     findnode nonhydro.html "^1.* Convection and mixing over topography"
69     findnode paramsens.html "^1.* Parameter sensitivity"

  ViewVC Help
Powered by ViewVC 1.1.22