#include "implicit_f.inc"
Go to the source code of this file.
|
| subroutine | h3d_write_scalar (iok_part, is_written, scalar, nel, offset, nft, value, is_written_value) |
| subroutine | h3d_write_scalar_stack (iok_part, is_written, scalar, nel, offset, nft, value, is_written_value, shell_scalar_stack) |
| subroutine | h3d_write_scalar_real (iok_part, is_written, scalar, i, offset, nft, value) |
◆ h3d_write_scalar()
| subroutine h3d_write_scalar |
( |
integer, dimension(*) | iok_part, |
|
|
integer, dimension(*) | is_written, |
|
|
| scalar, |
|
|
integer | nel, |
|
|
integer | offset, |
|
|
integer | nft, |
|
|
| value, |
|
|
integer, dimension(*) | is_written_value ) |
Definition at line 32 of file h3d_write_scalar.F.
35
36
37
38#include "implicit_f.inc"
39
40
41
43 . scalar(*),value(*)
44 INTEGER IOK_PART(*),IS_WRITTEN(*),IS_WRITTEN_VALUE(*)
45 INTEGER NEL,OFFSET,NFT
46
47
48
49 INTEGER I
50
51
52 DO i=1,nel
53 scalar(offset+nft+i) = value(i)
54 IF(iok_part(i) == 1 .AND. is_written_value(i) == 1) is_written(offset+nft+i)= 1
55 value(i) = zero
56 ENDDO
57
58 RETURN
◆ h3d_write_scalar_real()
| subroutine h3d_write_scalar_real |
( |
integer, dimension(*) | iok_part, |
|
|
integer, dimension(*) | is_written, |
|
|
| scalar, |
|
|
integer | i, |
|
|
integer | offset, |
|
|
integer | nft, |
|
|
real | value ) |
Definition at line 101 of file h3d_write_scalar.F.
104
105
106
107#include "implicit_f.inc"
108
109
110
112 . scalar(*)
113 REAL VALUE
114 INTEGER IOK_PART(*),IS_WRITTEN(*)
115 INTEGER I,OFFSET,NFT
116
117
118
119
120 scalar(offset+nft+i) = dble(VALUE)
121 IF(iok_part(i) == 1 ) is_written(offset+nft+i)= 1
122 VALUE = zero
123
124 RETURN
◆ h3d_write_scalar_stack()
| subroutine h3d_write_scalar_stack |
( |
integer, dimension(*) | iok_part, |
|
|
integer, dimension(*) | is_written, |
|
|
real(kind=4), dimension(*) | scalar, |
|
|
integer | nel, |
|
|
integer | offset, |
|
|
integer | nft, |
|
|
| value, |
|
|
integer, dimension(*) | is_written_value, |
|
|
integer, intent(inout) | shell_scalar_stack ) |
Definition at line 65 of file h3d_write_scalar.F.
68
69
70
71#include "implicit_f.inc"
72
73
74
75 INTEGER,INTENT(INOUT):: SHELL_SCALAR_STACK
76 REAL(KIND=4) :: scalar(*)
78 . value(*)
79 INTEGER IOK_PART(*),IS_WRITTEN(*),IS_WRITTEN_VALUE(*)
80 INTEGER NEL,OFFSET,NFT
81
82
83
84 INTEGER I
85
86
87 DO i=1,nel
88 IF(iok_part(i) == 1 .AND. is_written_value(i) == 1) THEN
89 shell_scalar_stack = shell_scalar_stack + 1
90 scalar(shell_scalar_stack) = value(i)
91 is_written(shell_scalar_stack)= offset+nft+i
92 ENDIF
93 value(i) = zero
94 ENDDO
95
96 RETURN