Gitiles
Code Review
Sign In
gerrit.avm99963.com
/
edu
/
college-misc
/
61897898c5b660cdec6e1d3a06804f88fede4a89
/
.
/
quad10
/
fenomens
/
lab
/
p4
/
magne.f90
blob: be56bc99e631182fbf59f8ba83514f87bf17bfe2 [
file
] [
log
] [
blame
]
real
*
8
function
MAGNE
(
S
,
L
)
implicit
none
integer
*
4
,
intent
(
in
)
::
L
integer
*
2
,
intent
(
out
)
::
S
(
1
:
64
,
1
:
64
)
integer
*
4
::
i
,
j
real
*
8
::
mag
mag
=
0d0
do
i
=
1
,
L
do
j
=
1
,
L
mag
=
mag
+
S
(
i
,
j
)
enddo
enddo
magne
=
mag
return
end
function
MAGNE