source: trunk/LMDZ.PLUTO.old/libf/bibio/mxva.F @ 3580

Last change on this file since 3580 was 3175, checked in by emillour, 13 months ago

Pluto PCM:
Add the old Pluto LMDZ for reference (required prior step to making
an LMDZ.PLUTO using the same framework as the other physics packages).
TB+EM

File size: 648 bytes
Line 
1      SUBROUTINE MXVA (SA,IAC,IAR,SB,IB,SC,IC,NRA,NCA)
2      IMPLICIT NONE
3
4      INTEGER IAC,IAR,IB,IC,NRA,NCA
5      REAL SA(*), SB(*), SC(*)
6
7      INTEGER I,J
8
9c     initialize product
10      DO 100 I = 1, NRA
11       SC( 1 + (I-1)*IC ) = 0.
12c      ( C(i) := 0. )
13100   CONTINUE
14c     multiply matrix from sa and vector from sb
15      DO 220 J = 1, NCA
16        DO 210 I = 1, NRA
17          SC( 1 + (I-1)*IC )
18     &      = SC( 1 + (I-1)*IC )
19     &        + SA( 1 + (I-1)*IAC + (J-1)*IAR )
20     &          * SB( 1 + (J-1)*IB )
21c         ( C(i) := C(i) + A(i,j)*B(j) )
22210      CONTINUE
23220   CONTINUE
24      RETURN
25      END
Note: See TracBrowser for help on using the repository browser.