Definition at line 29 of file nrutil.F.
◆ array_copy_d()
subroutine nrutil::array_copy::array_copy_d |
( |
real(dp), dimension(:), intent(in) | src, |
|
|
real(dp), dimension(:), intent(out) | dest, |
|
|
integer(i8b), intent(out) | n_copied, |
|
|
integer(i8b), intent(out) | n_not_copied ) |
Definition at line 96 of file nrutil.F.
97
98
99
100
101
102
103
104
105
106
107 real(dp), intent(in) :: src(:)
108 real(dp), intent(out) :: dest(:)
109
110 integer(i8b), intent(out) :: n_copied, n_not_copied
111
112
113
114
115
116 n_copied=min(SIZE(src), SIZE(dest))
117 n_not_copied=size(src)-n_copied
118 dest(1:n_copied)=src(1:n_copied)
119
120 RETURN
◆ array_copy_i()
subroutine nrutil::array_copy::array_copy_i |
( |
integer(i8b), dimension(:), intent(in) | src, |
|
|
integer(i8b), dimension(:), intent(out) | dest, |
|
|
integer(i8b), intent(out) | n_copied, |
|
|
integer(i8b), intent(out) | n_not_copied ) |
Definition at line 123 of file nrutil.F.
124
125
126
127
128
129
130
131
132
133 integer(i8b), intent(in) :: src(:)
134 integer(i8b), intent(out) :: dest(:)
135
136 integer(i8b), intent(out) :: n_copied, n_not_copied
137
138
139
140
141
142 n_copied=min(size(src),size(dest))
143 n_not_copied=size(src)-n_copied
144 dest(1:n_copied)=src(1:n_copied)
145
146 RETURN
◆ array_copy_r()
subroutine nrutil::array_copy::array_copy_r |
( |
real(r4), dimension(:), intent(in) | src, |
|
|
real(r4), dimension(:), intent(out) | dest, |
|
|
integer(i8b), intent(out) | n_copied, |
|
|
integer(i8b), intent(out) | n_not_copied ) |
Definition at line 69 of file nrutil.F.
70
71
72
73
74
75
76
77
78
79
80 real(r4), intent(in) :: src(:)
81 real(r4), intent(out) :: dest(:)
82
83 integer(i8b), intent(out) :: n_copied, n_not_copied
84
85
86
87
88
89 n_copied=min(SIZE(src), SIZE(dest))
90 n_not_copied=SIZE(src)-n_copied
91 dest(1:n_copied)=src(1:n_copied)
92
93 RETURN
The documentation for this interface was generated from the following file: