text
stringlengths
9
3.83M
#include "pcheader.h" c----------------------------------------------------------------------- c hermite.f : worker routines for hermite polynominal c integrator scheme c J.Makino c Ver 0.00 89-03-17 c----------------------------------------------------------------------- c subroutine upddth(ddt, ...
SUBROUTINE QCFT2D (SIGN, LEN1, LEN2, A, LDA, WSAVE) C----------------------------------------------------------------------- C! Pseudo AP routine: complex-to-complex 2D FFT C# AP-FFT C----------------------------------------------------------------------- C; Copyright (C) 1997, 2006 C; Associated Universities, ...
SUBROUTINE AU6D (BRANCH) C----------------------------------------------------------------------- C! verbs to do image statistics in blotch regions: TVSTAT, IMSTAT C# POPS-appl TV-appl Map-appl C----------------------------------------------------------------------- C; Copyright (C) 1995, 1998, 2003, 2005, 2007-...
#include <misc.h> #include <params.h> !!(2003.11.29) !*********************************************************************** ! SUBROUTINE DIFPS0(U,P,DPS,DSIG,OUX,MP1,MP2,MM1,MM2) use pmgrid, only: beglatexdyn,endlatexdyn, plat use mpi_gamil IMPLICIT NONE ! ! This subroutine is to...
CFrom lyang@tazdevil.llnl.gov Mon Sep 23 17:44:01 1991 CReturn-Path: <lyang@tazdevil.llnl.gov> CReceived: from tazdevil.llnl.gov by icose (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0) C id AA06758; Mon, 23 Sep 91 17:43:58 CDT CReceived: by tazdevil.llnl.gov (4.1/1.15) C id AA06980; Mon, 23 Sep 91 15:42:04 PDT CDate: Mon, ...
program ms pi=2.0*asin(1.0) scale=1e-9 xk=1.35e4 boltz=1.381e-23 *300 do 10 i=1,25 r=scale*float(i) f=10e-10 v=r**3 tau=f*exp((xk*v)/boltz) write(*,*)i,tau 10 continue end
C MEMBER UFXDDN C----------------------------------------------------------------------- C C ROUTINE TO FILL IN FTXXF001 WHERE XX IS THE DATA SET REFERENCE C NUMBER PASSED AS AN INTEGER. C SUBROUTINE UFXDDN (DDNAME,NUNIT,ISTAT) C C CHARACTER*1 DIGITS(10)/'1','2','3','4','5','6','7','8','9','0'/ CHAR...
! *****************************COPYRIGHT******************************* ! (C) Crown copyright Met Office. All rights reserved. ! For further details please refer to the file COPYRIGHT.txt ! which you should have received as part of this distribution. ! *****************************COPYRIGHT*****************************...
c c*************************************************************************** c subroutine current_orbit(xjpx, xjpy, xjpz, . nxdim, nydim, nnodex, nnodey, . nkx1, nkx2, nky1, nky2, nkdim1, nkdim2, mkdim1, mkdim2, . xm, q, xn, xkt, omgc, omgp2, lmax, . xkxsav, xkysav, nzfun, ibessel,...
SUBROUTINE F01AYF(N,TOL,A,IA,D,E,E2) C MARK 14 RE-ISSUE. NAG COPYRIGHT 1989. C MARK 15A REVISED. IER-907 (APR 1991). C C TRED3 C THIS SUBROUTINE REDUCES THE GIVEN LOWER TRIANGLE OF A C SYMMETRIC C MATRIX, A, STORED ROW BY ROW IN THE ARRAY A(N(N+1)/2), TO C TRIDIAGONAL FORM USING HOUSE...
parameter(nmax=10000) real r(nmax),sb1(nmax),sb2(nmax),sb3(nmax) real rat2(nmax),rat3(nmax),rs(nmax),sig(nmax) real sig2(nmax),sig3(nmax) open(unit=1,file='out0',status='old') n=0 xml=1.0 fcon1=0. c - tidal radii at 432 and 347 fcon2=3.9 fcon3=6.8 do i...
C IMSL ROUTINE NAME - BEMMI C C----------------------------------------------------------------------- C C LATEST REVISION - JUNE 1, 1980 C C PURPOSE - ESTIMATES OF MEANS, STANDARD DEVIATIONS, C CORRELATION COEFFICIENTS, AND COEFFICIENTS C OF S...
PROGRAM xsplin2 C driver for routine splin2 INTEGER M,N PARAMETER(M=10,N=10) INTEGER i,j REAL f,ff,x1x2,xx1,xx2,x1(M),x2(N),y(M,N),y2(M,N) do 11 i=1,M x1(i)=0.2*i 11 continue do 12 i=1,N x2(i)=0.2*i 12 continue do 14 i=1,M do...
c----------------------------------------------------------------------- c subroutine singular_call call jc_firstsecond call jc_pressure0 call mac_distribute call correction_interpolate call field_interpolate call correction_strain call uv_strain call dudv_surface ...
COMMON /ARCOM/FNAME0(128,256),FSTAT0(256),NFILE0,ERRCN0 INTEGER FNAME0 INTEGER FSTAT0,NFILE0,ERRCN0 INTEGER A$BUF(200) INTEGER ANAME(102) INTEGER GETARG INTEGER USAGE(53) INTEGER PARSCL INTEGER AAAAA0(15) INTEGER AAAAB0(20) DATA USAGE/213,243,225,231,229...
c c I'd kill author of routines with names like "lambda", "ro", c (see below). c D.A.Bukin C************************************************************* C Set of functions to determine f0 and a0 widths. C from N.N.Achasov, V.N.Ivanchenko C Nuclear Physics B315 (1989...
C THIS PROGRAM PRINT OR PUNCTURE THE BRIDGE DATA FOR NWSRFS SUBROUTINE PPBRG55 (K,J,EMBEL1,BRGW,HFDD,TFH,BBD,ZBCH,YBMIN,LAD, 1 DTHDB,BREXP,EMBEL2,CDBRG,BRGBS,BRGHS,CPIP,EMBW2,EMBW1,NODESC, 2 K1,K16,KPP) COMMON/IONUM/IN,IPR,IPU DIMENSION EMBEL1(K16,K1),BRGW(K16,K1),HFDD(K16,K1),TFH(K16...
SUBROUTINE TLABELS C INCLUDE 'WASP.CMN' C CHARACTER*15 TVOUT(7) C CHARACTER SCOLOR(9)*6 C DATA SCOLOR /'CYAN','GREEN','CYAN','GREEN','CYAN','GREEN', 1 'CYAN','GREEN','CYAN'/ C DATA TVOUT /'Max DT.','Velocity','Depth', 1 'Volume','Flow In',...
c to fix: interpolation in rcirc does not seem to work well. after c that, hope that things come together! ! fip: changed central sig0 to be equal (except for a factor sigroz) to ! central z dispersion program diskdf parameter(nrmax=1000) parameter (pi=3.1415926535) dimension drat(0:nrmax), ...
c ********************************************************************* subroutine inside1(ix,iy,ixlo,iylo,ixhi,iyhi,flag) c ********************************************************************* c Given cursor position (ix,iy) and box coordinates (ixbox(4),iybox(4)), c check if cursor is inside box ; uses some REA...
double precision lambda,re1,re2,re3,im1,im2,im3 open(1,file="ShettleSandDust.dat") open(2,file="Sand.dat") open(3,file="Dust.dat") do 100 i=1,68 read(1,*)lambda,re1,im1,re2,im2,re3,im3 write(2,*)lambda,(re1+re2)/2d0,(im1+im2)/2d0 write(3,*)lambda,re3,im3...
c Reads energy file names and open the files for reading. subroutine enefiles character*80 filen,path c Get path for energy files path = 'PKGDATADIR/ ' 3 write(6,*) 'Enter asymmetric interior loop of size 3 energy file name' write(6,*) '(default asint1x2.dat)' read (5,100,end...
!------------------------------------------------------------------------! ! The Community Multiscale Air Quality (CMAQ) system software is in ! ! continuous development by various groups and is based on information ! ! from these groups: Federal Government employees, contractors working ! ! within a United ...
C> \ingroup wfn1_nxt C> @{ C> C> \brief Calculate the occupation function Lagrangian energy and C> gradient contributions C> C> Compute the occupation function Lagrangian energy contribution as C> \f{eqnarray*}{ C> L_1 &=& \sum_\sigma\sum_{pq}\lambda^{O\sigma}_{pq}\left( C> \sum_i O^\sigma_{ip}O^\sigma_{iq}...
c$Id:$ subroutine pparlo(ld,eq,ix,id,ldsize,lnen) c * * F E A P * * A Finite Element Analysis Program c.... Copyright (c) 1984-2014: Regents of the University of California c All rights reserved c-----[--.----+----.----+----.-----------------------------------------] c M...
program SPH c---------------------------------------------------------------------- c This is a three dimensional SPH code. the followings are the c basic parameters needed in this codeor calculated by this code c volume :volume of particles [in] c ntotal ...
SUBROUTINE MMA2 ( ZI, ZR, ZD, ZC, ZDC ) C C MMA2 PERFORMS THE MATRIX OPERATION USING METHODS 20 AND 21 C (+/-)A(T & NT) * B (+/-)C = D C C MMA2 IS DESIGNED AS FOLLOWS: C 1. THIS IS FOR "A" NON-TRANSPOSED AND TRANSPOSED C 2. UNPACK AS MANY COLUMNS OF "B" INTO MEMORY AS POSSIBLE C ...
subroutine b_add_neighbors(cell_index,ncell,nbad,ncellmax,ix,iy,x,y,E,A,bad,abort,err) implicit none save logical abort character*(*) err character*15 here parameter(here='b_add_neighbors') integer cell_index,ncell,ncellmax,nbad integer ix(ncellmax) intege...
************************ SUBROUTINE J2000PR (J2000RA, J2000DEC, DJULDAY, RAT, DECT) ************************ C convert J2000 RA DEC to RA DEC of Julian date epoch C based on LC's J2000 pascal program, fortran by MJG 1994 08 31 C note that proper motion, parallax and radial velocity are NOT computed c ...
SUBROUTINE MOLPD1(N1,N2,L1,L2,M1,M2,SK1,SK2,A,B,FACT,R,VEST,DVEST . ,NIN) C C THIS SUBROUTINE CALCULATES TWO CENTERED OVERLAP INTEGRALS C THIS ALSO OBTAINS THE DERIVATIVE OF THE OVERLAP C c INCLUDE '../include/param.cmn' IMPLICIT DOUBLE PRECISION(A-H,O-Z) IMPLICIT INTEGER (I-N) ...
program sprep96 c---------------------------------------------------------------------c c c c COMPUTER PROGRAMS IN SEISMOLOGY c c VOLUME V c c ...
subroutine abc (l,jlo,jatom) use struk ! ! abc calculates the cofficients a,b,c of the lo ! IMPLICIT REAL*8 (A-H,O-Z) ! --- ...
C Module F031 C SUBROUTINE F031(PXI,GM,FRACS,TA,MELT,WATER,HEAT,F0,CONST) C....................................... C FOR OPERATION 31 (SNOW-43) C THIS ROUTINE COMPUTES THE CHANGE IN MODEL STATES FOR A C TIME PERIOD IN THE 'SNOW-43 ' OPERATION. (SEE NWS-43, PP 38, 39) C...............................
! This file is part of the ITM model. ! ! Copyright 2009 University of Illinois at Urbana-Champaign ! Copyright 2011 Oregon State University, Corvallis ! ! Authors: Arturo S. Leon (Hydraulics), Nils Oberg (User interface) ! ! ITM is a free software; you can redistribute it and/or modify it ! under the terms of the GNU ...
subroutine search2 (bot2, botmn, botmx, chart, coef, fitmx, * fitmn, iamwt, ic, ntcase, mmn, mmx, mxcase, mxntc, mxstat, * nr, pobs, secinc, smnlow, smnhi, smxlow, smxhi, tmsv, uniq, * wtobs) c coarse loop over focal mechanism space represented by one p axis to c find the largest and smalles...
SUBROUTINE REGIS_MODE2 C C Put the terminal, MONITOR 2, into REGIS mode C CHARACTER*1 ESC COMMON /PLOTMONITOR2/ IMONITOR2, IOUTM2 ESC = CHAR(27) ! modified by J.Chuma, 19Mar97 for g77 WRITE(IOUTM2,1000)ESC,'Pp' 1000 FORMAT(' ',A1,A) RETURN END
c Copyright (C) 2000 c Questo programma è software libero; è lecito ridistribuirlo e/o c modificarlo secondo i termini della Licenza Pubblica Generica SMR come c pubblicata da ARPA SMR ; o la versione 1 della licenza o (a scelta) c una versione successiva. c Questo programma è distribuito nella speranza che sia util...
C*********************************************************************** C* For array size changes from/to (50625) or (10000) search C11-14-88 * C* (50625) is for running in 15Mb while (10000) is for 7Mb. RBR * C*********************************************************************** C* THIS SMALL CORE VERSION F...
C$PROG SHOMASS C C ****************************************************************** C BY W.T. MILNER AT HRIBF - LAST MODIFIED 10/01/95 C ****************************************************************** C IMPLICIT NONE C INTEGER*4 IA,IZ,IERR,ISOR C INTEGER*4 IWD(20) C REAL*8 E...
C LAST UPDATE 22/02/95 C+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ SUBROUTINE CHICAL(ALLINE,JMIN,JMAX,NLLP,NPAR,IMIN,IMAX,NIMM,IDCIN, & NDCIN,A,V,N1,N2,IBACK,CHISQ,RFAC,SIG,SIGMA, & IFLAG) IMPLICIT NONE C-+-+-+-+-+-+-+-+-+-+-+-+-+-...
******************************************************************************* *** Function dsddDMCRsigtarget provides the differential scattering cross *** *** section of a (potentially relativistic) DM on a target (detector) *** *** nucleus, d\sigma_N / dTr, where Tr is the nuclear recoil energy. *** ...
PROGRAM EXER043D INTEGER I DO 100, I = 1, 29 IF (MOD(I,4) .EQ. 0) THEN WRITE(*, 10) I 10 FORMAT(I5) ENDIF 100 CONTINUE END
! Ken Klare, LANL P-4 (c)1990,1991 !*********************************************************************** !********************* 3.2 Cubic Spline Evaluation ********************* !----------------------------------------------------------------------- Real Function CSVAL(x,nintv,break,c) Real ...
c OBJTOCONT converts an internal or WIMP-style object number to an c IMOD object and contour number subroutine objtocont(iobj,obj_color,imodobj,imodcont) integer*4 obj_color(2,*) icolor=obj_color(2,iobj) imodobj=256-icolor imodcont=0 do i=1,iobj if(icolor.eq.obj_...
C$Procedure DVNORM ( Derivative of vector norm ) DOUBLE PRECISION FUNCTION DVNORM( STATE ) C$ Abstract C C Function to calculate the derivative of the norm of a 3-vector. C C$ Disclaimer C C THIS SOFTWARE AND ANY RELATED MATERIALS WERE CREATED BY THE C CALIFORNIA INSTITUTE OF TECHNOLOGY (CALTECH) U...
/* rep111.f * MODULE Название Программного Модуля * DESCRIPTION Назначение программы, описание процедур и функций * RUN Способ вызова программы, описание параметров, примеры вызова * CALLER Список процедур, вызывающих этот файл * SCRIPT Список скриптов, вызывающих этот файл...
C %W% %G% subroutine cvinp(line) implicit none include 'tspinc/params.inc' include 'tspinc/prt.inc' include 'tspinc/cv.inc' character line*80, indat*8, outdat*8 integer cvoffset, icv, i logical inblank, outblank c test for first card of new curve ...
C$PROG CMPSETUP - Command processor for LEMOR setup commands C C ****************************************************************** C BY W.T. MILNER AT HRIBF - LAST MODIFIED 04/23/2002 C ****************************************************************** C SUBROUTINE CMPSETUP(IDONE,IERR) C IMPLI...
SUBROUTINE SDGRID (LUNL, UDSK, UFIL, MDSK, MFIL, DOPROJ, IWT, RWT, * JBUFSZ, BUFF1, BUFF2, MBUFSZ, BUFFM, OBUFSZ, OUTBUF, MAXCWT, * XNLIM, IRET) C----------------------------------------------------------------------- C! Grids single-dish "uv" data to a multi-channel image C# Singledish AP C--------...
********************** SUBROUTINE LFFT4 (ERROR) ********************** * set up FAST FOURIER TRANSFORM OF 2*N POINTS REAL DATA * * CMDP command parameters used: * 1 = command mnemonic FT * 2 = memory in which to fourier transform the data * * other subroutines called: * FORS1, which cal...
!********************************************************************** ! Copyright 2013-2015 Kiran Mathew and Richard Hennig ! !Licensed under the Apache License, Version 2.0 (the "License"); !you may not use this file except in compliance with the License. !You may obtain a copy of the License at ! ! http://www.ap...
SUBROUTINE KTRMEM (NTYPE) C C TRIANGULAR MEMBRANE ELEMENT C C IF NTYPE = 0 COMPLETE MEMBRANE COMPUTATION IS PERFORMED C IF NTYPE = 1 RETURN 3 TRANSFORMED 3X3 MATRICES ONLY FOR THE PIVOT C C CALLS FROM THIS ROUTINE ARE MADE TO - C C MAT - MATERIAL DATA ROUTINE C SMA1B - INSERTION ROUTI...
PROGRAM C05EX18 INTEGER CODIGO DO 100, CODIGO = 32, 127, 1 WRITE (*, 10) CHAR(CODIGO), CODIGO 10 FORMAT("--> ", A1, " equivale ao codigo[", I3, "]") 100 CONTINUE END
subroutine getmod(y,iq,rho,vpv,vsv,vph,vsh,eta) c*** returns model vector at normalized radius y which c*** shell iq. When iq is changed, the routine checks c*** to see if the layer is isotropic (returned through c*** common isot). implicit real*8(a-h,o-z) logical isotrp dimension test(4) ...
3 <--SHAPES 2 <--LINES id1 2 <--id1.TYPE 285 <--id1.LEFT 77 <--id1.TOP 70 <--id1.WIDTH 30 <--id1.HEIGHT 16777215 <--id1.BACKCOLOR 0 <--id1.BORDERCOLOR 0 <--id1.BORDERCOLOR -reserved 1- -reserved 2- START id2 2 <--id2.TYPE 285 ...
c********************************************************************* c subprograma diver (doble precision) c ----------------- c fin : calculo de la divergencia c********************************************************************* subroutine diver(vol,area,ngk,uf1,uf2,u...
SUBROUTINE SSMAT(UA,UF,SSAF,SSFG) IMPLICIT REAL*8 (A-H,O-Z) DIMENSION UA(NBASIS,NBASIS,N3N),UF(NBASIS,NBASIS,3) DIMENSION SSAF(NTRI,N3N,3),SSFG(NTRI,3,3) COMMON/BASIS/NBASIS,NBFAO,NTRI,NTRI2,NBASQ COMMON/FUNCS/NATOMS,N3N,N3NP3,N3NX3 COMMON/SECTF/ISF(153),IHF(153),IFF(153),IBF(1...
c ===================================================================== c pgm: strinf (iunit,po) c c in: iunit .... unit number c in: po .... parameter array c ===================================================================== c subroutine strinf (iunit,po) c c........................................
C$Procedure VDOTG ( Vector dot product, general dimension ) DOUBLE PRECISION FUNCTION VDOTG ( V1, V2, NDIM ) C$ Abstract C C Compute the dot product of two vectors of arbitrary dimension. C C$ Disclaimer C C THIS SOFTWARE AND ANY RELATED MATERIALS WERE CREATED BY THE C CALIFORNIA INSTITUTE O...
C $Header: /u/gcmpack/MITgcm/pkg/seaice/seaice_cost_final.F,v 1.14 2009/11/20 22:33:21 heimbach Exp $ C $Name: $ #include "SEAICE_OPTIONS.h" subroutine seaice_cost_final( mythid ) c ================================================================== c SUBROUTINE seaice_cost_final c ===============...
DIMENSION MJLX(500),NLX(500),SOLX(500),PIN(500),P(15,500) C,A(19),DA(19),AIM(19),NFEM(500),NE(500),ERRA(500),ERRP(500) C,CH2(500),NSCH(500),NFC(10),CH2S(500),NPS(500) CHARACTER CSTR*50,CS1*4 DATA YES,YCOS/1HY,1HN/ DATA NFC/1,-1,11,-11,3,-3,13,-13,4,-4/ OPEN(7,FILE='SAID.TMP',STAT...
SUBROUTINE E04MFU(PRBTYP,HEADER,RSET,MSGLVL,ITER,ISDEL,JDEL,JADD, * N,NCLIN,NACTIV,NFREE,NZ,NRZ,LDR,LDT,ISTATE,ALFA, * CONDRZ,CONDT,DRZZ,GRZNRM,NUMINF,SUMINF,NOTOPT, * OBJLP,TRUSML,AX,R,T,X,WORK) C MARK 16 RELEASE. NAG COPYRIGHT 1992. C MAR...
C======================================================================= C OpPlantP, Subroutine, C.H.Porter C----------------------------------------------------------------------- C Generates output file for daily plant phosphorus data C----------------------------------------------------------------------- C ...
36 e Legislature, 2 ieme Session HANSARD REVISE * NUMERO 76 Le vendredi 31 mars 2000 L'hon. David M. Collenette M. Guy St-Julien LES GOLDEN BEARS DE L'UNIVERSITE DE L'ALBERTA LE TRANSFERT CANADIEN EN MATIERE DE SANTE ET DE LA FORCE NAVALE PERMANENTE DE L'ATLANTIQUE L'hon. George S. Baker L'hon. George S. Baker...
doubleprecision function fdist(px,py) implicit none c c This function calculates Fermi distribution function for c Bloch-Huckel hamiltonian c c (exp((ep-Ef)/T)+1)^{-1} c c where ep is the third eigenvalue of Bloch-Huckel (BH) hamiltonian c c Parameter list c px, py -- input; scalars; components of the wave-...
C MEMBER EX30 C (FROM OLD MEMBER FCEX30) C----------------------------------------------------------------------- C LAST UPDATE: 10/24/95.11:36:06 BY $WC21DT C C @PROCESS LVL(77) C SUBROUTINE EX30(PO,OUT,LOCD,D) C C THE FUNCTION OF THIS ROUTINE IS TO COMPUTE AN OUTPUT TIME C S...
C$PROG FUNKYFIT C COMMON/HEPF/ IHEPF C C ------------------------------------------------------------------ COMMON/LLL/ MSSG(28),NAMPROG(2),LOGUT,LOGUP,LISFLG,MSGF INTEGER*4 MSSG,NAMPROG,LOGUT,LOGUP CHARACTER*4 LISFLG,MSGF CHARACTER*112 CMSSG EQUIVALENCE (CMSSG,MSSG) C ----...
36 e Legislature, 2 ieme Session HANSARD REVISE * NUMERO 90 Le jeudi 4 mai 2000 REPONSE DU GOUVERNEMENT A DES PETITIONS COMITES DE LA CHAMBRE Procedure et affaires de la Chambre Mme Diane St-Jacques Les droits des enfants a naitre M. John O'Reilly DEMANDE DE DEBAT D'URGENCE LOI SUR LES CRIMES CONTRE L'HUMANIT...
C MODULE UDOPEN C ===================================================================== C pgm: UDOPEN(UNT,KOD,NEWNAM,LRECL,ISTAT) .. open a DAIO file if needed C C in: UNT ..... unit number identifying the desired file C in: KOD ..... summation of two part code: C in: part one (manditory) indicates o...
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC C C C PPPPP EEEEEE N N EEEEEE L OOOO PPPPP EEEEEE C C P P E NN N E L O O P P E C C P P E N N N ...
c $Id:$ #include "MitCommon/Ctvmft/interface/ddimensions.hh" c----------------------------------------------------------------------- integer function dctvmfr_address() c c Get address of CTVMFR common c c----------------------------------------------------------------------- implicit none #include "Mit...
subroutine b_find_clusters(ABORT,err) implicit none save character*16 here parameter (here= 'b_find_clusters') logical ABORT character*(*) err include 'bigcal_data_structures.cmn' include 'bigcal_bypass_switches.cmn' include 'bigcal_gain_...
C Copyright (C) 2002, Carnegie Mellon University and others. C All Rights Reserved. C This code is published under the Common Public License. C******************************************************************************* C subroutine GET_IFIX(NORIG, XORIG, NLBO, ILBO, BNDS_LO, 1 NUBO, IU...
c-------------------------------------------------------------------------------------------------c program project_euler_2 c-------------------------------------------------------------------------------------------------c c ...
C$PROG GATAD SUBROUTINE GATAD(GATES,NG,LOC,LOCG,IERR,MSER) C INTEGER*4 GATES(2,200) C COMMON/KKK/ MILF(262144),MILMF(32768),MILC,MILCF,NHWPC,NXDAD,Q, & NUBPC,IGATOF,IMAPOF,NGATL,NMAPL,MXGATL,MXMAPL C INTEGER*2 MILH(524288) C INTEGER*4 MESS(10,2),MSER(10) CHARACTER*40 ...
SUBROUTINE EIGEN_2X2(AMAT,EVAL,EVCT) C Real eigenvalues EVAL and eigenvectors EVCT of the AMAT 2x2 matrix. C EVCT returns the eigenvectors stored column-wise. C AMAT is unchanged on exit. include 'implicit.sta' include 'constants.par' DIMENSION AMAT(2,2),EVAL(2),EVCT(2,2) PHALF=-HALF*(AMA...
SUBROUTINE AUTCORA(NT,NDAT,DATA,ACOR,LMEAN) C Copyright, Bernd Berg, Feb 11 2001. C Calculates the entire array ACOR of autocorrelations: IT=0,1,... C Small difference to acorf.f, because for IT.NE.NT acorf.f takes C more data into account. include 'implicit.sta' include '...
program inerciarot real rho1, rho2, r1, r2, m1, m2, pi, Ix, Iz integer n, n1, n2 common /glob/ n, r1, r2 common /ns/ n1, n2 common /ms/ m1, m2 rho1 = 8930.0 rho2 = 19230.0 r1 = 5e-2 r2 = 1e-2 n = 10**5 ...
c MM 31/01/01 Subroutine to read in the QSO data (wlen, data and sig c arrays) from known data file names subroutine rqsodata(wl_obs,flx,sig,npix) implicit none include 'findabs_inc.f' include 'charlen_inc.f' double precision wl_obs(maxnpix),flx(maxnpix),sig(maxnpix) double p...
Subroutine Impose_Continuity(StifN,FN,nStifN,T,StifNC, & FC,nStifNC,iOut) ! ! Coerced Isoparametric Quadrilateral_Cubic_Cubic Element ! ! ! Inputs ! T(nStifA,nStifNC) = C1 or C2 Transformation Matrix ! nStifN = Row or Col size of NonSingStiffness matrix ! StifS(nStifN,nStifN) = NonSingular global S...
c-------------------------------------------------------------------------------------------------c program project_euler_34 c-------------------------------------------------------------------------------------------------c c ...
SUBROUTINE bsstep(y,dydx,nv,x,htry,eps,yscal,hdid,hnext,derivs) INTEGER nv,NMAX,KMAXX,IMAX REAL eps,hdid,hnext,htry,x,dydx(nv),y(nv),yscal(nv),SAFE1,SAFE2, *REDMAX,REDMIN,TINY,SCALMX PARAMETER (NMAX=50,KMAXX=8,IMAX=KMAXX+1,SAFE1=.25,SAFE2=.7, *REDMAX=1.e-5,REDMIN=.7,TINY=1.e-30,SC...
* * $Id: cfextn.F,v 1.3 2000/04/26 14:12:31 dpp Exp $ * * $Log: cfextn.F,v $ * Revision 1.3 2000/04/26 14:12:31 dpp * -> use FIT_WHATEVER instead of CFDFIT or CFRFT4, or SZ_FITTER * * Revision 1.2 1999/09/12 22:29:43 dpp * remove argument in call to CFRFT4 * * Revision 1.1.1.1 1998/02/06 19:11:42 dpp * DOIT ...
C MEMBER PREL26 C (from old member FCPREL26) C*********************************************************************** SUBROUTINE PREL26(ELEVC,STOR,ELEV) C*********************************************************************** C SUBROUTINE PREL26 USES PRESCRIBED ELEVATIONS TO DETERMINE DISCHARGES C FROM A RESERVO...
MODULE usr Use param Use param1 Use physprop USE run USE ic, only: IC_X_s USE compar, only: MyPE,PE_IO USE rxn_com use rxns, only: NO_OF_RXNS use rxns, only: Reaction ! ! Declare the user-defined namelist variables (usrnlst.inc) ...
CDOC BEGIN_SUBROUTINE RVOUTP CDOC Compute and print homogenised stresses CDOC CDOC This routine computes homogenised stress using boundary nodal CDOC reaction-based formula CDOC CDOC BEGIN_PARAMETERS CDOC DOUBLE_PRECISION FBD > Boundary nodal reaction vector. CDOC INTEGER NOUTP > Load output ...
PROGRAM ZSTOPA C----------------------------------------------------------------------- C; Copyright (C) 1995 C; Associated Universities, Inc. Washington DC, USA. C; C; This program is free software; you can redistribute it and/or C; modify it under the terms of the GNU General Public License as C; published...
program tmaker implicit none c * TMAKER gathers LC parameter data and signal coefficient data and c * consolidates them into a table. c * c * Benjamin Sadler, Florida State University 11/30/11 include 'atest.h' common /input/ nsne,alpha,iflatness integer alpha,i,i...
! ************************ SUBROUTINE CVTRVF_NERD_2 ! ************************ ! &(F1,F1N,F1SCEXP,F2,F2N,F2SCEXP,DIFT,CONV,H,HN,HPROP,UDEL,VDEL,DM1, & ZCONV,SOLSYS,VISC,VISC_S,SM1,SM2,SMH,YASMH,SMI1,SMI2,YASMI, & F1BOR,F2BOR,MASKTR,MESH,T1,T2,T3,...
C $Header: /u/gcmpack/MITgcm/pkg/autodiff/active_file_loc_control_slice.F,v 1.7 2010/03/22 02:15:02 jmc Exp $ C $Name: $ #include "AUTODIFF_OPTIONS.h" c ================================================================== c c active_file_control.F: Routines to handle the i/o of active vari- c ...
subroutine su2_wl5x5(alsu2,wl,tsw,ipf,ns,nd,np,nmeas,nloop,imeas) c bernd berg and hao wu mar 24 2008. calculates su(2) wilson loops c up to w5x5 for nloop=10, up to w3x3 for nloop=3. include '../../libs/fortran/implicit.sta' include '../../libs/fortran/constants.par' dimension alsu2(0:3,nd,ns...
PROGRAM CPEX09 C C Define the error file, the Fortran unit number, the workstation type, C and the workstation ID to be used in calls to GKS routines. C C PARAMETER (IERRF=6, LUNIT=2, IWTYPE=1, IWKID=1) ! NCGM C PARAMETER (IERRF=6, LUNIT=2, IWTYPE=8, IWKID=1) ! X Windows C PARAMETER (IE...
SUBROUTINE INQFLT (TTY, PROMPT, NUM, DVAL, IERR) C----------------------------------------------------------------------- C! inquire of the user for specified number of floating-point values C# Service C----------------------------------------------------------------------- C; Copyright (C) 1995 C; Associated U...
C MEMBER TSV24 C (from old member FCPUC24) C SUBROUTINE TSV24(LOC,PO,TSID,TSDT,NODT) C*********************************************************** C OBTAINS TIME SERIES IDENTIFIERS AND TIME INTERVALS C FOR THE API-CONT OPERATION PUNCH SUBROUTINE C***********************************************************...
* * * * * ROTATEVOL * * * * * c c ROTATEVOL will rotate all or part of a three-dimension volume c of data. The rotations may be by any angles about the three axes. c Tilt angles and origin information in the header are properly c maintained so that the new data stack will have a co...
c 12 Dec 2002 - fixed a problem which occurred at the inter-CCD gap, c where the wavelength of the input pixels takes a jump, but there c is really no data. Now tests for this by effectively checking c for an adjacent-pixel spacing that is very different on left and c right. c this is a rebinning/pixeliz...
C %W% %G% subroutine svssol c This subroutine solves the static var source differential c equations. It is called by cntrl. integer ksv, ibus, ire, jsv1, jsv2, ndiv, itr real x1, x1a, x2, x3, x4, x5, x6, sig1n, ctr, & cti, gt, bt, c1r, c1i, c2r, c2i, & pres...
*********************** SUBROUTINE MGPARM (ERROR) *********************** * get parameters for multiple gaussian fitting * * CMDP command parameters used: * 1 = command mnemonic GP * 2 = position or SHOW or CLEAR or FIXBASE or FREEBASE * 3 = height * 4 = width * 5 = PHWB to constrain p...
C @(#)baksen.f 20.6 7/18/96 subroutine baksen (ntr) ! performs the operation C INV [dG/dX] * [dH/dX] if NTR = 0 and C INV [dG/dX]t * [dH/dX] if NTR = 1. include 'ipfinc/parametr.inc' include 'ipfinc/alpha2.inc' c Global...
C @(#)kmpkl2.f 20.3 2/13/96 function kmpkl2(m,n) C include 'ipfinc/dcsrt.inc' C kmpkl2=kolum(m) - kolum(n) return end