/[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.8 - (hide annotations) (download)
Mon Oct 29 16:46:27 2001 UTC (24 years ago) by adcroft
Branch: MAIN
Changes since 1.7: +3 -0 lines
Added updating of .cvsignore as links are created...

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

  ViewVC Help
Powered by ViewVC 1.1.22