COSMOS v7.655
COSMOSv7655
(AirShowerMC)
cscalerProd.f
Go to the documentation of this file.
1
! get scaler product of two 3d vectors in cartesian coord.
2
!
3
subroutine
cscalerprod
(a, b, c)
4
5
#include "Zcoord.h"
6
type
(
coord
)::a
7
type
(
coord
)::b
8
real*8
c
9
! c = a . b
10
c = 0.
11
do
i
= 1, 3
12
c = c + a%r(
i
) * b%r(
i
)
13
enddo
14
end
15
16
i
nodes i
Definition:
cstdatmos0.fNew2.h:93
coord
Definition:
Zcoord.h:43
cscalerprod
subroutine cscalerprod(a, b, c)
Definition:
cscalerProd.f:4
Tracking
cscalerProd.f
Generated by
1.8.13