#include "implicit_f.inc"
#include "com04_c.inc"
Go to the source code of this file.
|
| subroutine | c_isurf_str (proc, lenisurf_l, nspmd, igrsurf_proc) |
◆ c_isurf_str()
| subroutine c_isurf_str |
( |
integer, intent(in) | proc, |
|
|
integer, intent(inout) | lenisurf_l, |
|
|
integer, intent(in) | nspmd, |
|
|
type(surf_), dimension(nsurf,nspmd), intent(in) | igrsurf_proc ) |
- Parameters
-
| [in] | proc | processor id |
| [in,out] | lenisurf_l | size of surface buffer written in the restart |
| [in] | nspmd | number of processor |
| [in] | igrsurf_proc | surface structure per proc, size =NSURF*NSPMS |
Definition at line 29 of file c_isurf_str.F.
30
31
32
34
35
36
37#include "implicit_f.inc"
38
39
40
41#include "com04_c.inc"
42
43
44
45 INTEGER, INTENT(IN) :: PROC
46 INTEGER, INTENT(INOUT) :: LENISURF_L
47 INTEGER, INTENT(IN) :: NSPMD
48 TYPE(SURF_), DIMENSION(NSURF,NSPMD), INTENT(IN) :: IGRSURF_PROC
49
50
51
52 INTEGER :: ISU
53 INTEGER :: L_SURF
54
55 l_surf = 0
56
57 DO isu=1,nsurf
58
59
60
61
62 l_surf = l_surf+1
63
64 l_surf = l_surf+1
65
66 l_surf = l_surf+1
67
68 l_surf = l_surf+1
69
70 l_surf = l_surf+1
71
72 l_surf = l_surf+1
73
74 l_surf = l_surf+1
75
76 l_surf = l_surf+1
77
78 l_surf = l_surf+1
79
80 l_surf = l_surf+1
81
82 l_surf = l_surf+1
83
84 l_surf = l_surf+1
85
86
87
88 l_surf = 6*igrsurf_proc(isu,proc+1)%NSEG + l_surf
89 ENDDO
90
91 lenisurf_l = l_surf
92
93 RETURN