/[PAMELA software]/gpamela/gptrd/xtrinteg.F
ViewVC logotype

Annotation of /gpamela/gptrd/xtrinteg.F

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3.1.1.1 - (hide annotations) (download) (vendor branch)
Thu Jul 11 16:02:01 2002 UTC (22 years, 4 months ago) by cafagna
Branch: v3r0, MAIN
CVS Tags: v4r4, v4r5, v4r6, v4r7, v4r0, v4r1, v4r2, v4r3, v4r8, v4r9, firstrelease, v4r14, v4r12, v4r13, v4r10, v4r11, v3r3, v3r1, v3r2, HEAD
Changes since 3.1: +0 -0 lines
First GPAMELA release on CVS

1 cafagna 3.1 *
2     * $Id$
3     *
4     * $Log$
5     *
6     *CMZ : 3.00/00 28/01/2002 20.40.04 by Unknown
7     *-- Author : Marialuigia Ambriola 05/04/2001
8     REAL FUNCTION XTRINTEG(X,Y,SS,N)
9     *********************************************
10     * Integrates the spectrum absorbed in Xe-CO2
11     * called by GPUSTEP
12     *********************************************
13     INTEGER N,I
14     REAL X(N),Y(N),SS(N),S
15     C
16     S=0.
17     SS(1)=0.
18     XTRINTEG=0.
19     DO I=2,N
20     S=S+(X(I)-X(I-1))*(Y(I)+Y(I-1))/2.
21     SS(I)=S
22     ENDDO
23     XTRINTEG=S
24     c PRINT*,'XTRINTEG=',XTRINTEG
25     RETURN
26     END

  ViewVC Help
Powered by ViewVC 1.1.23