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 DTIMMV( VNAME, NN, NVAL, NK, KVAL, NLDA, LDAVAL, $ TIMMIN, A, LB, B, C, RESLTS, LDR1, LDR2, NOUT ) * * -- LAPACK timing routine (version 3.0) -- * Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., * Courant Institute, Argonne National Lab, and Rice University *...
alishakiba/libflame
lapack-test/lapack-timing/LIN/dtimmv.f
FORTRAN
bsd-3-clause
8,461
*> \brief \b DPFTRS * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DPFTRS + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dpftrs.f...
grisuthedragon/OpenBLAS
lapack-netlib/SRC/dpftrs.f
FORTRAN
bsd-3-clause
8,435
c this file contains the following user-callable routines: c c c routine iddp_asvd computes the SVD, to a specified precision, c of an arbitrary matrix. This routine is randomized. c c ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc c c c c subroutine iddp_asvd(lw,eps,m...
kmspriyatham/symath
scipy/scipy/linalg/src/id_dist/src/iddp_asvd.f
FORTRAN
apache-2.0
5,132
program prog dimension nums(2,2) character s2s(2,2)*2 data ((nums(i,j), s2s(i,j), i=1,2,2), j=1,2), & ((nums(i,j), s2s(i,j), i=2,2,2), j=1,2) & /12, 'Xy', 34, 'Za', 56, 'cD', 78, 'eF'/ do i=1,2 do j=1,2 write(6, '(i2, x, a)') nums(i,j), s2s(i,j) end...
hickerson/bbn
fable/fable_sources/fable/test/valid/data_24.f
FORTRAN
mit
345
! ! fcc.f90 ! ! Copyright 2016 Bruno S <bruno@oac.unc.edu.ar> ! ! This program 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 Foundation; either version 2 of the License, or ! (at your option) any later version. ! ! This...
BrunoSanchez/fisicaComp
lab5/fcc.f90
FORTRAN
mit
1,793
MODULE enumeration_routines use num_types use symmetry, only: get_spaceGroup, rm_3d_operations use rational_mathematics, only: gcd implicit none private public make_inactive_table, getSpaceGroup_activeSitesOnly, adjust_crange_for_inactive_sites CONTAINS !!<summary>test</summary> !!<parameter name="concRanges" regu...
msg-byu/enumlib
src/enumeration_routines.f90
FORTRAN
mit
7,802
C*PGSFS -- set fill-area style C%void cpgsfs(int fs); C+ SUBROUTINE PGSFS (FS) INTEGER FS C C Set the Fill-Area Style attribute for subsequent area-fill by C PGPOLY, PGRECT, or PGCIRC. Four different styles are available: C solid (fill polygon with solid color of the current color-index), C out...
RobinsonLab/pgplot
src/pgsfs.f
FORTRAN
apache-2.0
1,481
! RUN: %B/test/Semantics/test_errors.sh %s %flang %t !OPTIONS: -fopenmp ! 2.4 An array section designates a subset of the elements in an array. Although ! Substring shares similar syntax but cannot be treated as valid array section. character*8 c, b character a b = "HIFROMPGI" c = b(2:7) !ERROR: Substrings...
endlessm/chromium-browser
third_party/llvm/flang/test/Semantics/omp-resolve01.f90
FORTRAN
bsd-3-clause
440
C LAST UPDATE 16/03/89 C+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ C SUBROUTINE PLOTON IMPLICIT NONE C C Purpose: Switch graphics on first time only. C COMMON /MYGRAF/ OPENGR LOGICAL OPENGR C C--------------------------------------------------------------...
scattering-central/CCP13
otoko/src/ploton.f
FORTRAN
bsd-3-clause
506
* * SUBROUTINE SLASRT2( ID, N, D, KEY, INFO ) * * -- ScaLAPACK routine (version 1.7) -- * University of Tennessee, Knoxville, Oak Ridge National Laboratory, * and University of California, Berkeley. * May 1, 1997 * * .. Scalar Arguments .. CHARACTER ID INTEGER ...
sayerhs/fast8_cmake
src/NWTC_Library/NetLib/slasrt2.f
FORTRAN
apache-2.0
7,525
c c ------------------------------------------------------------- c subroutine tick(nvar,iout,nstart,nstop,cut,vtime,time,ichkpt, & naux,nout,tout,tchk,t0,rest) c implicit double precision (a-h,o-z) include "call.i" logical vtime, dumpout, dumpchk, rest dimension...
clawpack/clawpack-4.x
amrclaw/2d/lib/tick.f
FORTRAN
bsd-3-clause
11,864
c c ---------------------------------------------------------- c subroutine putsp(lbase,level,nvar,naux) c implicit double precision (a-h,o-z) include "call.i" c c ::::::::::::::::::::::::::::::: PUTSP ::::::::::::::::::::::::: c c reclaim list space in nodes cfluxptr and ffluxptr for grids at level...
clawpack/clawpack-4.x
amrclaw/2d/lib/putsp.f
FORTRAN
bsd-3-clause
1,235
SUBROUTINE DLASCL( TYPE, KL, KU, CFROM, CTO, M, N, A, LDA, INFO ) * * -- LAPACK auxiliary routine (version 2.0) -- * Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., * Courant Institute, Argonne National Lab, and Rice University * February 29, 1992 * * .. Scalar Arguments .. CHAR...
mcflugen/roms-lite
src/roms/Lib/ARPACK/LAPACK/dlascl.f
FORTRAN
mit
7,320
*> \brief \b SORBDB4 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SORBDB4 + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/sorb...
mverleg/1957
lib/lapack/sorbdb4.f
FORTRAN
bsd-3-clause
12,185
*> \brief \b SORMTR * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SORMTR + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/sormt...
mverleg/1957
lib/lapack/sormtr.f
FORTRAN
bsd-3-clause
8,846
!------------------------------------------------------------------------------- ! Copyright (c) 2019 FrontISTR Commons ! This software is released under the MIT License, see LICENSE.txt !------------------------------------------------------------------------------- !> \brief This module provides a subroutine for sett...
FrontISTR/FrontISTR
fistr1/src/analysis/heat/heat_mat_ass_bc_FIXT.f90
FORTRAN
mit
1,076
module xsec use sdata, only: dp implicit none save contains !******************************************************************************! SUBROUTINE XS_updt (xbcon, xftem, xmtem, xcden, xbpos) ! ! Purpose: ! To update XS for given TH paramaters and rod position ! use io, only: bbcon, bfte...
imronuke/ADPRES
src/mod_xsec.f90
FORTRAN
mit
26,437
!> @ingroup quick_sort_flat_dec !> !> @brief !> Run a flat three way quick sort on a vector of real values. !> !> @details !> Run a decending on a vector of real values to sort them in the specified order.The vector of intergers map is permuted in the same way that the vector vec is permuted to be sorted. It is imp...
arinrb/bsort
src/quick_sort_flat_dec_map_real.f90
FORTRAN
apache-2.0
5,471
C+ENQ_CHGEOM subroutine enq_chgeom ( lun, iae, iba, ich, xyz_coord, s ) C C Returns the geometry for the specified aerial and channel C C Given: C Sample file Fortran logical unit number. integer lun C aerial number integer iae C sub-...
CavendishAstrophysics/postmortem
src/samplib/enq_chgeom.f
FORTRAN
bsd-3-clause
1,152
! { dg-do run { xfail *-*-mingw* spu-*-* } } ! { dg-add-options ieee } ! ! PR fortran/36158 ! PR fortran/33197 ! ! For mingw targets this test is disabled as the MS implementation ! of BESSEL_YN(n,x) has different results. It returns NAN rather than ! -INF for "x=0.0" and all "n". ! ! XFAILed for SPU targets since we ...
the-linix-project/linix-kernel-source
gccsrc/gcc-4.7.2/gcc/testsuite/gfortran.dg/bessel_7.f90
FORTRAN
bsd-2-clause
1,877
! Program block complex-interaction.f90 ! ! Author: Gaute Hagen and Morten Hjorth-Jensen ! ADDRESS: Dept. Physics, Universities of Bergen and Oslo, Norway ! E-MAIL: gaute.hagen@ift.uib.no, morten.hjorth-jensen@fys.uio.no ! LANGUAGE: F90/F95 ! ...
CompPhysics/ThesisProjects
doc/MSc/msc_students/former/johannes/programs/seriefiler/complex-interaction.f90
FORTRAN
cc0-1.0
22,018
PROGRAM swap_main implicit none ! Define an interface for swap interface swap SUBROUTINE swapreal (a,b) REAL, INTENT(INOUT) :: a,b END SUBROUTINE swapreal SUBROUTINE swapint (a,b) INTEGER, INTENT(INOUT) :: a,b END SUBROUTINE swapint end interface swap integer :: i,j real :: x, ...
annefou/Fortran
src/modules/swap_interface_with_main.f90
FORTRAN
apache-2.0
860
SUBROUTINE setaux(mbc,mx,my,xlower,ylower,dx,dy,maux,aux) IMPLICIT NONE INTEGER mbc, mx,my, meqn, maux DOUBLE PRECISION dx,dy, xlower, ylower DOUBLE PRECISION aux(maux,1-mbc:mx+mbc,1-mbc:my+mbc) INTEGER :: blockno, ghost_only, quadsize INTEGER :: i,j, k, m DOUBLE PRECISION :: dxdy, xc, yc,...
ForestClaw/forestclaw
applications/paper/transport_torus/torus_setaux.f90
FORTRAN
bsd-2-clause
5,119
C read boundary input into Master grid, and find start time (wave above threshold) C C This file is part of Cliffs. C ...
Delta-function/cliffs-src
get_boundary_feed.f
FORTRAN
bsd-2-clause
4,987
subroutine SHRead(filename, cilm, lmax, skip, header, error) !------------------------------------------------------------------------------- ! ! This subroutine will open an ascii file, and read in all of the ! spherical harmonic coefficients. If the option "header" ! is specified, then the first Length(header)...
heroxbd/SHTOOLS
src/SHRead.f95
FORTRAN
bsd-3-clause
5,489
SUBROUTINE RES_DAEPACK(NSTATE, T, Y, YPRIME, DEL, IRES, RPAR, $ IPAR) IMPLICIT NONE C INITIALIZE VARIABLES IN COMMON BLOC INTEGER NY, REACTIONSIZE, THIRDBODYREACTIONSIZE, TROEREACTIONSIZE, $ LINDEREACTIONSIZE COMMON /SIZE/ NY, REACTIONSIZE, THIRDBODYREACTIONSIZE, $ ...
faribas/RMG-Java
source/dassl/res_daepack.f
FORTRAN
mit
1,346
C The codes MA28**, MA30**, MC*** are part of the Harwell Subroutine Library, C which is developed C and maintained by staff at the Harwell Laboratory of the United Kingdom C Atomic Energy Authority. The researcher may use this code SOLELY for C research purposes subject to the conditions below. C C C On receipt of ...
fperignon/siconos
externals/hairer/linsp.f
FORTRAN
apache-2.0
121,026
*> \brief \b ZGET02 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE ZGET02( TRANS, M, N, NRHS, A, LDA, X, LDX, B, LDB, * RWORK, RESID ) * * .....
kortschak/OpenBLAS
lapack-netlib/TESTING/EIG/zget02.f
FORTRAN
bsd-3-clause
5,988
*> \brief \b DLAHILB * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE DLAHILB(N, NRHS, A, LDA, X, LDX, B, LDB, WORK, INFO) * * .. Scalar Arguments .. * INTEGER...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/LIN/dlahilb.f
FORTRAN
bsd-3-clause
6,326
module auxiliary_routines use, intrinsic :: ISO_Fortran_env, only: & stderr => ERROR_UNIT use fftpack_precision, only: & wp, & ! working precision ip ! integer precision implicit none private public :: get_real_1d_saved_workspace_length public :: get_real_1d_workspace...
jlokimlin/modern_fftpack
src/auxiliary_routines.f90
FORTRAN
mit
22,385
SUBROUTINE compute_lwa_and_barotropic_fluxes(nlon, nlat, kmax, jd, & pv,uu,vv,pt,qref,uref,tref,& a, om, dz, h, r, cp, prefactor, & astar,astarbaro,ua1baro,ubaro,ua2baro,ep1baro,ep2baro,ep3baro,ep4) implicit none integer, intent(in) :...
csyhuang/hn2016_falwa
hn2016_falwa/compute_lwa_and_barotropic_fluxes.f90
FORTRAN
mit
5,680
c------------------------------------------------------------ subroutine up(txt,len) c c convert character string to upper case c character*(*) txt character*80 save character*26 ualpha,lalpha data ualpha /'ABCDEFGHIJKLMNOPQRSTUVWXYZ'/ data lalpha /'abcdefghijklmnopqrstuvwxyz'/ ...
MarilyGunnersLab/MCCE
mcce_stable/lib/delphi/src/up.f
FORTRAN
mit
607
program test use FoX_wkml implicit none type(xmlf_t) :: myfile call kmlBeginFile(myfile, "test.xml", -1) call kmlCreatePointStyle(myfile, id='myid', colorhex='F90000FF', colormode='modnar') call kmlFinishFile(myfile) end program test
wilsonCernWq/Simula
fortran/utils/FoX-4.1.2/wkml/test/test_kmlCreatePointStyle_14.f90
FORTRAN
mit
251
program volatile_doctest use vecfor_RPP type(vector) :: pt pt = 1_I8P print "(3(F3.1,1X))", abs(pt%x), abs(pt%y), abs(pt%z) endprogram volatile_doctest
szaghi/VecFor
src/tests/vecfor_RPP/vecfor_RPP-doctest-40.f90
FORTRAN
bsd-2-clause
154
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 permitted provi...
nschloe/seacas
packages/seacas/libraries/svdi/test/cgitest.f
FORTRAN
bsd-3-clause
8,089
*> \brief \b ZHETRS_AA_2STAGE * * @generated from SRC/dsytrs_aa_2stage.f, fortran d -> c, Mon Oct 30 11:59:02 2017 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ZHETRS_AA_2STAGE + dependencies *> <...
kortschak/OpenBLAS
lapack-netlib/SRC/zhetrs_aa_2stage.f
FORTRAN
bsd-3-clause
7,663
SUBROUTINE AISET(IARRAY,NDIMEN,IVAL) IMPLICIT NONE C aiset sets first ndimen elts of integer array (as 1 dimensional) to ival C .. Scalar Arguments .. INTEGER IVAL,NDIMEN C .. C .. Array Arguments .. INTEGER IARRAY(NDIMEN) C .. C .. Local Scalars .. INTEGER I C .. ...
scattering-central/CCP13
software/ftorec/AISET.f
FORTRAN
bsd-3-clause
460
subroutine psed(iwave) !! ~ ~ ~ PURPOSE ~ ~ ~ !! this subroutine calculates the amount of organic and mineral phosphorus !! attached to sediment in surface runoff !! ~ ~ ~ INCOMING VARIABLES ~ ~ ~ !! name |units |definition !! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~...
grmpfhmbl/swatmodel-trusty64
src/psed.f
FORTRAN
cc0-1.0
9,029
! RUN: %S/test_errors.sh %s %t %f18 character(len=20) :: access = "direcT" character(len=20) :: access_(2) = (/"direcT", "streaM"/) character(len=20) :: action_(2) = (/"reaD ", "writE"/) character(len=20) :: asynchronous_(2) = (/"nO ", "yeS"/) character(len=20) :: blank_(2) = (/"nulL", "zerO"/) character(le...
google/llvm-propeller
flang/test/Semantics/io01.f90
FORTRAN
apache-2.0
4,704
module interpolation public :: spline public :: spline_interpolation !==================================================================================================! contains !==================================================================================================! subroutine spline(x,y,n,yp1,ypn,y2) !...
mherman09/Hdef
src/interpolation_module.f90
FORTRAN
mit
3,832
*----------------------------------------------------------------------_ * Program MyEmp1 * * Purpose: Solve the vibration problem * Implicit None * *-- Common Definitions * * Write file index Integer IOut, IOTmp Common /IO/ IOut, IOTmp * Calculation Parameter Doubl...
ajz34/Comp-Phys-Koonin
Exercise/Chapter-01/01-07/01-07.for
FORTRAN
mit
17,167
SUBROUTINE HUNT(XX,N,X,JLO) DIMENSION XX(N) LOGICAL ASCND ASCND=XX(N).GT.XX(1) IF(JLO.LE.0.OR.JLO.GT.N)THEN JLO=0 JHI=N+1 GO TO 3 ENDIF INC=1 IF(X.GE.XX(JLO).EQV.ASCND)THEN 1 JHI=JLO+INC IF(JHI.GT.N)THEN JHI=N+1 ELSE...
bamford/astrobamf
nr/fortran/hunt.for
FORTRAN
mit
803
SUBROUTINE IN_BDTA ( iret ) C************************************************************************ C* IN_BDTA * C* * C* This subroutine serves as a BLOCKDATA statement, initializin...
sgdecker/pygempak
inbdta.f
FORTRAN
apache-2.0
3,463
program test_nclayer_stress use kinds use netcdf use nc_diag_write_mod implicit none integer(i_long) :: i, j integer(i_byte) :: int_byte integer(i_short) :: int_short integer(i_long) :: int_long real(r_single) :: real_single real(r_double) :: real_double ...
alberthdev/nclayer
nc_diag_write/tests/test_nclayer_stress.f90
FORTRAN
apache-2.0
19,950
*> \brief \b SLALSD * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SLALSD + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/slals...
jmfranck/pyspecdata
lapack-3.4.0/SRC/slalsd.f
FORTRAN
bsd-3-clause
16,822
subroutine infile(ncrop,jstruc,nsurf,nrots,nyears, 1 iofe,iwpass) c c + + + PURPOSE + + + c c Opens input files for the reading in of the slope, c cropping practice, soil, and management files. c c Called from: SR CONTIN c Author(s): Livingston, Flanagan, Ascough II c Ref...
akrherz/idep
src/wepp2010.1/infile.for
FORTRAN
mit
64,943
*> \brief \b CLANSP returns the value of the 1-norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a symmetric matrix supplied in packed form. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explo...
maxhutch/magma
blas_fix/clansp.f
FORTRAN
bsd-3-clause
8,291
*> \brief <b> SSYSV computes the solution to system of linear equations A * X = B for SY matrices</b> * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SSYSV + dependencies *> <a href="http://www.ne...
LighthouseHPC/lighthouse
src/lighthouseProject/lighthouseProject/static/Doxygen/lapack/ssysv.f
FORTRAN
mit
8,389
module MOD_PRIPOP contains SUBROUTINE PRIPOP(LSPOP,WEIGHT,NCHARG,NOM, $ ND,N,RNE,ITNE,LEVEL,POPNUM,DEPART,JOBNUM,MODHEAD) C*** OUTPUT OF RELATIVE POPULATION NUMBERS AND DEPARTURE COEFFICIENTS c*** CALLED BY STEAL IMPLICIT REAL*8(A-H,O-Z) integer,...
rtagirov/nessy
src/pripop.for
FORTRAN
mit
2,134
this%rows = rows this%columns = columns ALLOCATE(this%DATA(rows,columns))
william-dawson/NTPoly
Source/Fortran/dense_includes/ConstructEmptyMatrix.f90
FORTRAN
mit
81
module bitmap use params implicit none type :: Fileheader integer :: Size integer :: OffBits integer :: Width integer :: Height integer :: BitCount end type type(FileHeader) :: Header character, dimension(:,:), ALLOCATABLE :: Bmp integer(2), dimension(:,:), ALLOCATABLE :: Img Contains Subroutine load_bmp ...
extigy/3D-GP
bitmap.f95
FORTRAN
mit
1,503
program prog common /com/ nums external nums end
hickerson/bbn
fable/fable_sources/fable/test/semantic_error/external_common.f
FORTRAN
mit
73
SUBROUTINE SS_ENVR ( filnam, file, iret ) C************************************************************************ C* SS_ENVR * C* * C* This subroutine checks filnam for an environmental variable. If * C* one is found, it is replaced with the actual path name. The new * C* file name is returned. E...
sgdecker/pygempak
ssenvr.f
FORTRAN
apache-2.0
2,327
C*PGFUNX -- function defined by Y = F(X) C+ SUBROUTINE PGFUNX (FY, N, XMIN, XMAX, PGFLAG) REAL FY EXTERNAL FY INTEGER N REAL XMIN, XMAX INTEGER PGFLAG C C Draw a curve defined by the equation Y = FY(X), where FY is a C user-supplied subroutine. C C Arguments: C FY (...
RobinsonLab/pgplot
src/pgfunx.f
FORTRAN
apache-2.0
2,855
SUBROUTINE ETMNS (P1,P2,P3,P4,P5,P6,IPR,E) C C ETMNS FILLS THE ARRAY E WITH THE NEGATIVE OF THE ELECTRIC FIELD C INCIDENT ON THE STRUCTURE. E IS THE RIGHT HAND SIDE OF THE MATRIX C EQUATION. C COMPLEX E,CX,CY,CZ,VSANT,ER,ET,TX1,TX2,EZH,ERH,VQD,VQDS,ZRATI,ZRAT 1I2,RRV,RRH,T1,TT1,TT2,FRATI ...
ViperScience/ViperNEC
NEC2/src/nec/etmns.f
FORTRAN
apache-2.0
5,969
function densrpsi(r,psi_n) parameter (pi=3.1415926535, sq8=2.828427125) real psi,pi,psi00,psi_n,psicut common /potconstants/ apot(20,0:20000), fr(20,0:20000), + dr, nr, lmax, potcor common /gparameters/ a, b, c, v0, q, psi00, + psiout, rho1, sigbulge2...
treecode/galactics.parallel
src/densrpsi.f
FORTRAN
apache-2.0
2,563
program volatile_doctest use vecfor_R16P type(vector_R16P) :: pt pt = 4 * ex_R16P + 3 * ey_R16P print "(L1)", 5._R16P == pt endprogram volatile_doctest
szaghi/VecFor
src/tests/vecfor_R16P/vecfor_R16P-doctest-146.f90
FORTRAN
bsd-2-clause
154
! ! -- MAGMA (version 2.1.0) -- ! Univ. of Tennessee, Knoxville ! Univ. of California, Berkeley ! Univ. of Colorado, Denver ! @date August 2016 ! ! @generated from testing/testing_zgetrf_f.f90, normal z -> s, Tue Aug 30 09:39:19 2016 ! program testing_sgetrf_f use magma extern...
maxhutch/magma
testing/testing_sgetrf_f.f90
FORTRAN
bsd-3-clause
2,914
*> \brief \b DTPQRT * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DTPQRT + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dtpqr...
jmfranck/pyspecdata
lapack-3.4.0/SRC/dtpqrt.f
FORTRAN
bsd-3-clause
7,917
!>------------------------------------------------ !! Contains type definitions for a variety of model data strucutres !! Also defines model constants (e.g. gravity, and MAXFILELENGTH) !! !! <pre> !! General Field Definitions !! !! ---- 3D fields ---- NX x NZ x NY !! u = wind in east direction ...
NCAR/icar
src/main/data_structures.f90
FORTRAN
mit
18,676
*> \brief <b> DSYSV_AA computes the solution to system of linear equations A * X = B for SY matrices</b> * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DSYSV_AA + dependencies *> <a href="http://www...
xianyi/OpenBLAS
lapack-netlib/SRC/dsysv_aa.f
FORTRAN
bsd-3-clause
7,871
!-------------------------------------------------------------------------------------- ! !Copyright (C) 2014 TopCoder Inc., All Rights Reserved. ! !-------------------------------------------------------------------------------------- ! This module solves a boundary element method for bodies with thin submerged ele...
NREL/OpenWARP
source/NemohImproved/Nemoh/Solver/Core/SOLVE_BEM_DIPOLES_THIN.f90
FORTRAN
apache-2.0
17,176
C*********************************************************************** C Module: cmap.f C C Copyright (C) 1996 Harold Youngren, Mark Drela C C This program is free software; you can redistribute it and/or modify C it under the terms of the GNU General Public License as published by C the ...
google/makani
third_party/xrotor/plotlib/examples/cmap2.f
FORTRAN
apache-2.0
5,474
! RUN: %S/test_errors.sh %s %t %f18 module m interface foo real function s1(x) real x end !ERROR: 's2' is not a module procedure module procedure s2 !ERROR: Procedure 's3' not found procedure s3 !ERROR: Procedure 's1' is already specified in generic 'foo' procedure s1 end inter...
google/llvm-propeller
flang/test/Semantics/resolve25.f90
FORTRAN
apache-2.0
1,525
*> \brief \b CGGGLM * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CGGGLM + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/cggglm.f...
grisuthedragon/OpenBLAS
lapack-netlib/SRC/cggglm.f
FORTRAN
bsd-3-clause
10,369
module field_nes use array_work use com_prog use omp_lib implicit none contains subroutine init_arrays aa1(:,:,:,:) = (0.0d0, 0.0d0) aa2(:,:,:,:) = (0.0d0, 0.0d0) aa3(:,:,:,:) = (0.0d0, 0.0d0) fgammaplus(:,:,:,:) = (0.0d0,0.0d0) fgammaminus(:,:,:,:) = (0.0d0,0.0d0) d1plus(:,:,:...
Ademishe/WEMRA
field_asymm.f90
FORTRAN
mit
29,846
*> \brief \b STREVC * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download STREVC + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/strev...
rangsimanketkaew/NWChem
src/lapack/single/strevc.f
FORTRAN
mit
36,801
c this program is to fit the Mg II absorption doublet c with a two-component model program windfit c include 'specarray.h' parameter (NWMAX=30000) parameter (MAXWFIT=4000) parameter(NPARAMS=4) parameter(NEMPARAMS=6) c if we are doing the Mg I singlet, otherwise assume Mg II ...
bjweiner/DEEP2-redshift
windfit.f
FORTRAN
mit
24,818
module fluid_model_phatdisk ! Standard NT73 thin disk model use class_four_vector use kerr, only: calc_rms, krolikc, ledd use phys_constants, only: G, c2, pi, sigb, msun, h, kb => k use fluid_model_thindisk, only: init_thindisk, thindisk_vals, MBH, Mdot use math, only: tsum use interpolate, only: get_wei...
jadexter/grtrans
fluid_model_phatdisk.f90
FORTRAN
mit
5,101
great(c1,cc1). great(g1,aa1). great(z1,cc1). great(r1,v1). great(cc1,bb1). great(y1,t1). 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...
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_choline_noiseless/incremental2/train8.f
FORTRAN
apache-2.0
1,731
SUBROUTINE SSYSV_F95( A, B, UPLO, IPIV, 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 => SP USE LA_AUXMOD, ONLY: ERINFO, LSAME USE F77_LAPACK, ONLY: SY...
sradanov/flyingpigeon
flyingpigeon/Fsrc/Lapack95/SRC/la_ssysv.f90
FORTRAN
apache-2.0
6,422
! MD5 of template: de2e124b77d41b637ba47e23b573548c ! Statistics ! ! ------------------------------------------------------------------------------ ! Copyright (c) 2009-13, Thomas P. Robitaille ! ! All rights reserved. ! ! Redistribution and use in source and binary forms, with or without ! modification, are permitted ...
astrofrog/fortranlib
src/lib_statistics.f90
FORTRAN
bsd-2-clause
6,648
!------------------------------------------------------------------------------- !> !! Vertical metrics module !! !! @par Description !! In this module, the vertical metrics is calculated for the !! non-hydrostatic icoshaedral model. !! !! @author H.Tomita !! !! @par History !! @li 2004-02-17 (H.T...
nicamdc-dev/nicamdc
src/share/mod_vmtr.f90
FORTRAN
bsd-2-clause
25,835
! { dg-do compile } ! { dg-require-effective-target vect_float } module solv_cap implicit none public :: init_solve integer, parameter, public :: dp = 4 real(kind=dp), private :: Pi, Mu0, c0, eps0 logical, private :: UseFFT, UsePreco real(kind=dp), private :: D1, D2 integer, private, s...
the-linix-project/linix-kernel-source
gccsrc/gcc-4.7.2/gcc/testsuite/gfortran.dg/vect/fast-math-vect-8.f90
FORTRAN
bsd-2-clause
2,133
C Copyright(C) 2008-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, ar...
nschloe/seacas
packages/seacas/libraries/supes/mem_mgr/srchc.f
FORTRAN
bsd-3-clause
3,942
C Copyright(C) 2008-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/algebra/ag_chkpar.f
FORTRAN
bsd-3-clause
9,483
!------------------------------------------------------------- ! Copyright (c) 2013-2013 Kawai Yuta. All rights reserved. !------------------------------------------------------------- !> @brief a template module !! !! @author Kawai Yuta !! !! module VariableSet_mod ! モジュール引用; Use statements ! !* gtool use...
ywkawai/Dennou-OGCM
model/old/sogcm/setup/VariableSet_mod.f90
FORTRAN
mit
9,171
subroutine MakeGeoidGrid(geoid, cilm, lmax, r0pot, GM, PotRef, omega, r, gridtype, & order, nlat, nlong, interval, lmax_calc, a, f) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! This subrouine will calculate the height to an equipotential surface with ! respect to a spheri...
pletnes/SHTOOLS
src/MakeGeoidGrid.f90
FORTRAN
bsd-3-clause
13,176
!-------------------------------------------------------------------------------------- ! !Copyright (C) 2014 TopCoder Inc., All Rights Reserved. ! !-------------------------------------------------------------------------------------- !----------------------------------------------------------------------------------...
NREL/OpenWARP
source/NemohImproved/Nemoh/Mesh/hydre.f90
FORTRAN
apache-2.0
26,408
c this file contains the following user-callable routines: c c c routine idz_sffti initializes routine idz_sfft. c c routine idz_sfft rapidly computes a subset of the entries c of the DFT of a vector, composed with permutation matrices c both on input and on output. c c routine idz_l...
kmspriyatham/symath
scipy/scipy/linalg/src/id_dist/src/idz_sfft.f
FORTRAN
apache-2.0
5,011
!!!!!!!!!!!!!!!!!!!!!!!!!!! Program 5.3 !!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! ! Please Note: ! ! ...
ucam-cl-dtg/naps-camfort
samples/booku/five/code53.f90
FORTRAN
mit
2,735
SUBROUTINE SINGLE(dr,dp,da,db) USE FNVAR IMPLICIT NONE DOUBLE PRECISION, INTENT(out) :: dr,dp,da,db ! DOUBLE PRECISION, EXTERNAL :: DPoten dr = p / mass dp = - DPoten(1) - DPoten(3)/(8.0d0*a) - DPoten(5)/(128.0d0*a**2) da = -4.0d0*a*b/mass db = 2.0d0*(a**2-b**2)/mass - 0.5d0*DPoten(2) - DPoten(4)/(16.0d0*a) RETURN...
cianmj/nrc
preliminary_code/calcsing.f
FORTRAN
mit
337
C*NUDRIV -- PGPLOT Null device driver C+ SUBROUTINE NUDRIV (IFUNC, RBUF, NBUF, CHR, LCHR) INTEGER IFUNC, NBUF, LCHR REAL RBUF(*) CHARACTER*(*) CHR C C PGPLOT driver for Null device (no graphical output) C C Version 1.0 - 1987 May 26 - T. J. Pearson. C Version 1.1 - 1988 Mar 23 - a...
RobinsonLab/pgplot
drivers/nudriv.f
FORTRAN
apache-2.0
11,935
SUBROUTINE SGELSX_F95( A, B, RANK, JPVT, RCOND, 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 => SP USE LA_AUXMOD, ONLY: ERINFO USE F77_LAPACK, ONLY: G...
sradanov/flyingpigeon
flyingpigeon/Fsrc/Lapack95/SRC/la_sgelsx.f90
FORTRAN
apache-2.0
6,238
!====================================================================== subroutine topo_update(t) !====================================================================== ! ! called to update topography grids to the current time t ! topo arrays are modified directly from topo0 and dtopo ! ! this routine replaces the ...
ForestClaw/forestclaw
src/solvers/fc2d_geoclaw/geolib_source/topo_update.f90
FORTRAN
bsd-2-clause
7,762
subroutine annout c c c****************************************************************** c * c Called from subroutine sedout. * c Generates annual summaries of soil loss information from * c the model. ...
akrherz/idep
src/wepp2012-src/annout.for
FORTRAN
mit
5,657
*> \brief \b ZCHKAB * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * PROGRAM ZCHKAB * * *> \par Purpose: * ============= *> *> \verbatim *> *> ZCHKAB is the test program for the COM...
alishakiba/libflame
lapack-test/3.5.0/LIN/zchkab.f
FORTRAN
bsd-3-clause
10,927
*> \brief \b ZERRED * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE ZERRED( PATH, NUNIT ) * * .. Scalar Arguments .. * CHARACTER*3 PATH * INTEGER ...
grisuthedragon/OpenBLAS
lapack-netlib/TESTING/EIG/zerred.f
FORTRAN
bsd-3-clause
19,313
*> \brief \b SLASD1 computes the SVD of an upper bidiagonal matrix B of the specified size. Used by sbdsdc. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SLASD1 + dependencies *> <a href="http://ww...
grisuthedragon/OpenBLAS
lapack-netlib/SRC/slasd1.f
FORTRAN
bsd-3-clause
10,000
subroutine xsetun (lun) c c this routine resets the logical unit number for messages. c integer lun, mesflg, lunit common /eh0001/ mesflg, lunit c if (lun .gt. 0) lunit = lun return c----------------------- end of subroutine xsetun ---------------------- end
kmspriyatham/symath
scipy/scipy/integrate/odepack/xsetun.f
FORTRAN
apache-2.0
295
CHARACTER xyz(3) INTEGER(4) idata(35) DATA idata/35*-1/,xyz/'x', 'y', 'z'/ OPEN(3,FILE='USEQ',FORM='UNFORMATTED') WRITE(3) idata WRITE(3) xyz CLOSE(3) END
quchunguang/test
testfortran90/e_7_2_3.f90
FORTRAN
mit
163
SUBROUTINE ODEINT1 (YSTART1,NVAR1,X11,X21,EPS1,H11,HMIN1,NOK1, > NBAD1) PARAMETER (MAXSTP1=100,TWO1=2.0,ZERO1=0.00,TINY1=1.0E-20) integer NVAR1 COMMON /PATH1/KMAX1,KOUNT1,DXSAV1,XP1(200),YP1(10,200) DIMENSION YSTART1(NVAR1),YSCAL1(NVAR1),Y1(NVAR1),DYDX1(NVAR1) ...
imohame/hex
src/odeint1.f
FORTRAN
mit
1,771
subroutine xerror(messg,nmessg,nerr,level) c c abstract c xerror processes a diagnostic message, in a manner c determined by the value of level and the current value c of the library error control flag, kontrl. c (see subroutine xsetf for details.) c c description of parameters...
bgin/MissileSimulation
External/QUADPACK/xerror.f
FORTRAN
mit
1,666
subroutine beyond(ivtype,nccut,ccut,ccdf,ncut,cut,cdf,zmin,zmax, & ltail,ltpar,middle,mpar,utail,utpar,zval,cdfval,ierr) !----------------------------------------------------------------------- ! Go Beyond a Discrete CDF ! ************************ ! This subrouti...
opengeostat/pygslib
for_code/postik/gslib/beyond.f90
FORTRAN
mit
13,322
great_rsd(w1,m1). great_rsd(u1,q1). great_rsd(q1,ee1).
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_scopolamine_noiseless/incremental1/test5.f
FORTRAN
apache-2.0
55
subroutine MakeGradientDH(cilm, lmax, theta_grid, phi_grid, n, sampling, & lmax_calc, extend, exitstatus) !------------------------------------------------------------------------------ ! ! Given the spherical harmonic coefficients CILM of a scalar function defined ! on the sphere, this su...
MarkWieczorek/SHTOOLS
src/MakeGradientDH.f95
FORTRAN
bsd-3-clause
21,593
*> \brief \b SLAE2 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SLAE2 + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/slae2.f...
jmfranck/pyspecdata
lapack-3.4.0/SRC/slae2.f
FORTRAN
bsd-3-clause
4,713
! tokenize.f90 -- ! Module for tokenizing a string ! ! Note: ! This module contains procedures to initialise a tokenizer ! and to use such a data structure to split up strings ! ! The tokenization takes care of two types of separator ! characters: ! 1. Characters like blanks that can occur in a whole sequence ! b...
mapmeld/fortran-machine
flibs-0.9/flibs/src/strings/tokenize.f90
FORTRAN
bsd-3-clause
9,361
*> \brief \b SDRGSX * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE SDRGSX( NSIZE, NCMAX, THRESH, NIN, NOUT, A, LDA, B, * AI, BI, Z, Q, ALPHAR, ALPH...
xianyi/OpenBLAS
lapack-netlib/TESTING/EIG/sdrgsx.f
FORTRAN
bsd-3-clause
36,149
SUBROUTINE SLASD4( N, I, D, Z, DELTA, RHO, SIGMA, WORK, INFO ) * * -- LAPACK auxiliary routine (instrumented to count ops, version 3.0) -- * Univ. of Tennessee, Oak Ridge National Lab, Argonne National Lab, * Courant Institute, NAG Ltd., and Rice University * October 31, 1999 * * .. Scalar Argume...
yaowee/libflame
lapack-test/lapack-timing/EIG/EIGSRC/slasd4.f
FORTRAN
bsd-3-clause
31,378