COSMOS v7.655  COSMOSv7655
(AirShowerMC)
cvecProd.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine cvecprod (a, b, c)
 

Function/Subroutine Documentation

◆ cvecprod()

subroutine cvecprod ( type(coord a,
type(coord b,
type(coord c 
)

Definition at line 4 of file cvecProd.f.

Referenced by __det2exyz.f__(), __det2prim.f__(), __det2prim2.f__(), __xyz2det.f__(), cgetbsin(), cinitobs(), cmagneticdef(), and cprimxyz().

4 !---- include 'Zcoord.h'
5 #include "Zcoord.h"
6  type(coord)::a
7  type(coord)::b
8  type(coord)::c
9 ! c <- a x b
10  c%r(1) = a%r(2) * b%r(3) - a%r(3) * b%r(2)
11  c%r(2) = a%r(3) * b%r(1) - a%r(1) * b%r(3)
12  c%r(3) = a%r(1) * b%r(2) - a%r(2) * b%r(1)
real(4), save a
Definition: cNRLAtmos.f:20
real(4), save b
Definition: cNRLAtmos.f:21
Definition: Zcoord.h:43
dE dx *! Nuc Int sampling table c
Definition: cblkMuInt.h:130
Here is the caller graph for this function: