code
stringlengths
2
1.05M
repo_name
stringlengths
5
101
path
stringlengths
4
991
language
stringclasses
3 values
license
stringclasses
5 values
size
int64
2
1.05M
SUBROUTINE DPOTRS( UPLO, N, NRHS, A, LDA, B, LDB, INFO ) * * -- LAPACK routine (version 3.0) -- * Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., * Courant Institute, Argonne National Lab, and Rice University * March 31, 1993 * * .. Scalar Arguments .. CHARACTER UPLO ...
tcew/nodal-dg
nudg++/trunk/BlasLapack/dpotrs.f
FORTRAN
mit
3,691
*> \brief \b CGET02 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE CGET02( TRANS, M, N, NRHS, A, LDA, X, LDX, B, LDB, * RWORK, RESID ) * * ...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/EIG/cget02.f
FORTRAN
bsd-3-clause
5,954
program test_coord_transform use ModCoordTransform, ONLY: test => test_coord_transform implicit none call test end program test_coord_transform subroutine CON_stop(StringError) implicit none character (len=*), intent(in) :: StringError write(*,'(a)')StringError stop end subroutine CON_stop
dpawlows/MGITM
share/Library/test/test_coord_transform.f90
FORTRAN
mit
315
c c-------------- c drvAllreduce c-------------- c subroutine drvAllreduce ( eachproc, result, m ) c include "common.h" include "mpif.h" c dimension eachproc(m), result(m) c if (numpe > 1) then if(impistat.eq.1) then iAllR = iAllR+1 ...
PHASTA/phasta
phSolver/common/mpitools.f
FORTRAN
bsd-3-clause
6,404
! This file is part of RMPCDMD ! Copyright (c) 2017 Pierre de Buyl and contributors ! License: BSD 3-clause (see file LICENSE) !> Routines to compute planar concentration and velocity profiles module planar_fields use common use particle_system use cell_system use neighbor_list implicit none private p...
pdebuyl-lab/RMPCDMD
src/planar_fields.f90
FORTRAN
bsd-3-clause
4,359
C LAST UPDATE 11/12/92 C+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ C SUBROUTINE COVSRT(COVAR,NCVM,MA,LISTA,MFIT) IMPLICIT NONE C C Purpose: Given the covariance matrix COVAR of a fit for MFIT of MA C total parameters and their ordering LISTA(I) repack the C ...
scattering-central/CCP13
software/libs/mlib/covsrt.f
FORTRAN
bsd-3-clause
1,562
*> \brief \b ZPBT05 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE ZPBT05( UPLO, N, KD, NRHS, AB, LDAB, B, LDB, X, LDX, * XACT, LDXACT, FERR, BERR,...
buffer51/OpenBLAS
lapack-netlib/TESTING/LIN/zpbt05.f
FORTRAN
bsd-3-clause
9,421
*> \brief \b SGEQRT2 computes a QR factorization of a general real or complex matrix using the compact WY representation of Q. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SGEQRT2 + dependencies...
mverleg/1957
lib/lapack/sgeqrt2.f
FORTRAN
bsd-3-clause
6,208
module SUNDMAN ! Description: ! Contains the event functions for the regularized formulations when ! integrated with the XRA15 solver, and auxiliary routines. ! ! Author: ! Davide Amato ! Space Dynamics Group - Technical University of Madrid ! d.amato@upm.es ! ! ========================================...
dkamato/NAPLES
sundman.f90
FORTRAN
mit
6,552
PROGRAM meulera ! Code converted using TO_F90 by Alan Miller ! Date: 2004-06-28 Time: 12:58:11 ! ========================================================== ! Purpose: This program computes Euler number En using ! subroutine EULERA ! Example: Compute Euler number En for n = 0,2,...,1...
ekadhanda/bin
MATLAB/f2matlab/comp_spec_func/meulera.f90
FORTRAN
mit
1,608
program open_ro !! NOTE: chmod is non-standard, and will crash ifort runtime. use pathlib, only : unlink implicit none (type, external) character(*),parameter :: fnro='ro.txt' logical :: exists call create_ro(fnro) call unlink(fnro) !! this is MY unlink, since the GNU extension is non-standard and crashes ifort run...
scienceopen/fortran2015-examples
io/fileopen-readonly.f90
FORTRAN
mit
774
program test_str use types, only: dp use utils, only: assert, str implicit none call assert(str(5) == "5") call assert(str(5) /= " 5") call assert(str(12) == "12") call assert(str(12345) == "12345") call assert(str(12.0_dp) == "12.000000") call assert(str(12.48977_dp, 1) == "12.5") call assert(str(12.48977_dp, 2) == "...
certik/fortran-utils
tests/strings/test_str.f90
FORTRAN
mit
681
*> \brief \b quad_dlamch * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * DOUBLE PRECISION FUNCTION quad_dlamch( CMACH ) * * *> \par Purpose: * ============= *> *> \verbatim *> *> quad_...
devsim/devsim
external/getrf/dlamch.f
FORTRAN
apache-2.0
5,421
C LAST UPDATE 17/02/97 C+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ C SUBROUTINE sector IMPLICIT NONE C C PURPOSE: Perform partial/whole radial scan on an image. C INCLUDE 'COMMON.FOR' C C Calls 11: IMDISP , ASKYES , WFRAME , RFRAME , IMSIZE , OUTFIL C GET...
scattering-central/CCP13
bsl/sector.f
FORTRAN
bsd-3-clause
8,696
! linkedlist.f90 -- ! Include file for defining linked lists where each element holds ! the same kind of data ! ! See the example/test program for the way to use this ! ! Note: ! You should only use pointer variables of this type, no ! ordinary variables, as sometimes the memory pointed to ! ...
mapmeld/fortran-machine
flibs-0.9/flibs/src/cgi/linkedlist.f90
FORTRAN
bsd-3-clause
6,060
! RUN: %S/test_modfile.sh %s %t %f18 ! Test resolution of type-bound generics. module m1 type :: t contains procedure, pass(x) :: add1 => add procedure, nopass :: add2 => add procedure :: add_real generic :: g => add1, add2, add_real end type contains integer(8) pure function add(x, y) clas...
google/llvm-propeller
flang/test/Semantics/modfile34.f90
FORTRAN
apache-2.0
2,358
SUBROUTINE ZTRSEN( JOB, COMPQ, SELECT, N, T, LDT, Q, LDQ, W, M, S, $ SEP, WORK, LWORK, INFO ) * * -- LAPACK routine (version 2.0) -- * Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., * Courant Institute, Argonne National Lab, and Rice University * March 31, 1993 * *...
mcflugen/roms-lite
src/roms/Lib/ARPACK/LAPACK/ztrsen.f
FORTRAN
mit
10,906
module imports !*Brief Description:* This module contains all the subroutines required to !import fields, previous model results, etc. !*LICENSE:* ! ! ! !*Full Description:* ! ! use arrays use diagnostics use geometry use indices use other_consts use ventilation implicit none !Module parameters ...
LungNoodle/lungsim
src/lib/imports.f90
FORTRAN
apache-2.0
4,095
C Copyright(C) 2009-2017 National Technology & Engineering Solutions C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with C NTESS, the U.S. Government retains certain rights in this software. C C Redistribution and use in source and binary forms, with or without C modification, are permitte...
nschloe/seacas
packages/seacas/libraries/suplib/addv.f
FORTRAN
bsd-3-clause
2,702
program volatile_doctest use penf_stringify use penf print "(A)", str(fm=FR4P, n=1._R4P) endprogram volatile_doctest
szaghi/IR_Precision
src/tests/penf_stringify/penf_stringify-doctest-9.f90
FORTRAN
mit
118
subroutine readsol !! ~ ~ ~ PURPOSE ~ ~ ~ !! this subroutine reads data from the HRU/subbasin soil properties file !! (.sol). This file contains data related to soil physical properties and !! general chemical properties. !! ~ ~ ~ INCOMING VARIABLES ~ ~ ~ !! name |units ...
grmpfhmbl/swatmodel-trusty64
src/readsol.f
FORTRAN
cc0-1.0
11,483
c gasb calcula las preiones parciales y sus derivadas con c respectoa la temperatura y la presion.es una modificacion c de la rutina gas. c dp es la derivada de p respecto a t, ddp respecto a pe. subroutine gasb(theta,pe,p,dp,ddp) c ............................................................... parameter...
aasensio/pySIR
pysir/src/gasb.f
FORTRAN
mit
9,349
SUBROUTINE RFFTB1 (N,C,CH,WA,IFAC) IMPLICIT NONE INTEGER :: N, IFAC(*), I, IDL1, IDO, IP, IW, IX2, IX3, IX4, K1 INTEGER :: L1, L2, NA, NF REAL :: C(*), CH(*), WA(*) NF = IFAC(2) NA = 0 L1 = 1 IW = 1 DO 116 K1=1,NF IP = IFAC(K1+2) L2 = IP*L1 ...
Eric89GXL/scipy
scipy/fftpack/src/fftpack/rfftb1.f
FORTRAN
bsd-3-clause
13,399
! { dg-do compile } ! { dg-options "-Wall" } ! PR fortran/49693 - this used to cause a spurious warning for the ! variable in the common block. ! Test case by Stephan Kramer. module foo implicit none integer:: a, b common a end module foo ! { dg-final { cleanup-modules "foo" } }
the-linix-project/linix-kernel-source
gccsrc/gcc-4.7.2/gcc/testsuite/gfortran.dg/common_17.f90
FORTRAN
bsd-2-clause
286
!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ! % ! Copyright (C) 2015 Adrian Martinez Vargas % ! % ! This software may be m...
opengeostat/pygslib
for_code/bicalib.f90
FORTRAN
mit
11,278
module MOD_PLOTANF contains C********** MODULNAME: PLOTANF ******* 24/03/87 19.38.27.****** 21 KARTEN SUBROUTINE PLOTANF (KANAL,NPLOT,NHEAD,NX,NY, $ B1,B2,B3,B4,B5,B6,C1,C2,C3,C4,C5,C6, $ X,Y,N,ISYMBOL ) use MOD_PLOTTAB implicit real*8(a-h,o-z) real*8 X(*),Y(...
rtagirov/nessy
src/plotanf.for
FORTRAN
mit
1,016
\ loops.f - looping and branching compilation words \ ------------------------------------------------------------------------ .( loading loops.f ) cr \ ------------------------------------------------------------------------ \ initialize a forward branch : >mark ( --- a1 ) here ...
mark4th/t4
src/ext/loops.f
FORTRAN
mit
5,429
*> \brief \b DTRMV * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE DTRMV(UPLO,TRANS,DIAG,N,A,LDA,X,INCX) * * .. Scalar Arguments .. * INTEGER INCX,LDA,N * ...
rangsimanketkaew/NWChem
src/blas/double/dtrmv.f
FORTRAN
mit
10,148
c======================================================================= c FFTLog c computes the discrete Fast Fourier Transform c or Fast Hankel Transform (of arbitrary real index) c of a periodic logarithmic sequence. c c---Start of revision history------------------------------------------- c c Original ver...
coccoinomane/fftlog-f90
fftlog.f
FORTRAN
mit
29,375
SUBROUTINE LAPUT C PROPAGATE THE SYMBOLS OF ALL STATES IN THE QUEUE C INCLUDE 'PARS.f' INCLUDE 'SETS.f' INCLUDE 'STAS.f' INTEGER*2 I = ,STATEB ! A STATE OF THE QUEUE EXTERNAL LACOPY C I = FSTA - 1 DO 7 STATEB=2,I CALL SEPUSH (STAMAR,STATEB,L...
gfis/jextra
legacy/bofor_2005/LAPUT.f
FORTRAN
apache-2.0
630
subroutine inidat(iniflg) c c + + + PURPOSE + + + c c Initializes common block variables at the beginning of a c hillslope version simulation and for every hillslope of a c hillslope/watershed simulation c c Called from: MAIN c Author(s): Ascough II, Livingston c Reference in...
akrherz/idep
src/wepp2010.1/inidat.for
FORTRAN
mit
27,010
*> \brief \b ILAENV * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * INTEGER FUNCTION ILAENV( ISPEC, NAME, OPTS, N1, N2, N3, * N4 ) * * .. Scalar A...
buffer51/OpenBLAS
lapack-netlib/TESTING/EIG/ilaenv.f
FORTRAN
bsd-3-clause
10,574
real*8 function SHPowerL(c, l) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! This function will compute the dimensionless power at ! degree l corresponding to the spherical harmonic coefficients c(i, l, m) ! ! Power = Sum_{m=0}^l ( C1lm**2 + C2lm**2 ) ! ! Calling Parameters !...
pletnes/SHTOOLS
src/SHPowerSpectra.f90
FORTRAN
bsd-3-clause
13,605
*> \brief \b CSTEDC * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CSTEDC + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/csted...
mverleg/1957
lib/lapack/cstedc.f
FORTRAN
bsd-3-clause
16,064
SUBROUTINE GD_OFIL ( filnam, wrtflg, shrflg, igdfln, navsz, + rnvblk, ianlsz, anlblk, ihdrsz, maxgrd, + iret ) C************************************************************************ C* GD_OFIL * C* * C* This subroutine opens an existing GEMPAK grid file. * C* * ...
sgdecker/pygempak
gdofil.f
FORTRAN
apache-2.0
4,745
C*PGSCRL -- scroll window C%void cpgscrl(float dx, float dy); C+ SUBROUTINE PGSCRL (DX, DY) REAL DX, DY C C This routine moves the window in world-coordinate space while C leaving the viewport unchanged. On devices that have the C capability, the pixels within the viewport are scrolled C horizontal...
RobinsonLab/pgplot
src/pgscrl.f
FORTRAN
apache-2.0
3,035
subroutine square5_setaux(blockno, mx,my,mbc, & xlower,ylower,dx,dy, area, edgelengths, & xp,yp,zp, aux, maux) implicit none integer mbc, mx,my, maux, blockno double precision dx,dy, xlower, ylower double precision aux(maux,1-mbc:mx+mbc,1-mbc:my+mbc) double prec...
ForestClaw/forestclaw
applications/paper/square/user_5.0/square_setaux.f
FORTRAN
bsd-2-clause
3,699
!RUN: %S/test_any.sh %s %flang %t ! Tests -fget-definition with fixed form. module m2 private :: f contains pure subroutine s (x, yyy) bind(c) intent(in) :: * x intent(inout) :: yyy contains pure subroutine ss end subroutine end subroutine ...
endlessm/chromium-browser
third_party/llvm/flang/test/Semantics/getdefinition02.f
FORTRAN
bsd-3-clause
792
program volatile_doctest use penf_stringify use penf print "(A)", str(n=[1_I8P, -2_I8P]) endprogram volatile_doctest
szaghi/IR_Precision
src/tests/penf_stringify/penf_stringify-doctest-47.f90
FORTRAN
mit
118
*> \brief \b SERRLQT * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE SERRLQT( PATH, NUNIT ) * * .. Scalar Arguments .. * CHARACTER*3 PATH * INTEGER ...
grisuthedragon/OpenBLAS
lapack-netlib/TESTING/LIN/serrlqt.f
FORTRAN
bsd-3-clause
5,640
*> \brief \b SGTRFS * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SGTRFS + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/sgtrf...
LighthouseHPC/lighthouse
src/Dlighthouse/media/Doxygen/lapack/sgtrfs.f
FORTRAN
mit
14,757
SUBROUTINE DPOTRF_F95( A, UPLO, RCOND, NORM, INFO ) ! ! -- LAPACK95 interface driver routine (version 3.0) -- ! UNI-C, Denmark; Univ. of Tennessee, USA; NAG Ltd., UK ! September, 2000 ! ! .. USE STATEMENTS .. USE LA_PRECISION, ONLY: WP => DP USE LA_AUXMOD, ONLY: ERINFO, LSAME USE F77_LAPACK, ONLY: PO...
sradanov/flyingpigeon
flyingpigeon/Fsrc/Lapack95/SRC/la_dpotrf.f90
FORTRAN
apache-2.0
5,927
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...
rpepr/rpEPR
fftpack5/r1f4kb.f
FORTRAN
bsd-2-clause
2,939
C Copyright(C) 2014-2017 National Technology & Engineering Solutions of C Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with C NTESS, the U.S. Government retains certain rights in this software. C C Redistribution and use in source and binary forms, with or without C modification, ar...
nschloe/seacas
packages/seacas/applications/fastq/sort.f
FORTRAN
bsd-3-clause
2,863
C Copyright (c) 2007-2017 National Technology & Engineering Solutions of C Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with C NTESS, the U.S. Government retains certain rights in this software. C C Redistribution and use in source and binary forms, with or without C modification, are permitted provi...
nschloe/seacas
packages/seacas/applications/mapvar/srchs.f
FORTRAN
bsd-3-clause
7,823
*> \brief \b CLA_HEAMV * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CLA_HEAMV + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine...
jmfranck/pyspecdata
lapack-3.4.0/SRC/cla_heamv.f
FORTRAN
bsd-3-clause
13,026
*> \brief \b CLA_SYRCOND_C * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CLA_SYRCOND_C + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack...
jmfranck/pyspecdata
lapack-3.4.0/SRC/cla_syrcond_c.f
FORTRAN
bsd-3-clause
8,373
subroutine bsplvd ( t, k, x, left, a, dbiatx, nderiv ) c from * a practical guide to splines * by c. de Boor (7 may 92) calls bsplvb calculates value and deriv.s of all b-splines which do not vanish at x c c****** i n p u t ****** c t the knot array, of length left+k (at least) c k the order of...
ndarmage/pppack
src/pppack/f77/pages.cs.wisc.edu/deboor/pgs/bsplvd.f
FORTRAN
mit
4,777
subroutine furlea( i spavac,time1,time0, m ii) c c + + + PURPOSE + + + c This subprogram allows for lower end advance during the depletion c and recession phases. c c Called from FURREC c Author(s): E. R. Kottwitz c Reference in U...
akrherz/idep
src/wepp2010.1/furlea.for
FORTRAN
mit
4,261
function tair(hr,jj) !! ~ ~ ~ PURPOSE ~ ~ ~ !! this function approximates hourly air temperature from daily max and !! min temperatures as documented by Campbell (1985) !! ~ ~ ~ INCOMING VARIABLES ~ ~ ~ !! name |units |definition !! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ...
grmpfhmbl/swatmodel-trusty64
src/tair.f
FORTRAN
cc0-1.0
2,233
program t implicit none C inquire stmt all 'action' specifiers (write) ! note: results differ by compiler character*9::a character*3::b,c,d open (56, status='new', file='tmpfile', action='write') inquire (56, action=a, read=b, write=c, readwrite=d) print *,a print *,b ...
thender/ppp
tests/t0314x/t.f
FORTRAN
apache-2.0
401
SUBROUTINE CPTEQR( COMPZ, N, D, E, Z, LDZ, WORK, INFO ) * * -- LAPACK routine (instrumented to count operations, version 3.0) -- * Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., * Courant Institute, Argonne National Lab, and Rice University * October 31, 1999 * * .. Scalar Arguments ...
dxander/libflame
lapack-test/lapack-timing/EIG/EIGSRC/cpteqr.f
FORTRAN
bsd-3-clause
6,432
* * Definition: * =========== * * SUBROUTINE DGELQ( M, N, A, LDA, T, TSIZE, WORK, LWORK, * INFO ) * * .. Scalar Arguments .. * INTEGER INFO, LDA, M, N, TSIZE, LWORK * .. * .. Array Arguments .. * DOUBLE PRECISION A( LDA, * ), T( * ), WORK( * ) * ...
buffer51/OpenBLAS
lapack-netlib/SRC/dgelq.f
FORTRAN
bsd-3-clause
9,576
*> \brief \b ZROTG * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE ZROTG(CA,CB,C,S) * * .. Scalar Arguments .. * COMPLEX*16 CA,CB,S * DOUBLE PRECISION C * ...
xianyi/OpenBLAS
lapack-netlib/BLAS/SRC/zrotg.f
FORTRAN
bsd-3-clause
2,120
*> \brief \b SERRRQ * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE SERRRQ( PATH, NUNIT ) * * .. Scalar Arguments .. * CHARACTER*3 PATH * INTEGER ...
grisuthedragon/OpenBLAS
lapack-netlib/TESTING/LIN/serrrq.f
FORTRAN
bsd-3-clause
9,389
*> \brief \b CLANGT returns the value of the 1-norm, Frobenius norm, infinity-norm, or the largest absolute value of any element of a general tridiagonal matrix. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly...
mverleg/1957
lib/lapack/clangt.f
FORTRAN
bsd-3-clause
6,134
*> \brief \b CLATB5 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE CLATB5( PATH, IMAT, N, TYPE, KL, KU, ANORM, MODE, * CNDNUM, DIST ) * * ...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/LIN/clatb5.f
FORTRAN
bsd-3-clause
5,684
subroutine engcal (energy,thick,xx,ener,maxint,ln,vol0) c implicit double precision (a-h,o-z) dp c common/bk02/ioofc,iphase,imass,lpar(9) common/cn3/ibbari,intgi,nmbfi,ithopi,ithcri,ithini,iengri, 1 ijinti dimension energy(ln,*),thick(ln,*),x...
imohame/hex
src/engcal.f
FORTRAN
mit
936
!---------------------------------------------------------------------------------------------- ! MODULE: CISWFType !> @author Marin Sapunar, Ruđer Bošković Institute !> @date July, 2017 ! ! DESCRIPTION: !> @brief Data type for holding a set of configuration interaction singles type wave functions. !> @details !! The m...
marin-sapunar/TurbomoleInterface
src/chemvars/CISWFType.f90
FORTRAN
mit
12,387
#define saveTSG .TRUE.
jinbow/Octopus
test/src.mitgcm/cppdefs.f90
FORTRAN
mit
23
great(k1,r1). great(ee1,p1). great(j1,dd1). great(ii1,ll1). great(q1,m1). great(h1,q1). great(r1,kk1). great(ee1,x1). great(bb1,o1). great(z1,u1). great(y1,aa1). great(f1,p1). great(dd1,o1). great(h1,kk1). great(z1,w1). great(k1,l1). great(h1,u1). great(q1,b1). great(e1,z1). great(ii1,d1). great(ee1,n1). great(r1,p1). ...
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_choline_noiseless/incremental1/train1.f
FORTRAN
apache-2.0
871
great_ne(v1,b1). great_ne(cc1,ee1). great_ne(bb1,w1). great_ne(z1,ii1). great_ne(cc1,dd1). great_ne(p1,x1). great_ne(m1,ii1). great_ne(p1,b1). great_ne(dd1,v1). great_ne(aa1,y1). great_ne(aa1,i1). great_ne(kk1,hh1). great_ne(k1,x1). great_ne(kk1,bb1). great_ne(ii1,i1). great_ne(k1,a1). great_ne(x1,b1). great_ne(z1,ee1)...
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_anime_noiseless/incremental3/train1.f
FORTRAN
apache-2.0
1,633
SUBROUTINE ZZTT (POS) C TABULATE TO POSITION 'POS' IN STREAM-OUTPUT C GF 16.07.1980 C INCLUDE 'PARS.f' INCLUDE 'TARS.f' INTEGER*2 POS C IF (FTAR .LE. POS) GOTO 1 CALL ZZTS(0) 1 CONTINUE IF (FTAR .EQ. POS) GOTO 2 CALL ZZTX (POS - FTAR) 2 CO...
gfis/jextra
legacy/bofor_2005/ZZTT.f
FORTRAN
apache-2.0
353
c $Id: lpbptf_b.f,v 1.1 2001/12/21 18:39:07 lombard Exp $ complex function lpbptf_b(f) c c ...... compute 17-23 sec Butterworth 10PBP Transfer Function c complex*8 citf c c include some useful stuff c c include 'numerical.inc' c*** c c include file for useful constants c c pi = 3.1415926535...
BIDS-collaborative/save-seistool
seistool/seistool/math/lpbptf_b.f
FORTRAN
bsd-2-clause
1,703
C C *+ clean_batch_report subroutine clean_batch_report( string ) C --------------------------------------- C C Report progress of clean to user C C Given: C character string to send character*(*) string C C The character string STRING is sent as a message to the user who owns C the current CLE...
CavendishAstrophysics/anmap
clean_lib/clean_batch_report.f
FORTRAN
bsd-3-clause
692
subroutine SHMTCouplingMatrix(Mmt, lmax, tapers, lwin, K, taper_wt) !------------------------------------------------------------------------------- ! ! This routine returns the multitaper coupling matrix, which relates the ! global input spectrum to the expectation of the localized multitaper ! spectrum. This i...
ian-r-rose/SHTOOLS
src/SHMTCouplingMatrix.f95
FORTRAN
bsd-3-clause
2,632
c c c ========================================================= subroutine qinit(maxmx,meqn,mbc,mx,xlower,dx,q,maux,aux) c ========================================================= c c # Set initial conditions for q. c c implicit double precision (a-h,o-z) dimension q(1-mbc:maxmx+mbc, meqn) ...
clawpack/clawpack-4.x
book/chap11/redlight/qinit.f
FORTRAN
bsd-3-clause
612
SUBROUTINE ZPTEQR( COMPZ, N, D, E, Z, LDZ, WORK, INFO ) * * -- LAPACK routine (instrumented to count operations, version 3.0) -- * Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., * Courant Institute, Argonne National Lab, and Rice University * October 31, 1999 * * .. Scalar Arguments ...
yaowee/libflame
lapack-test/lapack-timing/EIG/EIGSRC/zpteqr.f
FORTRAN
bsd-3-clause
6,471
SUBROUTINE CLAGSY( N, K, D, A, LDA, ISEED, WORK, INFO ) * * -- LAPACK auxiliary test routine (version 3.1) -- * Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. * November 2006 * * .. Scalar Arguments .. INTEGER INFO, K, LDA, N * .. * .. Array Arguments .. ...
shengren/magma-1.6.1
testing/matgen/clagsy.f
FORTRAN
bsd-3-clause
6,631
SUBROUTINE DDRVSP( DOTYPE, NN, NVAL, NRHS, THRESH, TSTERR, NMAX, $ A, AFAC, AINV, B, X, XACT, WORK, RWORK, IWORK, $ NOUT ) * * -- LAPACK test routine (version 3.1) -- * Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. * November 2006 * * .. ...
maxhutch/magma
testing/lin/ddrvsp.f
FORTRAN
bsd-3-clause
17,298
c Calculate determinant of square matrix c Author: Pearu Peterson, March 2002 c c prefixes: d,z,s,c (double,complex double,float,complex float) c suffixes: _c,_r (column major order,row major order) subroutine ddet_c(det,a,n,piv,info) integer n,piv(n),i,info double precision de...
WarrenWeckesser/scipy
scipy/linalg/src/det.f
FORTRAN
bsd-3-clause
4,787
c----------------------------------------------------------------------- c contains the functions needed for defining the PDE poroblems. c c first for the scalar 5-point and 7-point PDE c----------------------------------------------------------------------- function afun (x,y,z) real*8 afun, x,y,...
xywei/Mirana
src/latools/SPARSKIT2/MATGEN/FDIF/functns.f
FORTRAN
mit
4,017
*> \brief \b ILADLC scans a matrix for its last non-zero column. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ILADLC + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?for...
rangsimanketkaew/NWChem
src/rdmft/recycling/wfn1/lapack/lapack_routine/wfn1_ad_iladlc.f
FORTRAN
mit
3,088
MODULE mo_kind IMPLICIT NONE INTEGER, PARAMETER :: pd = 12 INTEGER, PARAMETER :: rd = 307 INTEGER, PARAMETER :: dp = SELECTED_REAL_KIND(pd,rd) CONTAINS END MODULE mo_kind
TUT-ISI/SALSA
mo_kind.f90
FORTRAN
apache-2.0
183
subroutine fc2d_geoclaw_fort_write_header(iframe,time, & meqn,maux,ngrids) implicit none integer iframe,meqn,maux,ngrids character*10 matname1 character*10 matname2 double precision time integer matunit1, matunit2, nstp,ipos,idigit matname1 = 'fort.qxxxx' ...
ForestClaw/forestclaw
src/solvers/fc2d_geoclaw/fclaw2d_source/fc2d_geoclaw_output_ascii_fort.f
FORTRAN
bsd-2-clause
3,239
C Copyright(C) 2009-2017 National Technology & Engineering Solutions of C Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with C NTESS, the U.S. Government retains certain rights in this software. C C Redistribution and use in source and binary forms, with or without C modification, are permitted provid...
nschloe/seacas
packages/seacas/applications/blot/lnlab.f
FORTRAN
bsd-3-clause
8,109
C+ENQ_V2_MXPOINT subroutine enq_v2_mxpoint ( max_point, s ) C C Returns the maximum permitted pointing error C C Returned: C Maximum pointing error (arcsecs) integer max_point C Status integer s C C Control tables version 2 support routine for EN...
CavendishAstrophysics/postmortem
src/samplib/enq_v2_mxpoint.f
FORTRAN
bsd-3-clause
519
program t print *,1.0.gt.0.1 print *,1.0> 0.1 print *,1.lt.2 print *,1<2 print *,1.ge.1.0 print *,1.le.1.0 print *,1.ne.2 print *,1/=2 print *,1==1.0 print *,1.eq.1.0 end program t
thender/ppp
tests/t0060r/t.f90
FORTRAN
apache-2.0
201
! ! Copyright 2017 SALMON developers ! ! 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.apache.org/licenses/LICENSE-2.0 ! ! Unless required by applicable law or agreed t...
jenkins-diana/test001
src/ARTED/GS/Occupation_Redistribution.f90
FORTRAN
apache-2.0
5,368
*> \brief \b SLQT04 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE SLQT04(M,N,NB,RESULT) * * .. Scalar Arguments .. * INTEGER M, N, NB, LDT * .. Return va...
grisuthedragon/OpenBLAS
lapack-netlib/TESTING/LIN/slqt04.f
FORTRAN
bsd-3-clause
6,617
SUBROUTINE SCHKSP( DOTYPE, NN, NVAL, NNS, NSVAL, THRESH, TSTERR, $ NMAX, A, AFAC, AINV, B, X, XACT, WORK, RWORK, $ IWORK, NOUT ) * * -- LAPACK test routine (version 3.1) -- * Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. * November 2006 * * ...
maxhutch/magma
testing/lin/schksp.f
FORTRAN
bsd-3-clause
15,642
! ! PM (Parallel Models) Programming Language ! ! Released under the MIT License (MIT) ! ! Copyright (c) Tim Bellerby, 2017 ! ! Permission is hereby granted, free of charge, to any person obtaining a copy ! of this software and associated documentation files (the "Software"), to deal ! in the Software without restricti...
TimBellerby/PM-Programming-Language
src/common/vmdefs.f90
FORTRAN
mit
25,396
c============================================================================== subroutine calc_xyz(l, b, d, x, y, z) c============================================================================== c c calculates the cartesian xyz positions in the Galaxy c given galactic latitude and longitude and distanc...
davidgardenier/frbpoppy
data/models/ne2001/calc_xyz.f
FORTRAN
mit
1,217
SUBROUTINE QUAD3D(X1,X2,SS) EXTERNAL H CALL QGAUSX(H,X1,X2,SS) RETURN END C FUNCTION F(ZZ) EXTERNAL FUNC COMMON /XYZ/ X,Y,Z Z=ZZ F=FUNC(X,Y,Z) RETURN END C FUNCTION G(YY) EXTERNAL Z1,Z2,F COMMON /XYZ/ X,Y,Z Y=YY ...
bamford/astrobamf
nr/fortran/quad3d.for
FORTRAN
mit
549
subroutine clht (mht,lm,n,iprec) c implicit double precision (a-h,o-z) dp c use mod_parameters common/vect16/ 1 ls(nelemg),u12(nelemg),u14(nelemg),u21(nelemg), > u22(nelemg),u24(nelemg), 2 u41(nelemg),u42(nelemg),u44(nelemg),q1(nelemg), > q2(...
imohame/hex
src/clht.f
FORTRAN
mit
1,616
c # ------------------------------------------------------------ c # Compute edge centered and cell-centered velocity fields c # c # Edge : Compute velocity from a stream function. c # This defines the average velocity at each edge c # c # u = curl \Psi (div u = 0) c # c #...
ForestClaw/forestclaw
applications/clawpack/transport/2d/sonic/velocity.f
FORTRAN
bsd-2-clause
8,622
!||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| module barotropic !BOP ! !MODULE: barotropic ! ! !DESCRIPTION: ! This module contains the routine for solving the barotropic ! equations. ! ! !REVISION HISTORY: ! CVS:$Id: barotropic.F90,v 1.17 2003/03/12 13:16:48 pwjones Exp $ ! CVS:$Name: POP...
app-on-mic/POP-2.0.1-opt
bench01opt_cpu_n1t1p1/compile/barotropic.f90
FORTRAN
bsd-2-clause
23,729
real*8 function vmacro (xprofile) c****************************************************************************** c This routine computes, by linear interpolation, a point along a c radial-tangential macroturbulence profile. This routine was written by c Suchitra Balachandran, and is based on the ...
alexji/moog17scat
Vmacro.f
FORTRAN
mit
5,664
!>------------------------------------------------ !! Defines model constants (e.g. gravity, and MAXFILELENGTH) !! !!------------------------------------------------ module icar_constants implicit none character(len=5) :: kVERSION_STRING = "2.0" ! string lengths integer, parameter :: kMAX_FILE_LENGTH...
NCAR/icar
src/constants/icar_constants.f90
FORTRAN
mit
9,853
c========================================================================= subroutine setgauges c========================================================================= implicit double precision (a-h,o-z) character*25 fname logical foundFile include "gauges.i" include "call.i" ...
clawpack/clawpack-4.x
amrclaw/2d/lib/setgauges.f
FORTRAN
bsd-3-clause
1,336
*> \brief \b CHETRI2 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CHETRI2 + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/chetri...
xianyi/OpenBLAS
lapack-netlib/SRC/chetri2.f
FORTRAN
bsd-3-clause
5,984
! RUN: %S/test_errors.sh %s %t %f18 ! case 1: ma_create_new_fun' was not declared a separate module procedure module m1 integer :: i interface ma module function ma_create_fun( ) result(this) integer this end function end interface end module submodule (m1) ma_submodule integer :: j contains ...
google/llvm-propeller
flang/test/Semantics/separate-mp01.f90
FORTRAN
apache-2.0
2,563
*> \brief \b CTPT02 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE CTPT02( UPLO, TRANS, DIAG, N, NRHS, AP, X, LDX, B, LDB, * WORK, RWORK, RESID ) *...
buffer51/OpenBLAS
lapack-netlib/TESTING/LIN/ctpt02.f
FORTRAN
bsd-3-clause
6,678
*> \brief \b ZLAVSY * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE ZLAVSY( UPLO, TRANS, DIAG, N, NRHS, A, LDA, IPIV, B, * LDB, INFO ) * * ...
yaowee/libflame
lapack-test/3.4.2/LIN/zlavsy.f
FORTRAN
bsd-3-clause
16,134
SUBROUTINE DCHKPT( DOTYPE, NN, NVAL, NNS, NSVAL, THRESH, TSTERR, $ A, D, E, B, X, XACT, WORK, RWORK, NOUT ) * * -- LAPACK test routine (version 3.1) -- * Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. * November 2006 * * .. Scalar Arguments .. LOGICAL ...
maxhutch/magma
testing/lin/dchkpt.f
FORTRAN
bsd-3-clause
14,349
program vort_calc USE NETCDF USE WRF_TOOLS use wrf_dims_vars use conversions_mod implicit none character(len=100) :: infile,outfile ! name of in/output files integer :: st_time,end_time,ntimes real, allocatable :: vort(:,:),ws(:,:,:) real, allocatable :: uwin...
tcermak/programingworkshop
Fortran/vorticity_cal/test/vort_calc.f
FORTRAN
mit
3,872
! -*- Mode: Fortran; -*- ! ! (C) 2011 by Argonne National Laboratory. ! See COPYRIGHT in top-level directory. ! ! Based on a sample program that triggered a segfault in MPICH program testf90_mpi use mpi_f08 implicit none integer errs integer :: ierr TYPE(MPI_Datatype) :: ctype, rk_mpi errs = 0 call...
syftalent/dist-sys-exercises-1
lec-6/mpi/mpich-3.1.4/test/mpi/f08/datatype/trf08.f90
FORTRAN
mit
606
program analyse use TrajReader implicit none !needed to open the trajectory file logical :: file_opened = .False. character(len=128) :: filename integer :: filename_len !data to be read from the trajectory file integer(c_int) timestep, N real(c_double), dimension(3) :: box_lo, box_hi, prd real(c_double), dimension(:...
niallj/ImperialNESS-Sep14
ConfigurationalTemperature/analysis/FORTRAN/.solution.f90
FORTRAN
mit
7,869
MODULE FILE_OPERATIONS IMPLICIT NONE CHARACTER (LEN = 9), PARAMETER :: NLTE_DIR_1 = 'NLTE/LEV/' CHARACTER (LEN = 9), PARAMETER :: NLTE_DIR_2 = 'NLTE/TRA/' CHARACTER (LEN = 9), PARAMETER :: NLTE_DIR_3 = 'NLTE/RAT/' CHARACTER (LEN = 8), PARAMETER :: LTE_DIR_1...
rtagirov/nessy
src/fileoper.for
FORTRAN
mit
8,488
* * $Id$ * subroutine integrate_kbppv3_ray(version,rlocal, > nrho,drho,lmax,locp,zv, > vp,wp,rho,f,cs,sn, > nray,G_ray,vl_ray,vnl_ray, > semicore,rho_sc_r,rho_sc_k_ray, > ...
rangsimanketkaew/NWChem
src/nwpw/pspw/kbpp/integrate_kbppv3_ray.f
FORTRAN
mit
7,328