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
*> \brief \b DLANSY returns the value of the 1-norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a real symmetric matrix. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htm...
rangsimanketkaew/NWChem
src/lapack/double/dlansy.f
FORTRAN
mit
7,400
program test use FoX_wxml implicit none character(len=*), parameter :: filename = 'test.xml' type(xmlf_t) :: xf call xml_OpenFile(filename, xf) call xml_AddXMLPI(xf, "root") call xml_AddPseudoAttribute(xf, "att", (reshape( & (/10.0D0,10.0D0, & 10.0D0,10.0D0/),& (/2,2/)))) call xm...
wilsonCernWq/Simula
fortran/utils/FoX-4.1.2/wxml/test/test_xml_AddPseudoAttribute_overload_16.f90
FORTRAN
mit
381
SUBROUTINE M2RKQC(Y,DYDX,N,X,HTRY,EPS,YSCAL,HDID,HNEXT,DERIVS, $HMIN) PARAMETER (NMAX=2,PGROW=-.20,PSHRNK=-0.25,FCOR=1./15., 1ONE=1.,SAFETY=0.9,ERRCON=6.0E-04,BOUND=1.000E+08) EXTERNAL DERIVS DIMENSION Y(N),DYDX(N),YSCAL(N),YTEMP(NMAX),YSAV(NMAX), 1DYSAV(NMAX) C SAVE IN...
imohame/hex
src/m2rkqc.f
FORTRAN
mit
2,246
! ! libui-draw-sample1.f90 ! Fortran から libui を使う。 ! ! Author Yoji.Hosokawa 2016/4 ! ! gfortran -O2 -g -Wall -o libui-window libui-window.f90 -L.-lui `pkg-config gtk+-3.0 --libs` ! module handlers use iso_c_binding use libuif_structs use libuif implicit none type(c_ptr) :: mainwin; type(c_ptr) :: hist...
hirohiro447/libuif
samples/libui-draw-sample1.f90
FORTRAN
mit
9,730
module fluid_model_mb09 use class_four_vector use interpolate, only: interp use kerr, only: kerr_metric, lnrf_frame, uks2ubl, bl2ks, surf_integral use phys_constants, only: pi use math, only: zbrent implicit none namelist /mb09/ dfile, gfile, nt, nfiles, indf, jonfix, off...
jadexter/grtrans
fluid_model_mb09.f90
FORTRAN
mit
38,633
MODULE subspace_mate_sl_module use rgrid_module, only: dV,zdV use parallel_module use hamiltonian_module use wf_module, only: unk,esp,hunk,iflag_hunk use scalapack_module use subspace_diag_variables use array_bound_module, only: ML_0,ML_1,MB_0,MB_1 implicit none PRIVATE PUBLIC :: subspace_mate_sl...
j-iwata/RSDFT
src/subspace_mate_sl_module.f90
FORTRAN
apache-2.0
12,650
C C *+ do_catpbc subroutine do_catpbc(map_array,status) C -------------------------------------- C C Apply a primary beam correction for the CAT C C Given: C map data real*4 map_array(*) C Returned: C error status word integer status C C The values for the primary beam correc...
CavendishAstrophysics/anmap
dump/do_catpbc.f
FORTRAN
bsd-3-clause
3,527
*> \brief \b SLASD3 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SLASD3 + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/slasd...
jmfranck/pyspecdata
lapack-3.4.0/SRC/slasd3.f
FORTRAN
bsd-3-clause
14,734
C C *+ anm_exit subroutine anm_exit(status) C --------------------------- C C Leave ANMAP in a tidy fashion C C Updated: C error status integer status *- logical check_status C check for a non-zero status value on entry if (status.ne.0) return C check temporary maps ...
CavendishAstrophysics/anmap
anm_lib/anm_exit.f
FORTRAN
bsd-3-clause
489
subroutine SHReadGRACE(filename, cilm, lmax, gm, r0_pot, error) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! This program will read the file format of spherical harmonic ! coefficients used by the GRACE group into standard arrays for ! of Cilm and the error. ! ! Calling ...
pletnes/SHTOOLS
src/SHReadGRACE.f90
FORTRAN
bsd-3-clause
3,244
program ssbdr3 c c ... Construct the matrix A in LAPACK-style band form. c The matrix A is the 1-dimensional discrete Laplacian on [0,1] c with zero Dirichlet boundary condition, M is the mass c formed by using piecewise linear elements on [0,1]. c c ... Call SSBAND with regular mo...
mcflugen/roms-lite
src/roms/Lib/ARPACK/EXAMPLES/BAND/ssbdr3.f
FORTRAN
mit
9,877
*> \brief \b DTPRFB applies a real or complex "triangular-pentagonal" blocked reflector to a real or complex matrix, which is composed of two blocks. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download D...
buffer51/OpenBLAS
lapack-netlib/SRC/dtprfb.f
FORTRAN
bsd-3-clause
26,006
*> \brief \b DORMRZ * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DORMRZ + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dormr...
mverleg/1957
lib/lapack/dormrz.f
FORTRAN
bsd-3-clause
10,429
SUBROUTINE DROT(N,DX,INCX,DY,INCY,C,S) * .. Scalar Arguments .. DOUBLE PRECISION C,S INTEGER INCX,INCY,N * .. * .. Array Arguments .. DOUBLE PRECISION DX(*),DY(*) * .. * * Purpose * ======= * * applies a plane rotation. * jack dongarra, linpack, 3/11/78. * modified ...
alexurba/cftb
src/libsrc/blas/SRC/drot.f
FORTRAN
mit
1,129
subroutine tranfc(i) c implicit double precision (a-h,o-z) dp c common/range/mft,mlt,lft,llt,nftm1 c common/vect0/ c 1 q11(128),q22(128),q12(128),q21(128), c 2 r11(128),r22(128),r12(128),r21(128), c 3 s11(128),s22(128),s12(128),s21(128) c common/ve...
imohame/hex
src/tranfc.f
FORTRAN
mit
1,636
!---------------------------------------------------------------------------- ! This file is part of UCLALES. ! ! UCLALES 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 3 of the License, or ! (...
UCLALES-SALSA/UCLALES-SALSA
src/src_LES/prss.f90
FORTRAN
mit
15,929
!-------------------------------------------------------------------------------------------------- ! MODULE: StringMod ! ! DESCRIPTION: !> Module containing helper subroutines for reading and parsing lines of text from input files. ! !-----------------------------------------------------------------------------------...
marin-sapunar/dynamics
src/utils/StringMod.f90
FORTRAN
mit
12,256
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !> Study the exponential of a nonsymmetric graph using the technique of !! Guo, Krystal, and Bojan Mohar. "Hermitian adjacency matrix of digraphs and !! mixed graphs." Journal of Graph Theory 85, no. 1 (2017): 217-248. PROGRAM ComplexMatri...
william-dawson/NTPoly
Examples/ComplexMatrix/main.f90
FORTRAN
mit
5,770
# # test return <value> # print("Testing return...") errors = 0 f = fn () # return <value> for i in 1 to 5 if i == 5 return "string" g = fn (n: int) # return <complex expression>, nested return return for i in 1 to n { f = fn () return n * i f() } try assert f() == "string" rescu...
cwells/franz
tests/return.f
FORTRAN
mit
452
\ Copyright 2016 Niclas Hedhman, All rights reserved. \ \ 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 applicab...
niclash/forthright
forth/pwm_8266.f
FORTRAN
apache-2.0
2,496
great_ne(q1,p1). great_ne(k1,c1). great_ne(jj1,w1). great_ne(q1,jj1). great_ne(cc1,k1). great_ne(p1,aa1). great_ne(jj1,hh1). great_ne(z1,p1). great_ne(t1,dd1). great_ne(t1,u1). great_ne(m1,y1). great_ne(w1,b1). great_ne(bb1,ii1). great_ne(u1,hh1). great_ne(dd1,m1). great_ne(w1,c1). great_ne(b1,h1). great_ne(hh1,k1). gr...
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_anime_noiseless/test4.f
FORTRAN
apache-2.0
600
module m implicit none public s contains subroutine s print *,'bad' end subroutine s end module m program t use m,only:s print *,'ok' end program t
thender/ppp
tests/t0257x/t.f
FORTRAN
apache-2.0
227
program one implicit none integer i, j, imax, jmax parameter (imax = 3, jmax = 3) real a(0:imax,0:jmax), b(0:imax,0:jmax), c ! some kind of setup do 1 i = 0, imax do 2 j = 0, jmax a(i,j) = i+j 2 continue 1 continue !do i = 1, (imax-1) ! do j = 1,...
dorchard/camfort
samples/stencils/one.f
FORTRAN
apache-2.0
1,661
!---------------------------------------------------------------------------- ! This file is part of UCLALES. ! ! UCLALES 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 3 of the License, or ! (...
UCLALES-SALSA/UCLALES-SALSA
src/src_LES/srfc.f90
FORTRAN
mit
23,467
module brillouin use double use environment contains function BrilSum(env, sumFunc) ! uses Kahan summation algorithm to improve accuracy implicit none type(Environ), intent(in) :: env interface function sumFunc(env, k) use double us...
tflovorn/scsbz
src/brillouin.f90
FORTRAN
mit
1,412
*> \brief \b ZLARFG generates an elementary reflector (Householder matrix). * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ZLARFG + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfi...
rangsimanketkaew/NWChem
src/lapack/double/zlarfg.f
FORTRAN
mit
5,424
program HELLO write (*,*) 'Hello World!' end Program HELLO
giraldeau/cmake-tutorial
06-fortran/hello.f
FORTRAN
mit
77
! Read numbers from a file program fileread implicit none double precision :: a, b, c double precision, dimension(3) :: M integer :: file_read_id=10, file_write_id=20 ! Open and read the file open( unit=file_read_id, file='p05_data.txt' ) read(file_...
KEClaytor/QuickDirtyFortran
01_BasicsCode/p05_fileio.f08
FORTRAN
mit
795
subroutine iso(iaer_prof,tamoy,trmoy,pizmoy, s tamoyp,trmoyp, s palt,nt,mu,rm,gb, s xf) include "paramdef.inc" c THOMAS c double precision psl(-1:nqmax_p,-mu:mu) double precision psl(-1:1000,-25:25) c dimension for gauss integration ...
orfeotoolbox/OTB
Modules/ThirdParty/6S/src/6SV1.0B/ISO.f
FORTRAN
apache-2.0
10,375
great_rsd(u1,kk1). great_rsd(aa1,c1). great_rsd(w1,x1). great_rsd(f1,v1). great_rsd(f1,t1). great_rsd(a1,v1). great_rsd(a1,t1). great_rsd(a1,m1). great_rsd(u1,k1). great_rsd(p1,x1). great_rsd(e1,cc1). great_rsd(p1,cc1). great_rsd(z1,jj1). great_rsd(f1,jj1). great_rsd(k1,jj1). great_rsd(p1,ff1). great_rsd(w1,z1). great_...
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_scopolamine_0.3noisy/train7.f
FORTRAN
apache-2.0
5,327
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(ii1,kk1). great(aa1,b1). great(r1,...
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_choline_noiseless/incremental3/train2.f
FORTRAN
apache-2.0
2,609
C program hello write(*,*) 'Hello, World' read(*,*) a end
msakamoto-sf/Ceta
template/hello.for
FORTRAN
bsd-2-clause
61
module PolyMesh_mod use dc_types use VectorSpace_mod implicit none private integer, parameter, public :: MAX_FACE_VERTEX_NUM = 20 type, public :: Face integer :: vertNum integer :: vertIdList(MAX_FACE_VERTEX_NUM) integer :: ownCellId integer :: neighCellId logical :: isBoundar...
ywkawai/Dennou-OGCM
libsrc/mesh/PolyMesh_mod.f90
FORTRAN
mit
11,530
*> \brief <b> DSYEVD_2STAGE computes the eigenvalues and, optionally, the left and/or right eigenvectors for SY matrices</b> * * @precisions fortran d -> s * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Dow...
xianyi/OpenBLAS
lapack-netlib/SRC/dsyevd_2stage.f
FORTRAN
bsd-3-clause
14,274
*> \brief \b DORCSD2BY1 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DORCSD2BY1 + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routin...
mverleg/1957
lib/lapack/dorcsd2by1.f
FORTRAN
bsd-3-clause
25,393
*> \brief \b SGET02 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE SGET02( TRANS, M, N, NRHS, A, LDA, X, LDX, B, LDB, * RWORK, RESID ) * * ...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/EIG/sget02.f
FORTRAN
bsd-3-clause
5,859
subroutine qinit(meqn,mbc,mx,my,xlower,ylower,dx,dy,q,maux,aux) use random_module use sea_module, only: sea_level implicit none ! Subroutine arguments integer, intent(in) :: meqn,mbc,mx,my,maux real(kind=8), intent(in) :: xlower,ylower,dx,dy real(kind=8), intent(inout) :: q(me...
mandli/geo-instability
src/qinit.f90
FORTRAN
mit
1,121
program text_sequential implicit none real, dimension(10) :: tab = 5 integer :: i = 100 real :: r integer :: ios r = acos(-1.) open( unit=1, & file = "text_sequential.out", & form="formatted", & ...
annefou/Fortran
src/IO/text_sequential.f90
FORTRAN
apache-2.0
675
! RUN: %B/test/Semantics/test_errors.sh %s %flang %t ! C1138 -- ! A branch (11.2) within a DO CONCURRENT construct shall not have a branch ! target that is outside the construct. subroutine s1() do concurrent (i=1:10) !ERROR: Control flow escapes from DO CONCURRENT goto 99 end do 99 print *, "Hello" end sub...
endlessm/chromium-browser
third_party/llvm/flang/test/Semantics/dosemantics08.f90
FORTRAN
bsd-3-clause
331
SUBROUTINE SHIRBL(NAME,NNAM) C C SHIFT DATA 16 PLACES RIGHT AND ZERO FILL C PARAMETER(WORDSZ=32) DIMENSION NAME(NNAM) NUMSHFT=WORDSZ-16 DO 100 I=1,NNAM NAME(I)=ICEDSHFT(NAME(I),-NUMSHFT) C NAME(I)=RSHIFT(NAME(I),NUMSHFT) 100 CONTINUE RETURN END
mmbell/Doppler_retrieval
pt2ced/SHIRBL.f
FORTRAN
mit
313
module OcnDiag_TendencyAnalysis_mod ! モジュール引用; Use statement ! !* gtool5 use dc_types, only: & & DP, TOKEN, STRING use dc_message, only: & & MessageNotify use gtool_history !* Dennou-OGCM / SeaIce use DOGCM_Admin_Constants_mod, only: & & PI, RPlanet, & ...
ywkawai/Dennou-OGCM
model/dogcm/tool/ocndiag/OcnDiag_TendencyAnalysis_mod.f90
FORTRAN
mit
4,970
!------------------------------------------------------------------------------- !> !! Prognostic variable module !! !! @par Description !! This module contains the prognostic variables !! !! @author H.Tomita !! !! @par History !! @li 2004-02-17 (H.Tomita) Imported from igdc-4.34 !! @li 2006-05-17 (...
fiber-miniapp/nicam-dc-mini
src/nhm/share/mod_prgvar.f90
FORTRAN
bsd-2-clause
79,415
*> \brief \b CPFTRF * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CPFTRF + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/cpftrf.f...
grisuthedragon/OpenBLAS
lapack-netlib/SRC/cpftrf.f
FORTRAN
bsd-3-clause
15,345
PROGRAM CBLAT3 * * Test program for the COMPLEX Level 3 Blas. * * The program must be driven by a short data file. The first 13 records * of the file are read using list-directed input, the last 9 records * are read using the format ( A12, L2 ). An annotated example of a data * file can be obtained ...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/ctest/c_cblat3.f
FORTRAN
bsd-3-clause
100,297
module rrsw_kg19 use parkind ,only : im => kind_im, rb => kind_rb use parrrsw, only : ng19 implicit none save !----------------------------------------------------------------- ! rrtmg_sw ORIGINAL abs. coefficients for interval 19 ! band 19: 4650-5150 cm-1 (low - h2o,co2; high - co2) !...
jsbj/climt
src/radiation/rrtm/src/rrtmg_sw/gcm_model/modules/rrsw_kg19.f90
FORTRAN
bsd-3-clause
2,002
subroutine lsodar (f, neq, y, t, tout, itol, rtol, atol, itask, 1 istate, iopt, rwork, lrw, iwork, liw, jac, jt, 2 g, ng, jroot) external f, jac, g integer neq, itol, itask, istate, iopt, lrw, iwork, liw, jt, 1 ng, jroot double precision y, t, tout, rtol, a...
kmspriyatham/symath
scipy/scipy/integrate/odepack/lsodar.f
FORTRAN
apache-2.0
87,356
*> \brief \b ZHBGST * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ZHBGV + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zhbgv....
LighthouseHPC/lighthouse
src/Dlighthouse/static/Doxygen/lapack/zhbgv.f
FORTRAN
mit
8,724
*> \brief \b ZBLAT2 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * PROGRAM ZBLAT2 * * *> \par Purpose: * ============= *> *> \verbatim *> *> Test program for the COMPLEX*16 ...
dfm/george
vendor/eigen_3.3.4/blas/testing/zblat2.f
FORTRAN
mit
117,003
! https://github.com/MichaelSiehl/Atomic_Subroutines--How_the_Parallel_Codes_may_look_like--Part_2 module OOOPimsc_admImageStatus_CA !************************************************ ! Namespace: OOOP - Parallel !************************************************ ! Abstact Data Type Short Name: OOOPimsc !********...
MichaelSiehl/Atomic_Subroutines--How_the_Parallel_Codes_may_look_like--Part_2
src/OOOPimsc_admImageStatus_CA.f90
FORTRAN
mit
53,273
!------------------------------------------------------------------------------- ! Copyright (c) 2019 FrontISTR Commons ! This software is released under the MIT License, see LICENSE.txt !------------------------------------------------------------------------------- !C !C*** !C*** module hecmw_precond_BILU_nn !C*** !...
FrontISTR/FrontISTR
hecmw1/src/solver/precond/nn/hecmw_precond_BILU_nn.f90
FORTRAN
mit
40,350
SUBROUTINE HYD_ESW(divtn,w,n,kappa_lam) C-----THIS SUBROUTINE CALCULATES THE LINE OPACITIES FOR HYDROGEN LINES ( LYMAN, C-----BALMER ) ACCORDING TO THE ESW - THEORY ( STARK - BROADENING ); C-----CORRECTION FOR STIMULATED EMISSION IS NOT INCLUDED IMPLICIT REAL*8 (A-H,O-Z) REAL*8 W3 REAL*8 GAUNT(...
andycasey/original-oracle
oracle/si/code/hyd_esw.f
FORTRAN
mit
3,538
!> @ingroup quick_sort_recursive_asc !> !> @brief !> Run a recursive three way quick sort on a vector of double precision values. !> !> @details !> Run an ascending on a vector of double precision values to sort them in the specified order.The vector of intergers map is permuted in the same way that the vector vec ...
arinrb/bsort
src/quick_sort_recursive_asc_map_dble.f90
FORTRAN
apache-2.0
3,547
subroutine versalbe(option,optics,struct, s brdfalb) c c interface between the computer code of the model of verstraete and pin c the computer code is courtesy of michel verstraete. c see subroutine mvbp1 for a complete description c c c variables angles, error, optics, option, struct and mvbp1 ar...
orfeotoolbox/OTB
Modules/ThirdParty/6S/src/6SV1.0B/VERSALBE.f
FORTRAN
apache-2.0
4,308
subroutine pkq(iwave) !! ~ ~ ~ PURPOSE ~ ~ ~ !! this subroutine computes the peak runoff rate for each HRU !! and the entire subbasin using a modification of the rational formula !! ~ ~ ~ INCOMING VARIABLES ~ ~ ~ !! name |units |definition !! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~...
grmpfhmbl/swatmodel-trusty64
src/pkq.f
FORTRAN
cc0-1.0
2,980
*> \brief \b SSYTRS_3 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SSYTRS_3 + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/ssyt...
kortschak/OpenBLAS
lapack-netlib/SRC/ssytrs_3.f
FORTRAN
bsd-3-clause
11,383
SUBROUTINE DLASQ1( N, D, E, WORK, INFO ) * * -- LAPACK routine (instrumented to count ops, 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 .. INTEGER ...
dxander/libflame
lapack-test/lapack-timing/EIG/EIGSRC/dlasq1.f
FORTRAN
bsd-3-clause
4,785
SUBROUTINE CTRT02( UPLO, TRANS, DIAG, N, NRHS, A, LDA, X, LDX, B, $ LDB, WORK, RWORK, RESID ) * * -- LAPACK test routine (version 3.1) -- * Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. * November 2006 * * .. Scalar Arguments .. CHARACTER DIAG, T...
shengren/magma-1.6.1
testing/lin/ctrt02.f
FORTRAN
bsd-3-clause
5,250
! { dg-do compile } ! { dg-options "-O" } ! { dg-final { scan-assembler-not "i_am_optimized_away" } } ! ! PR fortran/50960 ! ! PARAMETER arrays and derived types exists as static variables. ! Check that the their read-only nature is taken into account ! when optimizations are done. ! module m integer, parameter :: P...
the-linix-project/linix-kernel-source
gccsrc/gcc-4.7.2/gcc/testsuite/gfortran.dg/module_parameter_array_refs_2.f90
FORTRAN
bsd-2-clause
498
*> \brief \b DLARRJ performs refinement of the initial estimates of the eigenvalues of the matrix T. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DLARRJ + dependencies *> <a href="http://www.ne...
mverleg/1957
lib/lapack/dlarrj.f
FORTRAN
bsd-3-clause
11,146
! USAGE analytic_charge_min.x -cfg [CONFIG FILE NAME] ! ! CONFIG FILE FORMAT: ! !atompsffile = [atomic PSF file name] !atomdcdfile = [atomic DCD file name] !cgdcdfile = [CG DCD file name] !outfile = [output file - will contain positions and charges] !thresh = [minimization convergence criteria] !minsteps = [number o...
mccullaghlab/Coarse-grained-Charge-Fitting
analytic_position_minimization/fortran_version/analytic_charge_min.f90
FORTRAN
mit
21,289
C IMSL ROUTINE NAME - ZSPWA ZSPR0010 C ZSPR0020 C-----------------------------------------------------------------------ZSPR0030 C ZSPR0...
imohame/hex
src/zspwa1.f
FORTRAN
mit
22,886
subroutine readccm include 'traj.inc' character*80 icomm, ielements, ialpha open (unit=7,file='IN_SYSTEM',status='old') c read comment ; a header for the SYSTEM file read(7,80)icomm 80 format(a80) c read in the actual number of atoms read(7,80)icomm read(7,*) natom ...
YurySuleymanov/RPMDrate_v2.0
examples/Cl+O3/readccm.f
FORTRAN
mit
1,487
!HABFUZZ 2.8 !Copyright © 2020 Christos Theodoropoulos !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 la...
chtheodoro/habfuzz
habfuzz/habfuzz.f95
FORTRAN
apache-2.0
14,663
*> \brief \b ZLA_SYRCOND_X * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ZLA_SYRCOND_X + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack...
jmfranck/pyspecdata
lapack-3.4.0/SRC/zla_syrcond_x.f
FORTRAN
bsd-3-clause
7,644
C+PGVECTORS -- plot a vector field diagram SUBROUTINE PGVECTORS( NI, NJ, I1, I2, J1, J2, CHI, AMP, * OPTION, SCALE, ISAMP, JSAMP, TRANS, * ROTATE, GATE, BLANK ) C----------------------------------------------------------------------- C C Plot ...
CavendishAstrophysics/anmap
graphic_lib/pgvectors.f
FORTRAN
bsd-3-clause
4,170
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!! FEAST Driver dense example !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!! solving Ax=ex with A complex Hermitian --- A dense matrix!!!!!!!! !!!!!!! by Eric Polizzi- 2009-2011!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!...
certik/feast
example/Fortran-MPI/1_dense/pdriver_zfeast_heev.f90
FORTRAN
bsd-3-clause
3,527
! RUN: %S/test_errors.sh %s %t %f18 -fopenmp ! 2.15.3 Although variables in common blocks can be accessed by use association ! or host association, common block names cannot. As a result, a common block ! name specified in a data-sharing attribute clause must be declared to be a ! common block in the same scoping unit...
google/llvm-propeller
flang/test/Semantics/omp-resolve03.f90
FORTRAN
apache-2.0
663
! RUN: %f18 -fparse-only %s ! RUN: rm -rf %t && mkdir %t ! RUN: touch %t/empty.f90 ! RUN: %f18 -fparse-only %t/empty.f90
endlessm/chromium-browser
third_party/llvm/flang/test/Semantics/empty.f90
FORTRAN
bsd-3-clause
121
SUBROUTINE DSPR(UPLO,N,ALPHA,X,INCX,AP) * .. Scalar Arguments .. DOUBLE PRECISION ALPHA INTEGER INCX,N CHARACTER UPLO * .. * .. Array Arguments .. DOUBLE PRECISION AP(*),X(*) * .. * * Purpose * ======= * * DSPR performs the symmetric rank 1 operation * * A := alph...
wilseypa/llamaOS
src/tools/blas/dspr.f
FORTRAN
bsd-2-clause
6,032
DOUBLE PRECISION FUNCTION DRZT01( M, N, A, AF, LDA, TAU, WORK, $ LWORK ) * * -- LAPACK test routine (version 3.1) -- * Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. * November 2006 * * .. Scalar Arguments .. INTEGER LDA, LWORK, M, N * .. * ...
shengren/magma-1.6.1
testing/lin/drzt01.f
FORTRAN
bsd-3-clause
3,183
c\BeginDoc c c\Name: cnaup2 c c\Description: c Intermediate level interface called by cnaupd. c c\Usage: c call cnaup2 c ( IDO, BMAT, N, WHICH, NEV, NP, TOL, RESID, MODE, IUPD, c ISHIFT, MXITER, V, LDV, H, LDH, RITZ, BOUNDS, c Q, LDQ, WORKL, IPNTR, WORKD, RWORK, INFO ) c c\Arguments c c IDO, BMAT, ...
scipy/scipy-svn
scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/cnaup2.f
FORTRAN
bsd-3-clause
29,217
module params use gputils, only: Kernel, GP, WhiteKernel, DiagonalKernel, ExpKernel, & ExpSquaredKernel, ExpSineSquaredKernel, SumKernels, ProductKernels implicit none ! Debug logical :: doing_debug ! Data real(kind=8), allocatable, dimension(:) :: times, rvs, errors real(k...
j-faria/OPEN
OPEN/multinest/params.f90
FORTRAN
mit
5,362
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='normal') call kmlFinishFile(myfile) end program test
wilsonCernWq/Simula
fortran/utils/FoX-4.1.2/wkml/test/test_kmlCreatePointStyle_12.f90
FORTRAN
mit
251
module l2approx_data integer ( kind = 4 ), parameter :: ltkmax = 2000 integer ( kind = 4 ), parameter :: lpkmax = 100 ! old common approx integer ( kind = 4 ) :: l, k real ( kind = 8 ), dimension(lpkmax) :: break real ( kind = 8 ), dimension(ltkmax) :: coef end module module l2ir_data integer ( kind = 4 ...
ndarmage/pppack
src/pppack/f90/pppack_prb.f90
FORTRAN
mit
79,986
program FIRDMAIN implicit none ! LOCAL SCALARS integer :: fcnt,flag,ftype,i,me,mi,n logical :: verbose real(8) :: epsfeas,epsopt,f,feas ! LOCAL ARRAYS real(8), allocatable :: l(:), u(:), x(:) n = 2 me = 1 mi = 1 allocate(x(n),l(n),u(n)) x(1) = 2.0D0 x(2) = 2.0D0 l(1) = - 1.0D+20 ...
fsobral/fird
tests/examples/hs14.f90
FORTRAN
mit
3,104
program test0202 use convertharmonics implicit none integer(i16b) ::detplus, detminus integer(i16b), allocatable :: zbasislist(:, :), indet(:) real(rk), allocatable :: zcoefs(:, :) real(rk) :: zoefs integer :: pos, nzbasis allocate(indet(2)) !allocate(zbasislist(10...
mingtongh/csfcal
test0306.f90
FORTRAN
mit
1,722
!=============================================================================== ! One of Andy Nowacki's Fortran utility modules for dealing with seismic ! anisotropy and other problems. ! ! Andy Nowacki <andy.nowacki@bristol.ac.uk> ! ! See the file LICENCE for licence details. !========================================...
anowacki/seismo-fortran
progs/src/delta.f90
FORTRAN
mit
1,918
program volatile_doctest use vecfor_R16P type(vector_R16P) :: pt(0:1) pt(1) = 1 * ex_R16P + 2 * ey_R16P + 1 * ez_R16P pt(0) = 2_I8P - pt(1) print "(3(F3.1,1X))", pt(0)%x, pt(0)%y, pt(0)%z endprogram volatile_doctest
szaghi/VecFor
src/tests/vecfor_R16P/vecfor_R16P-doctest-91.f90
FORTRAN
bsd-2-clause
219
*> \brief \b DLALSD * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DLALSD + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlals...
jmfranck/pyspecdata
lapack-3.4.0/SRC/dlalsd.f
FORTRAN
bsd-3-clause
16,884
subroutine wshtc c c + + + PURPOSE + + + c c Calculates the time of concentration at the outlet of a channel c element. c c Called from: SR WSHPEK c Author(s): C. Baffaut, Ascough II c Reference in User Guide: c c Version: c Date recoded: c Recoded by: c c ...
akrherz/idep
src/wepp2010.1/wshtc.for
FORTRAN
mit
10,190
hw3_t.v datapath.v
hydai/Verilog-Practice
DigitalDesign/hw3/hw3.f
FORTRAN
mit
19
! =========================================================================================================== module xx_initialize use xx_kinds use xx_public_variables use xx_pass_integ use xx_in_out implicit none private :: TEST_SETTINGS_GLOBAL, TEST_SETTINGS_ITERATION public :: PROSPINO_CHECK_FS, PROS...
sliem/docker-hep
prospino/on_the_web_10_17_14/Xinitialize.f90
FORTRAN
apache-2.0
43,664
*> \brief \b SDRVRF3 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE SDRVRF3( NOUT, NN, NVAL, THRESH, A, LDA, ARF, B1, B2, * + S_WORK_SLANGE, S_WORK_...
grisuthedragon/OpenBLAS
lapack-netlib/TESTING/LIN/sdrvrf3.f
FORTRAN
bsd-3-clause
11,983
MODULE STRING_OPERATIONS IMPLICIT NONE CONTAINS ! FUNCTION INT_TO_CHAR(IntNum) RESULT(CharNum) ! INTEGER, INTENT(IN) :: IntNum ! CHARACTER(:), ALLOCATABLE :: CharNum ! IF (IntNum .LE. 9) THEN ! WRITE(CharNum, '(I1)') IntNum ! CharNum = '00'//CharNum !...
rtagirov/nessy
src/stroper.for
FORTRAN
mit
1,136
!**************************************************************************** ! ! PROGRAM: OrcaDriver - This program tests the OrcaFlex calling. ! !**************************************************************************** !********************************************************************************************...
OpenFAST/OpenFAST
modules/orcaflex-interface/src/OrcaDriver.f90
FORTRAN
apache-2.0
29,187
module dArgDynamicArray_Class !! Class that act as stacks, queues, and priority queues like [[dDynamicArray_Class]] but with an added !! integer index so that 'lists' of both a key and value can be maintained. !! These classes use dynamically allocated contiguous blocks of memory to store a list of numbers. !! ...
leonfoks/coretran
src/dynamicArrays/dArgDynamicArray_Class.f90
FORTRAN
bsd-3-clause
14,672
PROGRAM loop_fusion INTEGER :: i !$claw loop-fusion DO i = 1, 10 ! Loop body END DO !$claw loop-fusion DO i = 1, 10 ! Loop body END DO END PROGRAM loop_fusion
clementval/claw-compiler
documentation/developer/code/trans_dependent.f90
FORTRAN
bsd-2-clause
183
*> \brief \b ZLANHB returns the value of the 1-norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a Hermitian band matrix. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlo...
grisuthedragon/OpenBLAS
lapack-netlib/SRC/zlanhb.f
FORTRAN
bsd-3-clause
8,620
*> \brief \b DLAG2S converts a double precision matrix to a single precision matrix. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DLAG2S + dependencies *> <a href="http://www.netlib.org/cgi-bin...
mverleg/1957
lib/lapack/dlag2s.f
FORTRAN
bsd-3-clause
4,125
SUBROUTINE ZUNK2(ZR, ZI, FNU, KODE, MR, N, YR, YI, NZ, TOL, ELIM, * ALIM) C***BEGIN PROLOGUE ZUNK2 C***REFER TO ZBESK C C ZUNK2 COMPUTES K(FNU,Z) AND ITS ANALYTIC CONTINUATION FROM THE C RIGHT HALF PLANE TO THE LEFT HALF PLANE BY MEANS OF THE C UNIFORM ASYMPTOTIC EXPANSIONS FOR H(KIND,FNU,ZN) A...
WarrenWeckesser/scipy
scipy/special/amos/zunk2.f
FORTRAN
bsd-3-clause
17,248
C * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * C * * C * copyright (c) 2011 by UCAR * C * * C * University Corpora...
bgin/MissileSimulation
External/FFTPACK/cosqf1.f
FORTRAN
mit
3,148
*> \brief \b SORML2 multiplies a general matrix by the orthogonal matrix from a LQ factorization determined by sgelqf (unblocked algorithm). * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SORML2 +...
rangsimanketkaew/NWChem
src/lapack/single/sorml2.f
FORTRAN
mit
7,380
program jacobi !$ use OMP_LIB implicit none ! Default Matrix Dimension integer, parameter :: n=1201, diag=800 integer :: i, j, ir, t0, t1, iteration=0 real(kind=8), dimension(n,n) :: a real(kind=8), dimension(n) :: x, x_current, b real(kind=8) :: norme r...
StratusLab/benchmarks
openmp-jacobi/src/openmp-jacobi.f90
FORTRAN
apache-2.0
2,911
subroutine annulus46_fort_header_ascii & (matname1,matname2, time,meqn,maux,ngrids) implicit none integer iframe,meqn,ngrids, maux, mfields character*11 matname1 character*11 matname2 double precision time integer matunit1, matunit2 matunit1 = 10 matuni...
ForestClaw/forestclaw
applications/paper/annulus/user_4.6/annulus46_output.f
FORTRAN
bsd-2-clause
3,626
!****h* ROBODoc/H5P (_F90) ! ! NAME ! H5P_PROVISIONAL ! ! PURPOSE ! ! This file contains Fortran 90 interfaces for H5P functions. It contains ! the same functions as H5Pff_F03.f90 but excludes the Fortran 2003 functions ! and the interface listings. This file will be compiled instead of H5Pff_F03.f90 ! if Fortran ...
gnu3ra/SCC15HPCRepast
INSTALLATION/hdf5-1.8.15-patch1/fortran/src/H5Pff_F90.f90
FORTRAN
bsd-3-clause
30,877
!-------------------------------------------------------------------------------! ! ! subroutine phenology(nfile,row,col,s,y,yfit,nlocal,startcutoff,minimum) ! This routine extracts phenological parameters from processed data ...
bucricket/projectMASpreprocess
source/Smooth_Gapfill_LAI/phenology.f90
FORTRAN
bsd-3-clause
7,102
! ! Multiples of 3 and 5 ! ! Problem 1 ! ! If we list all the natural numbers below 10 that are multiples of 3 or 5, ! we get 3, 5, 6 and 9. The sum of these multiples is 23. ! Find the sum of all the multiples of 3 or 5 below 1000. ! program p_001 use, intrinsic :: iso_fortran_env implicit none integer :: i, sum...
chirimenmonster/projecteuler
p001/p001.f90
FORTRAN
bsd-3-clause
504
*> \brief \b CTBTRS * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CTBTRS + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/ctbtrs.f...
grisuthedragon/OpenBLAS
lapack-netlib/SRC/ctbtrs.f
FORTRAN
bsd-3-clause
6,802
*> \brief \b SLASRT sorts numbers in increasing or decreasing order. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SLASRT + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz...
mverleg/1957
lib/lapack/slasrt.f
FORTRAN
bsd-3-clause
7,897
*> \brief \b ZSYRK * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE ZSYRK(UPLO,TRANS,N,K,ALPHA,A,LDA,BETA,C,LDC) * * .. Scalar Arguments .. * COMPLEX*16 ALPHA,...
mverleg/1957
lib/blas/zsyrk.f
FORTRAN
bsd-3-clause
10,679