Last change
on this file since 5444 was
2,
checked in by lmdz, 25 years ago
|
Initial revision
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.2 KB
|
Line | |
---|
1 | SUBROUTINE gr_v_scal(nx,x_v,x_scal) |
---|
2 | c%W% %G% |
---|
3 | c======================================================================= |
---|
4 | c |
---|
5 | c Author: Frederic Hourdin original: 11/11/92 |
---|
6 | c ------- |
---|
7 | c |
---|
8 | c Subject: |
---|
9 | c ------ |
---|
10 | c |
---|
11 | c Method: |
---|
12 | c -------- |
---|
13 | c |
---|
14 | c Interface: |
---|
15 | c ---------- |
---|
16 | c |
---|
17 | c Input: |
---|
18 | c ------ |
---|
19 | c |
---|
20 | c Output: |
---|
21 | c ------- |
---|
22 | c |
---|
23 | c======================================================================= |
---|
24 | IMPLICIT NONE |
---|
25 | c----------------------------------------------------------------------- |
---|
26 | c Declararations: |
---|
27 | c --------------- |
---|
28 | |
---|
29 | #include "dimensions.h" |
---|
30 | #include "paramet.h" |
---|
31 | #include "comgeom.h" |
---|
32 | |
---|
33 | c Arguments: |
---|
34 | c ---------- |
---|
35 | |
---|
36 | INTEGER nx |
---|
37 | REAL x_v(ip1jm,nx),x_scal(ip1jmp1,nx) |
---|
38 | |
---|
39 | c Local: |
---|
40 | c ------ |
---|
41 | |
---|
42 | INTEGER l,ij |
---|
43 | |
---|
44 | c----------------------------------------------------------------------- |
---|
45 | |
---|
46 | DO l=1,nx |
---|
47 | DO ij=iip2,ip1jm |
---|
48 | x_scal(ij,l)= |
---|
49 | s (airev(ij-iip1)*x_v(ij-iip1,l)+airev(ij)*x_v(ij,l)) |
---|
50 | s /(airev(ij-iip1)+airev(ij)) |
---|
51 | ENDDO |
---|
52 | DO ij=1,iip1 |
---|
53 | x_scal(ij,l)=0. |
---|
54 | ENDDO |
---|
55 | DO ij=ip1jm+1,ip1jmp1 |
---|
56 | x_scal(ij,l)=0. |
---|
57 | ENDDO |
---|
58 | ENDDO |
---|
59 | |
---|
60 | RETURN |
---|
61 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.