|
Last change
on this file was
1299,
checked in by Laurent Fairhead, 16 years ago
|
|
Nettoyage general pour se rapprocher des normes et éviter des erreurs a la
compilation:
- tous les FLOAT() sont remplacés par des REAL()
- tous les STOP dans phylmd sont remplacés par des appels à abort_gcm
- le common control défini dans le fichier control.h est remplacé par
le module control_mod pour éviter des messages sur l'alignement des
variables dans les déclarations
- des $Header$ remplacés par des $Id$ pour svn
Quelques remplacements à faire ont pu m'échapper
General cleanup of the code to try and adhere to norms and to prevent some
compilation errors:
- all FLOAT() instructions have been replaced by REAL() instructions
- all STOP instructions in phylmd have been replaced by calls to abort_gcm
- the common block control defined in the control.h file has been replaced
by the control_mod to prevent compilation warnings on the alignement of
declared variables
- $Header$ replaced by $Id$ for svn
Some changes which should have been made might have escaped me
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | ! |
|---|
| 2 | ! $Id: iniconst.F 1299 2010-01-20 14:27:21Z aclsce $ |
|---|
| 3 | ! |
|---|
| 4 | SUBROUTINE iniconst |
|---|
| 5 | |
|---|
| 6 | USE control_mod |
|---|
| 7 | |
|---|
| 8 | IMPLICIT NONE |
|---|
| 9 | c |
|---|
| 10 | c P. Le Van |
|---|
| 11 | c |
|---|
| 12 | c----------------------------------------------------------------------- |
|---|
| 13 | c Declarations: |
|---|
| 14 | c ------------- |
|---|
| 15 | c |
|---|
| 16 | #include "dimensions.h" |
|---|
| 17 | #include "paramet.h" |
|---|
| 18 | #include "comconst.h" |
|---|
| 19 | #include "temps.h" |
|---|
| 20 | #include "comvert.h" |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | c |
|---|
| 24 | c |
|---|
| 25 | c |
|---|
| 26 | c----------------------------------------------------------------------- |
|---|
| 27 | c dimension des boucles: |
|---|
| 28 | c ---------------------- |
|---|
| 29 | |
|---|
| 30 | im = iim |
|---|
| 31 | jm = jjm |
|---|
| 32 | lllm = llm |
|---|
| 33 | imp1 = iim |
|---|
| 34 | jmp1 = jjm + 1 |
|---|
| 35 | lllmm1 = llm - 1 |
|---|
| 36 | lllmp1 = llm + 1 |
|---|
| 37 | |
|---|
| 38 | c----------------------------------------------------------------------- |
|---|
| 39 | |
|---|
| 40 | dtdiss = idissip * dtvr |
|---|
| 41 | dtphys = iphysiq * dtvr |
|---|
| 42 | unsim = 1./iim |
|---|
| 43 | pi = 2.*ASIN( 1. ) |
|---|
| 44 | |
|---|
| 45 | c----------------------------------------------------------------------- |
|---|
| 46 | c |
|---|
| 47 | |
|---|
| 48 | r = cpp * kappa |
|---|
| 49 | |
|---|
| 50 | PRINT*,' R CP Kappa ', r , cpp, kappa |
|---|
| 51 | c |
|---|
| 52 | c----------------------------------------------------------------------- |
|---|
| 53 | |
|---|
| 54 | CALL disvert(pa,preff,ap,bp,dpres,presnivs,nivsigs,nivsig) |
|---|
| 55 | c |
|---|
| 56 | c |
|---|
| 57 | RETURN |
|---|
| 58 | END |
|---|
Note: See
TracBrowser
for help on using the repository browser.