Gitiles
Code Review
Sign In
gerrit.avm99963.com
/
edu
/
college-misc
/
5b56f8b29a36f94447e85a2c8d8cdb3f4f15670d
/
.
/
quad10
/
fenomens
/
lab
/
p2
/
magne.f90
blob: 0e7df92330c048bc5a97be409d5d4843ea3075e4 [
file
] [
log
] [
blame
]
real
*
8
function
MAGNE
(
S
,
L
)
implicit
none
integer
*
4
,
intent
(
in
)
::
L
integer
*
2
,
intent
(
out
)
::
S
(
1
:
L
,
1
:
L
)
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