text
stringlengths
9
3.83M
C$Procedure TYEAR ( Seconds per tropical year ) DOUBLE PRECISION FUNCTION TYEAR () C$ Abstract C C Return the number of seconds in a tropical year. C C$ Disclaimer C C THIS SOFTWARE AND ANY RELATED MATERIALS WERE CREATED BY THE C CALIFORNIA INSTITUTE OF TECHNOLOGY (CALTECH) UNDER A U.S. C ...
SUBROUTINE MERGE (IRP,ICP,CORE) C C MERGE WILL PUT UP TO 4 MATRICES, IA11,IA21,IA12,IA22, TOGETHER C INTO NAMEA -- THIS ROUTINE IS THE INVERSE OF PARTN C C THE ARGUMENTS ARE EXACTLY THE SAME IN MEANING AND OPTION AS FOR C PARTITION C IMPLICIT INTEGER (A-Z) EXTERNAL RSHIFT,ANDF ...
subroutine HPZFLC C C...fill HEPEVT from zebra banks C IMPLICIT NONE #include "stdhep/stdhep.inc" #include "stdhep/stdlun.inc" #include "stdhep/hepzbr.inc" integer I,J,K,LL,KK C...set everything to zero NEVHEP = 0 NHEP = 0 do 120 J=1,NMXHEP ISTHEP(J)=0 IDHEP(J)=0 ...
program bodedrv implicit double precision(a-h,o-z),integer(i-n) external xsin parameter (idimv=1) dimension a(idimv),b(idimv) a(1)=0.d0 b(1)=3.141592653589792d0 ivar=1 print*,ivar print*,a print*,b print* call bode(idimv,xsin,ivar,a,b,dinteg...
!----------------------- ! madgraph - a Feynman Diagram package by Tim Stelzer and Bill Long ! (c) 1993 ! ! Filename: drawfeyn.f !----------------------- !************************************************************************* ! This file contains routines for generating ps files for the Feynman ! diagrams....
program TBEEP c to test spindrift beep etc integer if(2,10) c 2 call beep pause call BELL(3) !test new version pause print 1 1 format(' ifreq1,ifreq2 = ') read *,ifreq1,ifreq2 if(ifreq1.eq.0) STOP call tone(ifreq1,50) pause call tone2(ifreq1,ifreq2,50) pause n=1 if(1,n)=500 !=freq if(2,n)=8 !=duration ...
! *************** SUBROUTINE FOND ! *************** ! &(ZF ,X,Y,NPOIN,NFON,NBOR,KP1BOR,NPTFR) ! !*********************************************************************** ! BIEF V6P1 21/08/2010 !**************************...
subroutine sub2() write(6, *) 'output from sub2.' return end
subroutine LOAD_HEADER( HEADER_TXT, N_TXT ) IMPLICIT NONE CHARACTER( 90 ) :: HEADER_TXT( 200 ) INTEGER :: N_TXT N_TXT = 21 HEADER_TXT( : ) = '' HEADER_TXT( 1:N_TXT ) = (/ & '#================================================================================...
C C $Id: displa.f,v 1.6 2008-07-27 00:14:36 haley Exp $ C C Copyright (C) 2000 C University Corporation for Atmospheric Research C All Rights Reserved C C The use of this Software is governed by a License Agreement. C SUBROUTINE DISPLA (LFRA,LROW,LTYP) C C The subroutine DISP...
/* tdalgrset.f * MODULE Название Программного Модуля * DESCRIPTION Назначение программы, описание процедур и функций * RUN Способ вызова программы, описание параметров, примеры вызова * CALLER Список процедур, вызывающих этот файл * SCRIPT Список скриптов, вызывающих этот ф...
! ************************* SUBROUTINE COEFRO_SISYPHE ! ************************* ! &(CF,H,KFROT,CHESTR,GRAV,NPOIN,HMIN,KARMAN) ! !*********************************************************************** ! SISYPHE V6P1 21...
! advance.f ! advance POM !______________________________________________________________________ ! subroutine advance !---------------------------------------------------------------------- ! Advances model a step !---------------------------------------------------------------------- ! called by: pom ...
C++*************************************************************** C spec_plot C Program to plot a 1-D spectrum. C C Input spectrum: image file C with flux in first line, wavelengths in second line C C Version of 17-12-98 C--************************************************************** PROGRAM SPEC_BACK CHAR...
C C $Id: ngritd.f,v 1.4 2008-07-27 00:17:18 haley Exp $ C C Copyright (C) 2000 C University Corporation for Atmospheric Research C All Rights Reserved C C The use of this Software is governed by a License Agreeme...
! *****************************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*****************************...
! *********************** SUBROUTINE POINT_STBTEL ! *********************** ! !*********************************************************************** ! PROGICIEL : STBTEL V5.2 09/08/89 J-C GALLAND (LNH) ! 19/0...
PROGRAM FTEX06 C C Example of SURF1/SURF2. C 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 Wind...
c subroutine read_x2c_pc_dip(icomp,g_pcdip) c implicit none c #include "mafdecls.fh" #include "global.fh" #include "tcgmsg.fh" #include "util.fh" #include "stdio.fh" #include "errquit.fh" #include "msgids.fh" #include "dra.fh" #include "inp.fh" #include "msgtypesf.h" c integer icomp integer g_pc...
!*********************************************************************** ! LICENSING ! Copyright (C) 2013 National Renewable Energy Laboratory (NREL) ! ! This is free software: you can redistribute it and/or modify it ! under the terms of the GNU General Public License as ! published by the Free Software Foun...
SUBROUTINE F01ACZ(N,EPS,A,IA,B,IB,Z,L,IFAIL) C MARK 16 RELEASE. NAG COPYRIGHT 1993 C C This routine originally called F01ACF. C ACCINVERSE C THE UPPER TRIANGLE OF A POSITIVE DEFINITE SYMMETRIC MATRIX, C A, IS STORED IN THE UPPER TRIANGLE OF AN (N+1)*N ARRAY C A(I,J), I=1,N+1, J=1,N. X, THE...
c.. n-planet integrator, with restart capability c.. current configuration is for sun + nine planets program Integrator implicit real*8(a-h,o-z), integer*4(i-n) parameter (nb=10) parameter(n=6*nb,pi=3.14159265358979323846) dimension y(n),dydx(n),yscal(n) dimension a...
subroutine STDSPIN(IT,JSP) C...Get the J-spin of this particle C C IT = index to HEPEVT common block C For particle ID, +/- IJKLM C KQJ = M = 2*Jspin + 1 C JSP = Jspin C IMPLICIT NONE integer IT,KQ,KQA,KQJ real JSP #include "stdhep/stdhep.inc" KQ=IDHEP(IT) ...
***************************************************************************** *** function dsIB3yieldone calculates the IB3 yield from one given *** annihilation channel, i.e. the *difference* to the corresponding qq *** yield when taking into account qqg final states. *** *** Currently included are: *** yieldk = ...
C=================================================================== #include "fintrf.h" C mxcreatecellmatrixf.f C C mxcreatecellmatrix takes the input arguments and places them in a C cell array. This cell array is returned back to MATLAB as the result. C C This is a MEX-file for MATLAB. C Copyrigh...
c $VERSION "08/16/95 @(#)cuintc.f 7.1" subroutine interc(ihr) c subroutine to calc precip or irrig intercepted by foliage c this intercepted rain may be much greater than that stored on c leaves at this point. after calling drip then pint(j) is that c stored on foliage parameter(mh=98) commo...
SUBROUTINE UFBEVN(LUNIT,USR,I1,I2,I3,IRET,STR) C$$$ SUBPROGRAM DOCUMENTATION BLOCK C C SUBPROGRAM: UFBEVN C PRGMMR: WOOLLEN ORG: NP20 DATE: 1994-01-06 C C ABSTRACT: THIS SUBROUTINE READS SPECIFIED VALUES FROM THE CURRENT C BUFR DATA SUBSET WITHIN INTERNAL ARRAYS. THE DATA VALUES C CORRE...
LOCAL INCLUDE 'UVHIM.INC' REAL XSEQ, XDISK, XQUAL, XBAND, XFREQ, XFQID, XTIME(8), * XANT(50), XBASE(50), XUVRA(2), XSUBA, XBCHAN, XECHAN, XCHINC, * XBIF, XEIF, XDOCAL, XGUSE, XDOPOL, XPDVER, XBLVER, XFLAG, * XDOBND, XBPVER, XSMOTH(3), XOSEQ, XODISK, XIMSIZ(2), BPARM(10), * DOBLNK,...
SUBROUTINE SCAN C C THIS IS THE MAIN DRIVER FOR THE OUTPUT SCAN MODULE - SCAN C C THIS SCAN MODULE CAN BE CALLED DIRECTLY FROM ALL RIGID FORMATS, OR C BY USER DMAP ALTER. THE CALLING INSTRUCTIONS ARE C C (THREE INPUT FILES IF CALLED BY RIGID FORMAT V...
C %W% %G% function get_value (ib, ia) integer ib, ia include 'tspinc/params.inc' include 'tspinc/wstequ.inc' include 'tspinc/room.inc' include 'tspinc/wfeq.inc' include 'tspinc/vfhistory.inc' include 'tspinc/filter.inc' if (ia .eq. 1) then volt = sqrt (e...
!*********************************************************************** ! LICENSING ! Copyright (C) 2013 National Renewable Energy Laboratory (NREL) ! ! This is free software: you can redistribute it and/or modify it ! under the terms of the GNU General Public License as ! published by the Free Software Foun...
SUBROUTINE GRDSET (FFTIM, SCRGRD, SCRWRK, BUFFER, IRET) C----------------------------------------------------------------------- C! Creates scratch files and sets up for GRDSUB C# UV Modeling C----------------------------------------------------------------------- C; Copyright (C) 1995, 1997, 2000, 2006, 2008-20...
Subroutine Form_B_and_Tmatrices(R,T,nT,B,nB,nD,AJI,nQc,Iout) ! Inputs ! R = r-directional root domain value ! Nel = Element Number ! NelType = Element Type: ! 0 = Plane Stress ! 1 = Plane Strain ! 2 = Axi-symmtric (NOT DONE YET) ! nT = 6 (nDof) ! nB = 12 (nDof*2) ! nD = 6*nQc (nDof*nQc...
c LGRFDC.FOR c This whole file makes up DC library for Lahey graphics LGRFDC.LIB c It has names for subroutines that do not clash with Hgraph c Colours: c 0=black; 1=dark blue; 2=green; 3=light blue; 4=red; 5=purple c 6=brown; 7=white; 8=pale white (grey); 9=dark blue -bright; 10=green -bright c 11=light blue -bright; ...
C MODULE URVCMP C----------------------------------------------------------------------- C SUBROUTINE URVCMP (LPNTRO,IPNTRO,NPNTRO,LPNTRN,IPNTRN, * LDATAO,IDATAO,NDATAO,LDATAN,IDATAN, * ISTAT) C C ROUTINE TO COMPRESS PREPROCESSOR DATA BASE LESS THAN 24-HR TIME C INTERVAL DATA C CHARACTER*4 D...
* ******************************************** * * * * * gen_PBE96_c_full_unrestricted * * * * * ******************************************** * * This function returns the PBE96 correlation * energy density, ce, and its derivatives with respect * to nup, ndn, |grad nup|,...
PROGRAM TSRFAC 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 (IERRF=6, L...
c Fortran Library for Skeleton 2-1/2D Electromagnetic Vector PIC Code c written by Viktor K. Decyk, UCLA c----------------------------------------------------------------------- subroutine DISTR2HT(part,vtx,vty,vtz,vdx,vdy,vdz,npx,npy,idimp,npe 1,nx,ny,ipbc) c for 2-1/2d code, this subroutine calculates init...
SUBROUTINE MRGINV C$$$ SUBPROGRAM DOCUMENTATION BLOCK C C SUBPROGRAM: MRGINV C PRGMMR: WOOLLEN ORG: NP20 DATE: 1996-10-09 C C ABSTRACT: THIS SUBROUTINE PRINTS A SUMMARY OF MERGE ACTIVITY. C C PROGRAM HISTORY LOG: C 1996-10-09 J. WOOLLEN -- ORIGINAL AUTHOR (ENTRY POINT IN INVMRG) C 2002-05-1...
PROGRAM LDGPS C----------------------------------------------------------------------- C! Loads GPS delay data from a text file C# Task Calibration VLA C----------------------------------------------------------------------- C; Copyright (C) 1996-1999, 2009 C; Associated Universities, Inc. Washington DC, USA. C...
C C Copyright (C) 2000 C University Corporation for Atmospheric Research C All Rights Reserved C C The use of this Software is governed by a License Agreement. C SUBROUTINE CSA2LXS (NI,XI,UI,WTS,KNOTS,SSMTH...
SUBROUTINE DO_COMMAND(X,Y,HEIGHT,ANGLE,COMM,LENT,IDCNT,IUCNT & ,JUSTIFY,PLEN,COSX,SINX,CLASSES,FONT,LENFONT & ,HITMAX,*) C modified by J.Chuma 20Mar97 for g77 C CHARACTER COMM*(*), COMM2*255, COMM1*1, CTRL*2,FONT*60,FONT2*14 & ,GETLAB*2, CHARL*2, HEXCODE*2 ...
c$Id:$ subroutine therm1d(d,ul,xl,ix,s,p,ndf,ndm,nst,isw) 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$PROG LABLV C C ************************************************************ C BY WT MILNER AT HHIRF - LAST MODIFIED 08/24/92 C ************************************************************ C FUNCTION LABLV(LABEL) C INTEGER*4 LABEL,LABL(2) C C ***********************************************...
program lat222 C Copyright, Bernd Berg, Nov 8 2000. C Bookkeeping for a hypercubic 2x2x2 lattice (lat3d.par and lat3d.dat). include '../../ForLib/implicit.sta' parameter(iuo=6) include 'lat3d.par' include '../../ForLib/lat.com' include 'lat222.dat' dimension ix(nd) C writ...
C MEMBER SARP51 C-------------------------------------------------------------------- C C@PROCESS LVL(77) C SUBROUTINE TSID51(TSID,DTYPE,IDT,TSOK) C C--------------------------------------------------------------------- C ARGS: C TSID - 8 CHARACTER ID OF TIME SERIES C DTYPE - DATATYPE OF TIME-SERIES C ...
C %W% %G% C**************************************************************** C C File: ld_geld.f C C Purpose: Routine to load GE load data from raw data file C c Return code: n = 0 : Success c n = 1 " Error c C Author: Walt Powell Date: 21 May 1996 C Called by: load_ge.f C C**...
SUBROUTINE D02(VPREE,VDE) C==================================================================== C pg 206 C==================================================================== C TO FORM MATRIX D (2 DIMENSIONAL ELASTICITY) C INPUT C VPREE ELEMENT PROPERTIES C VPR...
! $Id: cppcheck.F 697 2011-04-11 12:35:17Z gcambon $ ! !====================================================================== ! ROMS_AGRIF is a branch of ROMS developped at IRD and INRIA, in France ! The two other branches from UCLA (Shchepetkin et al) ! and Rutgers University (Arango et al) are under MIT/X style lic...
C$Procedure SUFFIX (Suffix a character string) SUBROUTINE SUFFIX ( SUFF, SPACES, STRING ) C$ Abstract C C Add a suffix to a character string. C C$ Disclaimer C C THIS SOFTWARE AND ANY RELATED MATERIALS WERE CREATED BY THE C CALIFORNIA INSTITUTE OF TECHNOLOGY (CALTECH) UNDER A U.S. C GOVE...
SUBROUTINE SMCCCD ( DTEMP, ZIL, ILIM, ZOL ) DOUBLE COMPLEX DTEMP( ILIM ), ZIL( ILIM ), ZOL DO 10 I = 1, ILIM DTEMP( I ) = DTEMP( I ) + ZIL( I ) * ZOL 10 CONTINUE RETURN END
10 <--SHAPES 10 <--LINES id1 2 <--TYPE 333 <--LEFT 66 <--TOP 70 <--WIDTH 30 <--HEIGHT 16777215 <--BACKCOLOR 0 <--BORDERCOLOR 0 <--BORDERCOLOR -reserved 1- -reserved 2- START id2 91 <--TYPE 268 <--LEFT 113 <--TOP 2...
C %W% %G% subroutine savfil c c CREATES A NEW SAVED DATA FILE (FOR015) FROM DATA ENTERED c ON THE INPUT FILE (FOR005). CALLED BY SDATA. c ...
* Copyright (c) Colorado School of Mines, 2010. * All rights reserved. c................................................................... subroutine plasol(n,xr,xs,zs,c,v,x,noconv) c........................................................................... c Plasol finds the coordinates of the ray in the ...
! @@name: nowait.1f ! @@type: F-fixed ! @@compilable: yes ! @@linkable: no ! @@expect: success SUBROUTINE NOWAIT_EXAMPLE(N, M, A, B, Y, Z) INTEGER N, M REAL A(*), B(*), Y(*), Z(*) INTEGER I !$OMP PARALLEL !$OMP DO DO I=2,N B(I) = (A(I) + A(I-1)) / 2.0 ENDDO ...
subroutine crs_proc( i, de, d_crs ) implicit none integer i real*8 de, d_crs write (6,1) write (6,*) 'CRS_PROC: You must use your own routine crs_proc!' write (6,1) stop 1 format(80('*')) end
C MEMBER SU1626 C (from old member FCSU1626) C SUBROUTINE SU1626(WORK,IUSEW,LEFTW,IERR) C C--------------------------------------------------------------------- C SUBROUTINE TO GET PARAMETERS, TIME-SERIES, AND CARRYOVER VALUES C FOR SCHEME/UTILITY #16 - RAINFALL/EVAPORATION ON SURFACE UTILITY C----------------...
SUBROUTINE FCLOSE(I,NNB) * * * Force & first derivative from close bodies. * ------------------------------------------- * INCLUDE 'common6.h' REAL*8 A(9) * * * Initialize F & FDOT for body #I. DO 10 K = 1,3 F(K,I) = 0.0D0 FDOT(K,I) = 0.0D0 10 CONTINUE *...
SUBROUTINE G13DBV(A,IA,B,IB,N) C MARK 11 RELEASE. NAG COPYRIGHT 1983. C MARK 11.5(F77) REVISED. (SEPT 1985.) C C COPIES UPPER TRIANGLE OF TOP LEFT (N,N) SQUARE C OF MATRIX A INTO FULL SYMMETRIC FORM IN TOP LEFT C (N,N) SQUARE IN MATRIX B. A AND B MAY BE C IDENTICAL C C .. S...
PROGRAM CCPRC 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 (IERRF=6, LU...
Subroutine CPF(X,Y,WR,WI) C------------------------------------------------- C "CPF": Complex Probability Function C ......................................................... C . Subroutine to Compute the Complex . C . Probability Function W(z=X+iY) . C . ...
#include "cppdefs.h" MODULE esmf_roms_mod #if defined MODEL_COUPLING && defined ESMF_LIB ! !svn $Id: esmf_roms.F 889 2018-02-10 03:32:52Z arango $ !======================================================================= ! Copyright (c) 2002-2018 The ROMS/TOMS Group ! ! Licensed under ...
LOCAL INCLUDE 'MODSP.INC' C Local include for MODSP INCLUDE 'INCS:PMAD.INC' INTEGER MAXGAU PARAMETER (MAXGAU = 9999) C HOLLERITH XNAME1(3), XCLAS1(2), XNAME2(3), XCLAS2(2), XNAMOU(3), * XINLST(12) REAL XSEQ1, XDISK1, XSEQ2, XDISK2, XSEQO,...
real*8 function dssenu_ctabget(wh,st,mx) *********************************************************************** *** Interpolates in capture rate tables and returns the capture *** rate (apart from the cross section) *** Input: wh ('su' or 'ea' for sun or earth) *** st, spin-type (1:spin-independent, 2:sp...
C This program calculates the time evolution of the membrane potential C at a node of Ranvier with left-shifted NaV currents. C shft = the left shift of the affected channels in mV C LS = the fraction of affected channels at a node program singlenodeHH implicit none C Initializes variables integer ima...
C C $Id: plchmq.f,v 1.15 2008-07-27 00:17:20 haley Exp $ C C Copyright (C) 2000 C University Corporation for Atmospheric Research C All Rights Reserved C C The use of this Software is governed by a License Agreem...
! ***************** SUBROUTINE EXTMSK ! ***************** ! &(MASKBR,MASK,NETAGE,NELEB) ! !*********************************************************************** ! TELEMAC3D V7P0 21/08/2010 !****************************...
SUBROUTINE AXLINE( XS0, YS0, SLEN, THETAS, XMIN, XMAX, & NLINC, NSINC, TICL, TICS, TICANG, ITYPTC, TICLAB, TICANL, & ANGLAB, SIZLAB, NPOS, NDEC, IPOW, ITYPLB, MAX_NLABCH, AXMOD, & XOFF, LEADZERO, GRID, XTICARR, YTICARR, NUMTIC, MAXTIC, NXYS, & XVMIN, XVMAX, XLAXIS, XUAXIS, XS1, YS1 ) C C AXL...
SUBROUTINE ALSASK (ALIST, KEYWRD, TYPE, DIM, IERR) C----------------------------------------------------------------------- C! Inquire about an entry in an Associative list (ALIST) C# Utility C----------------------------------------------------------------------- C; Copyright (C) 1995 C; Associated Universiti...
PROGRAM LABQPT IMPLICIT NONE C ******************************************************************** C * * C * This software is an unpublished work containing confidential and * C * proprietary information of Birkbeck College. Use, disclosure, ...
C MODULE PUOPT2 C SUBROUTINE PUOPT2 (P,MP,C,MC,T,MT,TS,MTS,NUMOP,IERR) C....................................... C THIS ROUTINE CALLS THE PUNCH CARD ROUTINES FOR C OPERATIONS 20 THRU 40. C....................................... C ROUTINE WRITTEN BY... C ERIC ANDERSON - HRL APRIL 1981 C........................
SUBROUTINE GETBAS IMPLICIT REAL*8 (A-H,O-Z) DIMENSION I30(200),LICT(400) COMMON/COM101/NATOM,N3N COMMON/COM104/NT,NCASE,ISPOT(150) COMMON/COM105/IOFF(256),IPRNT COMMON/COM106/PTR(3,3,48) COMMON/COM107/ICT(150,48) C 1 FORMAT(/,2X,' ICT MATRIX, ISYM = ',I5/) 2 FORMA...
!------------------------------------------------------------------------! ! 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 ...
SUBROUTINE STRIR1 C C C***** C THIS ROUTINE IS PHASE I OF STRESS DATA RECOVERY FOR THE TRIANGULAR C CROSS SECTION RING C***** C C C ECPT FOR THE TRIANGULAR RING C C C TYPE C ECPT( 1) ELEMENT IDENTIFICATION I C ECPT(...
REAL FUNCTION PSLAMCH10( ICTXT, CMACH ) * include "mpif.h" * -- ScaLAPACK auxiliary routine (version 1.0) -- * University of Tennessee, Knoxville, Oak Ridge National Laboratory, * and University of California, Berkeley. * February 28, 1995 * * .. Scalar Arguments .. CHAR...
SUBROUTINE OFPPUN (IBUF,BUF,NWDS,IOPT,IDD,PNCHED) C C MAIN OFP PUNCH ROUTINE FOR PUNCHING OF DATA LINES ONLY C C $MIXED_FORMATS C LOGICAL TEMPER,PNCHED INTEGER IBUF(NWDS),VECTOR,ID(50),OF(56) REAL BUF(NWDS),RID(50) COMMON /SYSTEM/ SYSBUF,L,DUM53(53),ITHERM,D...
program TTBXD implicit none ! Couples source term of Ahn 1998 model to multi-region analysis with longitudinal dispersion ! Alex Salazar ! University of California Berkeley ! Department of Nuclear Engineering ! Nuclear Waste Management Laboratory ! ! Based on earlier code developed for bateman equations ...
subroutine disp_ono(yplot) use size_mod implicit none integer nmax, npoints, nline, i, nsum, n, kmax, kn, jmid integer pgopen, pgbeg, ier, nlevmax, iflag, numb integer nxmx, nymx, nnodex, nnodey, j, jplot parameter (nxmx = nmodesmax) paramete...
SUBROUTINE ABMAT(ALPA,BETA,ALP,BET,LORD) IMPLICIT REAL*8 (A-H,O-Z) DIMENSION ALPA(NBATRI),BETA(NBATRI) DIMENSION ALP(NBATRI),BET(NBATRI),LORD(NBASIS) CHARACTER*8 SCFTYP,CITYP,DERTYP COMMON/BASIS/NBASIS,NTRI,NST,NSYM,NBFAO,NBFSO,NBATRI COMMON/COUPL/ALPC(15),BETC(15),ALPT(15),BET...
C ////////////////////////////////////////////////////////////// C BEND (OPT2) (NUMB) SUBROUTINE HIJS2(NAD,K1,K2,K3,XA,H11,H21,H31,H22,H32,H33) IMPLICIT REAL*8 (A-H,O-Z) DIMENSION XA(NAD,3),V1(3),V2(3),V3(3),E21(3),E23(3) DIMENSION H11(3,3),H21(3,3),H31(3,3),H22(3,3),H32(3,3),H33(3,3) ...
SUBROUTINE iau_ATICQN ( RI, DI, ASTROM, N, B, RC, DC ) *+ * - - - - - - - - - - - * i a u _ A T I C Q N * - - - - - - - - - - - * * Quick CIRS to ICRS astrometric place transformation, given the * star-independent astrometry parameters plus a list of light- * deflecting bodies. * * Use of this routine is ...
C $Header: /u/gcmpack/MITgcm_contrib/llc_hires/llc_4320/code-async/asyncio_register_field_code.F,v 1.1 2013/09/20 12:38:03 dimitri Exp $ C Register a field code with the ASYNCIO layer SUBROUTINE ASYNCIO_REGISTER_FIELD_CODE ( fCode ) IMPLICIT NONE CHARACTER*(*) fCode RETURN END
SUBROUTINE CREATE_COUNTER_LIST( string, array, nmax, status ) * * This software was developed by the Thermal Modeling and Analysis * Project(TMAP) of the National Oceanographic and Atmospheric * Administration's (NOAA) Pacific Marine Environmental Lab(PMEL), * hereafter referred to as NOAA/PMEL/TMAP. * * Access a...
INTEGER A$BUF(200) INTEGER ARG(128) INTEGER I,OWNER(3),CODE,MAXLE0,LEVEL,ENTRY(32) INTEGER FOLLOW,GETARG,TSCAN$ INTEGER USAGE(45) INTEGER AAAAA0 INTEGER AAAAB0 INTEGER PARSCL INTEGER AAAAC0(8) INTEGER AAAAD0(20) INTEGER AAAAE0(19) INTEGER AAAAF0 ...
module DiffEq implicit none integer :: nsize,msize integer,private :: i,j,k type state ! state of ode real :: t real, dimension(:), allocatable :: x real, dimension(:,:), allocatable :: y integer :: step endtype state integer, parameter :: order = 2 ! Order of ODE in deriv() - input parameter real, dimension(:), ...
program pdb_amber2nwchem implicit none #include "pre_common.fh" character(len=1024) :: inputfile character(len=1024) :: outputfile character(len=100) :: line character(len=12) :: l1 ! characters 1-12 character(len=6) :: catm(3,1) ! characters 13-16 character...
parameter(nmax=1000000) real w(nmax),xf(nmax),sn(nmax),sb(nmax),sr(nmax) real*8 dra(nmax),ddec(nmax),drad,dx1,dx2 integer iok(nmax),iok2(nmax) parameter(radtodeg=57.29578) rad=5.5 rad=2.0 wc=2.5 open(unit=1,file='d4',status='old') n=0 do i=1,nmax ...
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC C C FFTPACK 5.0 C Copyright (C) 1995-2004, Scientific Computing Division, C University Corporation for Atmospheric Research C Licensed under the GNU General Public License (GPL) C C Authors: Paul N. Swarztrauber and Richard A. Valent C ...
SUBROUTINE ALG06(R1,R2,X1,X2,H,S,VM,TB1,TB2,W,XK,SCLFAC,SPEED,SPD 1FAC,G,EJ,HMIN,NSTRMS,PI) C DIMENSION R1(1),R2(1),X1(1),X2(1),H(1),S(1),VM(1),TB1(1),TB2(1),W( 11) DIMENSION R(150),W2D(150),W3D(150),XX1(150),XX2(150),XX3(150),XX5( 19,9),B(150) C EQUIVALENCE (XX2(1),XX5(1,1)) C ...
c ===================================================================== c pgm: mrrcv (rdx,mpo,po) c c in: rdx .... array of 8-character identifiers c out: mpo .... maximum words in array po c in: po .... rainfall-runoff curve parameters c ==============================================================...
Subroutine Get_SupportedDOFs(Sx,mSup,mQc1,mQc2,jCont,iOut) Implicit Real(kind=8) (a-h,o-z) !========================================================================================== include 'Drill.h' include 'Examples.h' include 'SizeVar.h' !========================================================================...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11! subroutine extract_substr( String, mxCount,count,substr) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11! ! Purpose: to extract substring indicated "" ! Input: STRING a string ! Ouput: COUNT the number...
c-------------------------------------------------------------------------------------------------c program project_euler_108 c-------------------------------------------------------------------------------------------------c c ...
!Single Line Comment program commentyourcode Print *, "You should comment your code." end program commentyourcode
SUBROUTINE ZCLWAV(GRAT,ORDER,CARPOS,CAP,COEF,SAMPLE, $ DELTAS,NS,WAVE,ISTAT) * * Module number: * * Module name: ZCLWAV * * Keyphrase: * ---------- * Compute HRS wavelength array * Description: * ------------ * This routine computes the wavelengths by solving the * dispersion rel...
double precision function Helm(x,d,idos) include 'P1' include 'dos.inc' include 'const.inc' integer idos,jlo,kl,klo,ku,mint double precision x,d,c2,c4,dx,dy,fein,sfac,u,v,xl,xu,y,yl,yu C Empirical low-T behavior of Sin double precision, parameter :: asin=23.594, bsin=6.1 C ...
c This is the problem definition for the Two layer Burgers' equation: c PDE: u_t = eps*u_xx - u*u_x, with initial and boundary conditions c defined from the exact solution, defined as follows: c Let a1 = (-x + 0.5d0 - 4.95d0 * t) * 0.5d-1 / eps, c a2 = (-x + 0.5d0 - 0.75d0 * t) * 0...
program epcsolver implicit none c * EPCSOLVER solves for SNe parameters [p1] and [p2] assuming that they c * depend on the [epc] coefficient c * { epc = p1 - p2 }. c * c * Benjamin Sadler, Florida State University 01/05/12 c * modified 051712: using [utail] (...
c main code a=5 print *, 'a = ',a call nnsteps(a) print *, 'a = ',a stop end
program playf implicit logical (a-z) c Program to implement the classic "Playfair" cipher. c The key, which is to be read into the square sequentially c into each row from left to right, contains 26 letters. c Throughout the cipher, all occurrences of J are changed c to I. c c Plaintex...