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 FCN(x,f,n,par) parameter (nss = 24) dimension x(n), f(n), par(n+1), r(nss), g(nss) common/wblock6/ xmhigh(nss),ref_gamma_dot(nss),Pij_Dijdev(nss), > tau(nss), p(nss,4), taur(nss), twomu, g integer m m=n+1 !write(*,*) 'in fcn n size par xmhigh1 ref_ga...
imohame/hex
src/FCN.f
FORTRAN
mit
1,250
subroutine dgefa(a,lda,n,ipvt,info) * * $Id$ * integer lda,n,ipvt(1),info double precision a(lda,1) c c dgefa factors a double precision matrix by gaussian elimination. c c dgefa is usually called by dgeco, but it can be called c directly with a saving in time if rcond is not needed. c ...
rangsimanketkaew/NWChem
src/util/dgefa.f
FORTRAN
mit
2,845
! ================================================================================================================================== ! NAME ! ! vex [ veks ] - External Potential Module ! ! SYNOPSIS ! ! USE :: VEX ! ! DESCRIPTION ! ! VEX is a custom Fortran module written to compute analytic external poten...
mkandes/gpse
source/vex.f90
FORTRAN
mit
11,734
great_rsd(kk1,hh1). great_rsd(k1,ii1). great_rsd(ee1,ii1). great_rsd(t1,aa1). great_rsd(ff1,jj1). great_rsd(u1,l1). great_rsd(aa1,c1). great_rsd(v1,kk1). great_rsd(f1,a1). great_rsd(f1,cc1). great_rsd(q1,ee1). great_rsd(v1,x1). great_rsd(w1,ii1). great_rsd(c1,x1). great_rsd(v1,h1). great_rsd(p1,ff1). great_rsd(p1,dd1)....
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_scopolamine_0.2noisyOnTest/train8.f
FORTRAN
apache-2.0
5,282
great_ne(q1,m1). great_ne(m1,a1). great_ne(b1,c1). great_ne(v1,ii1). great_ne(z1,ff1). great_ne(y1,w1). great_ne(z1,p1). great_ne(p1,m1). great_ne(ii1,w1). great_ne(v1,c1). great_ne(v1,b1). great_ne(cc1,ee1). great_ne(bb1,w1).
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_anime_noiseless/incremental4/test1.f
FORTRAN
apache-2.0
227
program test_random_number real :: r(1,5) CALL RANDOM_NUMBER(r) print *,r end program
mreverdy/A-GCM
test_sum.f90
FORTRAN
bsd-2-clause
138
C Copyright(C) 2011-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/grepos/grepos.f
FORTRAN
bsd-3-clause
47,654
C Example-Prog-1: Scale a map by a user-supplied value C C C The map is scaled such that: C C "output-map" = "scale-factor" * ("input-map" - "offset-level") C C where scale-factor and offset-level are supplied by the user. C C This example program performs the same function as scale-map in C the map-analysis sub...
CavendishAstrophysics/anmap
examples/example_1.f
FORTRAN
bsd-3-clause
3,199
subroutine zdotum(result, n, x, incx, y, incy) complex*16 result complex*16 x(*), y(*) integer n, incx, incy external zdotu complex*16 zdotu result = zdotu(n, x, incx, y, incy) return end
matlisp/matlisp-forbi
lib-src/zdotum.f
FORTRAN
bsd-3-clause
241
SUBROUTINE SERRTR( PATH, NUNIT ) * * -- LAPACK test routine (version 3.1) -- * Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. * November 2006 * * .. Scalar Arguments .. CHARACTER*3 PATH INTEGER NUNIT * .. * * Purpose * ======= * * SERRTR tests the ...
maxhutch/magma
testing/lin/serrtr.f
FORTRAN
bsd-3-clause
16,573
#include "eiscor.h" ! ! IARNAN (Integer Auxiliary Routine NAN check) ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! This routine checks an integer number to see if it is a NAN. ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! INPUT VARIABLES: ! ! NUM ...
andreasnoack/EiSCor.jl
deps/eiscor-master/src/integer/IARNAN.f90
FORTRAN
mit
823
\ message.f - software message handler \ ------------------------------------------------------------------------ .( loading message.f ) cr \ ------------------------------------------------------------------------ <headers \ ------------------------------------------------------------------------ \ messa...
mark4th/t4
src/ext/message.f
FORTRAN
mit
1,948
module SphereBVEModule !> @file SphereBVE.f90 !> Data structure for representing solutions of the Barotropic Vorticity Equation (BVE) on the surface of a rotating sphere !> @author Peter Bosler, Sandia National Laboratories Center for Computing Research !> !> !> @defgroup SphereBVE SphereBVE !> @brief Data structure f...
pbosler/lpm-v2
src/SphereBVE.f90
FORTRAN
mit
21,289
great_ne(b1,h1). great_ne(t1,kk1). great_ne(z1,m1). great_ne(cc1,h1). great_ne(q1,y1). great_ne(bb1,i1). great_ne(q1,ii1). great_ne(jj1,aa1). great_ne(u1,aa1). great_ne(k1,w1). great_ne(q1,hh1). great_ne(z1,dd1). great_ne(kk1,w1). great_ne(jj1,v1). great_ne(jj1,b1). great_ne(m1,v1). great_ne(p1,y1). great_ne(dd1,ii1). ...
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_anime_noiseless/incremental8/test3.f
FORTRAN
apache-2.0
479
SUBROUTINE ZGEGV_F95( A, B, ALPHA, BETA, VL, VR, 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 USE F77_LAPACK, ONLY: G...
sradanov/flyingpigeon
flyingpigeon/Fsrc/Lapack95/SRC/la_zgegv.f90
FORTRAN
apache-2.0
10,728
! fortran module for interacting with the ParaView CoProcessor ! loosely based on: ! ParaView-3.14.1-Source/CoProcessing/Adaptors/FortranAdaptors/PhastaAdaptor/phastaNSadaptor.f ! -- Changed for SESE ! subroutine determines if coprocessing needed during the ! current simulation step or not, and if so, calls the copro...
openmichigan/PSNM
NavierStokes/Programs/NavierStokes3dFortranMPIParaView/node-based/NSadaptor.f90
FORTRAN
bsd-2-clause
2,518
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/getlxn.f
FORTRAN
bsd-3-clause
3,276
program CubedSphereTest !****************************************************************************** ! Peter A. Bosler ! Department of Mathematics ! University of Michigan ! pbosler@umich.edu ! !****************************************************************************** ! ! This program is a unit test for a basic...
pbosler/LPPM
archive/CubedSphereTest2.f90
FORTRAN
mit
2,363
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 ...
siconos/siconos
externals/hairer/linsp.f
FORTRAN
apache-2.0
121,041
module h_routines interface subroutine add_noise_to_data(current_expt,current_data) use h_struct implicit none type(expt_struct), pointer :: current_expt type(data_struct), pointer :: current_data end subroutine subroutine expt_type_parser(current_expt) use h_struct type(expt_struct), point...
chsolis/GlobalCurve
header/h_routines.f90
FORTRAN
apache-2.0
4,533
MODULE ode_path USE nrtype INTEGER(I4B) :: nok,nbad,kount LOGICAL(LGT), SAVE :: save_steps=.false. REAL(SP) :: dxsav REAL(SP), DIMENSION(:), POINTER :: xp REAL(SP), DIMENSION(:,:), POINTER :: yp END MODULE ode_path SUBROUTINE odeint(ystart,x1,x2,eps,h1,hmin,derivs,rkqs) USE nrtype; USE nrutil, ONLY :...
RobinsonLab/GlobalCurve
models/physiology/three_state_A_M/odeint.f90
FORTRAN
apache-2.0
2,515
program t goto (100,200),3-1 print *,'bad' 100 print *,100 goto 999 200 print *,200 999 print *,'done' end program t
thender/ppp
tests/t0081r/t.f90
FORTRAN
apache-2.0
123
c c $Id$ c SUBROUTINE list_shell(nshel,ntshel,shelatm) implicit none include 'p_array.inc' include 'p_input.inc' include 'cm_atom.inc' include 'cm_shel.inc' integer i,j,k integer nshel,ntshel,shelatm dimension shelatm(mxshel,2) ntshel=0 do i=1,na...
rangsimanketkaew/NWChem
src/smd/graveyard/smd-subgroups/list_shell.f
FORTRAN
mit
894
*> \brief \b ZTSQR01 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE ZTSQR01(TSSW, M,N, MB, NB, RESULT) * * .. Scalar Arguments .. * INTEGER M, N, MB * .. ...
buffer51/OpenBLAS
lapack-netlib/TESTING/LIN/ztsqr01.f
FORTRAN
bsd-3-clause
13,185
subroutine AsBRes (y, yc, x, shpb, shglb, & ienb, materb, iBCB, BCB, & rmes) c c---------------------------------------------------------------------- c c This routine computes and assembles the data corresponding to the c boundary elements...
SCOREC/phasta
phSolver/compressible/asbres.f
FORTRAN
bsd-3-clause
1,738
*> \brief \b SLAQGB scales a general band matrix, using row and column scaling factors computed by sgbequ. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SLAQGB + dependencies *> <a href="http://...
mverleg/1957
lib/lapack/slaqgb.f
FORTRAN
bsd-3-clause
7,091
!-------------------------------------------------------------------------! ! ! ! N A S P A R A L L E L B E N C H M A R K S 3.3 ! ! ! ! ...
rahlk/Parallel-Systems
src/hw3/PMPI/NPB3.3/NPB3.3-MPI/MG/mg.f
FORTRAN
mit
73,522
#include "eiscor.h" ! ! DARNAN (Double Auxiliary Routine NAN check) ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! This routine checks a real number to see if it is a NAN. ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! INPUT VARIABLES: ! ! NUM REA...
andreasnoack/EiSCor.jl
deps/eiscor-master/src/double/DARNAN.f90
FORTRAN
mit
815
great_rsd(kk1,x1). great_rsd(v1,ii1). great_rsd(hh1,dd1). great_rsd(v1,w1). great_rsd(cc1,q1). great_rsd(kk1,ii1). great_rsd(w1,ff1). great_rsd(u1,ii1). great_rsd(e1,l1). great_rsd(ee1,hh1). great_rsd(aa1,z1). great_rsd(a1,x1). great_rsd(hh1,jj1). great_rsd(cc1,ii1). great_rsd(t1,z1). great_rsd(w1,kk1). great_rsd(aa1,h...
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_scopolamine_noiseless/incremental8/test4.f
FORTRAN
apache-2.0
471
*> \brief <b> SPPSVX computes the solution to system of linear equations A * X = B for OTHER matrices</b> * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SPPSVX + dependencies *> <a href="http://w...
jmfranck/pyspecdata
lapack-3.4.0/SRC/sppsvx.f
FORTRAN
bsd-3-clause
16,631
subroutine setprob implicit double precision (a-h,o-z) character*12 fname return end
clawpack/clawpack-4.x
book/chap20/rotate/setprob.f
FORTRAN
bsd-3-clause
116
*> \brief \b CUPMTR * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CUPMTR + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/cupmtr.f...
buffer51/OpenBLAS
lapack-netlib/SRC/cupmtr.f
FORTRAN
bsd-3-clause
9,051
*> \brief \b ZERREC * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE ZERREC( PATH, NUNIT ) * * .. Scalar Arguments .. * CHARACTER*3 PATH * INTEGER ...
grisuthedragon/OpenBLAS
lapack-netlib/TESTING/EIG/zerrec.f
FORTRAN
bsd-3-clause
8,889
SUBROUTINE ZHEEV( JOBZ, UPLO, N, A, LDA, W, WORK, LWORK, RWORK, $ INFO ) * * -- LAPACK driver routine (version 3.2) -- * -- LAPACK is a software package provided by Univ. of Tennessee, -- * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- * November 2006 * ...
alexurba/cftb
src/libsrc/lapack/SRC/zheev.f
FORTRAN
mit
6,872
************************************************************************* * This program is to compare two protein structures and identify the * best superposition that has the highest TM-score. Input structures * must be in the PDB format. By default, TM-score is normalized by * the second protein. ...
luwei0917/awsemmd_script
TMalign/TMscore.f
FORTRAN
mit
42,808
program test use FoX_wkml implicit none type(xmlf_t) :: myfile call kmlAddInnerBoundary(myfile, (/10.25, 10.25, 10.75, 10.75/), & (/10.25, 10.75, 10.75, 10.25/)) call kmlEndRegion(myfile) call kmlFinishFile(myfile) end program test
wilsonCernWq/Simula
fortran/utils/FoX-4.1.2/wkml/test/test_kmlAddInnerBoundary_0.f90
FORTRAN
mit
284
*cmdc.f *cmdc part=1 of 1. source code converter utility program *version=4.1 last modified: 08-dec-93 c c RCS $Revision: 1.1.1.1 $ $Date: 2001/04/09 08:15:53 $ c *deck cmdc program cmdc c c this program activates blocks of machine-dependent source code c based on matching a set of input flags read from a co...
MOLFDIR/MOLFDIR
source/argosecp/cmdc/cmdc.f
FORTRAN
apache-2.0
27,555
great_ne(q1,m1). great_ne(m1,a1). great_ne(b1,c1). great_ne(v1,ii1). great_ne(z1,ff1). great_ne(y1,w1). great_ne(z1,p1). great_ne(p1,m1). great_ne(ii1,w1). great_ne(v1,c1). 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). grea...
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_anime_noiseless/incremental10/train2.f
FORTRAN
apache-2.0
5,431
! RUN: %B/test/Semantics/test_errors.sh %s %flang %t ! Test restrictions on what subprograms can be used for defined assignment. module m1 implicit none type :: t contains !ERROR: Defined assignment procedure 'binding' must be a subroutine generic :: assignment(=) => binding procedure :: binding => a...
endlessm/chromium-browser
third_party/llvm/flang/test/Semantics/resolve65.f90
FORTRAN
bsd-3-clause
3,309
!------------------------------------------------------------- ! Copyright (c) 2015-2016 Yuta Kawai. All rights reserved. !------------------------------------------------------------- !> @brief A module to manage some variables associated with boundary conditions. !! !! @author Yuta Kawai !! module DOGCM_Boundary_va...
ywkawai/Dennou-OGCM
model/dogcm/src/boundary/DOGCM_Boundary_vars_mod.f90
FORTRAN
mit
9,196
C utnumb.f 2.1 9/4/91 C C C SUBROUTINE CHKINT I (IMIN,IMAX,IDEF, M IVAL, O ICHK) C C + + + PURPOSE + + + C Check the integer IVAL against the minimum (IMIN) C and maximum (IMAX) values. IVAL is set to the C default (I...
kbrannan/PyHSPF
src/hspf13/utnumb.f
FORTRAN
bsd-3-clause
21,157
! RUN: %S/test_errors.sh %s %t %f18 ! C1131 -- check valid and invalid DO loop naming PROGRAM C1131 IMPLICIT NONE ! Valid construct validDo: DO WHILE (.true.) PRINT *, "Hello" END DO ValidDo ! Missing name on END DO missingEndDo: DO WHILE (.true.) PRINT *, "Hello" !ERROR: DO construct name r...
google/llvm-propeller
flang/test/Semantics/dosemantics01.f90
FORTRAN
apache-2.0
495
! Copyright 2018 German Aerospace Center (DLR) ! ! 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 agre...
DLR-SC/F2x
test_old/cython_ex/second.f90
FORTRAN
apache-2.0
745
!*********************************************************** ! mtx_colm,mtx_rowp,mtx_mtx !********************************************************** subroutine mtx_colm(a_colm,a_rowp, & b_colm,b_rowp, & c_colm,m,l,n) integer,intent(in) :: ...
SCOREC/phasta
phSolver/AMG/ramg_ITAI.f
FORTRAN
bsd-3-clause
9,245
*> \brief \b CTPMQRT * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CTPMQRT + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/ctp...
mverleg/1957
lib/lapack/ctpmqrt.f
FORTRAN
bsd-3-clause
10,551
*> \brief \b DERRRFP * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE DERRRFP( NUNIT ) * * .. Scalar Arguments .. * INTEGER NUNIT * .. * * *...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/LIN/derrrfp.f
FORTRAN
bsd-3-clause
8,977
*> \brief \b DGELQF * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DGELQF + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dgelq...
rangsimanketkaew/NWChem
src/lapack/double/dgelqf.f
FORTRAN
mit
7,579
!> \file eos.f90 !! \BRIEF !> Module with EOS-80/TEOS-10 conversion subroutines MODULE meos CONTAINS #if USE_PRECISION == 2 # define SGLE(x) (x) #else # define SGLE(x) REAL(x) #endif SUBROUTINE sa2sp_chem(SA, TA, DIC, NO3, SIOH4, N, SP) ! sa2sp_chem: From Absolute to Practical Salinity ! ! Des...
jamesorr/mocsy
src/eos.f90
FORTRAN
mit
28,409
SUBROUTINE MB03BA( K, H, S, SMULT, AMAP, QMAP ) C C SLICOT RELEASE 5.5. C C Copyright (c) 2002-2012 NICONET e.V. C C PURPOSE C C To compute the suitable maps for Hessenberg index H and C signature array S. Auxiliary routine for the periodic QZ C algorithms. C C ARGUMENTS C...
bgin/MissileSimulation
External/SLICOT/MB03BA.f
FORTRAN
mit
2,689
SUBROUTINE SS_GSYM ( symnam, symval, iret ) C************************************************************************ C* SS_GSYM * C* * C* This subroutine gets the value of a symbol defined on a UNIX system. * C* * C* SS_GSYM ( SYMNAM, SYMVAL, IRET ) * C* * C* Input parameters: ...
sgdecker/pygempak
ssgsym.f
FORTRAN
apache-2.0
1,187
! ! 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/GCEED/modules/allocate_psl.f90
FORTRAN
apache-2.0
3,458
program t implicit none integer::i,j j=-1 i=f(j) print '(i0)',i print '(i0)',j contains integer function f(i) integer,intent(inout)::i print '(i0)',i if (i.lt.0) then i=999 f=i return endif f=i+1 end fun...
thender/ppp
tests/t0196x/t.f
FORTRAN
apache-2.0
348
*> \brief \b CHEMV * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE CHEMV(UPLO,N,ALPHA,A,LDA,X,INCX,BETA,Y,INCY) * * .. Scalar Arguments .. * COMPLEX ALPHA,BETA *...
grisuthedragon/OpenBLAS
lapack-netlib/BLAS/SRC/chemv.f
FORTRAN
bsd-3-clause
9,544
*> \brief \b CPOEQU * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CPOEQU + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/cpoequ.f...
grisuthedragon/OpenBLAS
lapack-netlib/SRC/cpoequ.f
FORTRAN
bsd-3-clause
5,547
PROGRAM TestConversions USE TemperatureConversions REAL :: TempF1, TempF2, TempF3, TempF4 REAL :: TempK1, TempK2 TempF1 = 100.0 ! Fahrenheit TempF2 = -40.0 ! Fahrenheit CALL FahrenheitToKelvin(TempF1, TempK1) CALL FahrenheitToKelvin(TempF2, TempK2) CALL KelvinToFahrenheit(TempK1, TempF3) CALL Ke...
tcermak/programingworkshop
Fortran/Conversions/TestConversions.f90
FORTRAN
mit
431
! -*- Mode: F90; -*- ! Copyright(c) Microsoft Corporation.All rights reserved. ! Licensed under the MIT License. ! ! (C) 2004 by Argonne National Laboratory. ! (C) 2015 by Microsoft Corporation ! ! MPICH COPYRIGHT ! ! The following is a notice of limited availability of the ...
nickoe/MINGW-packages
mingw-w64-msmpi/mpi.f90
FORTRAN
bsd-3-clause
53,445
*> \brief \b DLARRB provides limited bisection to locate eigenvalues for more accuracy. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DLARRB + dependencies *> <a href="http://www.netlib.org/cgi-...
mverleg/1957
lib/lapack/dlarrb.f
FORTRAN
bsd-3-clause
12,528
! Copyright 2014-2015 Free Software Foundation, Inc. ! ! 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 3 of the License, or ! (at your option) any later version. ! ! This program ...
armoredsoftware/protocol
measurer/gdb-7.9/gdb/testsuite/gdb.fortran/print-formatted.f90
FORTRAN
bsd-3-clause
767
subroutine qawo(f,a,b,omega,integr,epsabs,epsrel,result,abserr, * neval,ier,leniw,maxp1,lenw,last,iwork,work) c***begin prologue qawo c***date written 800101 (yymmdd) c***revision date 830518 (yymmdd) c***category no. h2a2a1 c***keywords automatic integrator, special-purpose, c integr...
bgin/MissileSimulation
External/QUADPACK/qawo.f
FORTRAN
mit
10,314
SUBROUTINE MRQCOF(X,Y,SIG,NDATA,A,MA,LISTA,MFIT,ALPHA,BETA,NALP, *CHISQ,FUNCS) PARAMETER (MMAX=20) DIMENSION X(NDATA),Y(NDATA),SIG(NDATA),ALPHA(NALP,NALP),BETA(MA), * DYDA(MMAX),LISTA(MFIT),A(MA) DO 12 J=1,MFIT DO 11 K=1,J ALPHA(J,K)=0. 11 CONTINUE BET...
bamford/astrobamf
nr/fortran/mrqcof.for
FORTRAN
mit
850
program test use FoX_wkml implicit none type(xmlf_t) :: myfile real :: coords(2, 2) coords(1,:) = (/1.0, 2.0/) coords(2,:) = (/1.0, 2.0/) call kmlBeginFile(myfile, "test.xml", -1) call kmlCreatePoints(myfile, coords, (/1000.0, 2000.0/)) call kmlFinishFile(myfile) end program test
wilsonCernWq/Simula
fortran/utils/FoX-4.1.2/wkml/test/test_kmlCreatePoints_6.f90
FORTRAN
mit
305
subroutine invert_anneal() !---- ! Determine fault slip with a simulated annealing search, varying slip magnitude and rake angle ! randomly to find the best fitting solution. !---- use trig, only: d2r use annealing, only: anneal use fltinv, only: fault, & max_iteration, & reset_ite...
mherman09/Hdef
src/fltinv_anneal.f90
FORTRAN
mit
19,594
! RUN: %f18 -fdebug-pre-fir-tree -fparse-only %s | FileCheck %s ! Test Pre-FIR Tree captures all the intended nodes from the parse-tree ! Coarray and OpenMP related nodes are tested in other files. ! CHECK: Program test_prog program test_prog ! Check specification part is not part of the tree. interface subro...
endlessm/chromium-browser
third_party/llvm/flang/test/Lower/pre-fir-tree02.f90
FORTRAN
bsd-3-clause
7,148
subroutine nup !! ~ ~ ~ PURPOSE ~ ~ ~ !! This subroutine calculates plant nitrogen uptake !! ~ ~ ~ INCOMING VARIABLES ~ ~ ~ !! name |units |definition !! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ !! bio_ms(:) |kg/ha |land c...
grmpfhmbl/swatmodel-trusty64
src/nup.f
FORTRAN
cc0-1.0
7,612
SUBROUTINE CSPMV( UPLO, N, ALPHA, AP, X, INCX, BETA, Y, INCY ) * * -- LAPACK auxiliary routine (version 3.2) -- * -- LAPACK is a software package provided by Univ. of Tennessee, -- * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- * November 2006 * * .. Scalar Arguments .. ...
joao-lima/plasma-kaapi
testing/lin/cspmv.f
FORTRAN
bsd-3-clause
8,127
*> \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/cgggl...
mverleg/1957
lib/lapack/cggglm.f
FORTRAN
bsd-3-clause
10,386
*> \brief \b SGBTF2 computes the LU factorization of a general band matrix using the unblocked version of the algorithm. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SGBTF2 + dependencies *> <a hr...
grisuthedragon/OpenBLAS
lapack-netlib/SRC/sgbtf2.f
FORTRAN
bsd-3-clause
8,059
SUBROUTINE MB04CD( COMPQ1, COMPQ2, COMPQ3, N, A, LDA, B, LDB, D, $ LDD, Q1, LDQ1, Q2, LDQ2, Q3, LDQ3, IWORK, $ LIWORK, DWORK, LDWORK, BWORK, INFO ) C C SLICOT RELEASE 5.5. C C Copyright (c) 2002-2012 NICONET e.V. C C PURPOSE C C To compute th...
bgin/MissileSimulation
External/SLICOT/MB04CD.f
FORTRAN
mit
146,448
program cubedSphereMeshTest use NumberKindsModule use LoggerModule use PolyMesh2dModule use ParticlesModule use EdgesModule use FacesModule use STDIntVectorModule use SphereGeomModule implicit none integer(kint) :: i, j type(PolyMesh2d) :: sphere integer(kint) :: initNest integer(kint) :: maxNest integer(kint) :: a...
pbosler/lpm-v2
tests/CubedSphereTester.f90
FORTRAN
mit
8,584
C the toy example code for helloworld is as follows: PRINT *, "Hello World!" END C from commandline then we get default a.out, which should be C executable C $ gfortran helloworld.f C of course you can pass a name to replace a.out C $ gfortran helloworld.f -o hi C and now to pass to Julia, th...
JuliaQuant/FinancialAnalytics.jl
bin/example_of_how_to_compile_and_call_hello.f
FORTRAN
mit
914
!^CFG COPYRIGHT UM ! !Data are provided in electron volts (eV) !================================= module CRASH_ModIonization use CRASH_ModAtomicMass,ONLY:nZMax implicit none PRIVATE !Except !///////////////////////////////////////////////////////////////////////////// !The data for the first 3 tables are tak...
dpawlows/MGITM
util/CRASH/src/ModIonizPotential.f90
FORTRAN
mit
12,564
program intrinsics_2 integer*4 k,l,m,s,i,j character*(2) ss(6) double precision xx real*4 x k = -1 l = 0 m = 1 s = -1 write(*,*) isign(k,s), isign(l,s), isign(m,s) s = 0 write(*,*) isign(k,s), isign(l,s), isign(m,s) s = 1 write(*,*) isi...
hickerson/bbn
fable/fable_sources/fable/test/valid/intrinsics_legacy.f
FORTRAN
mit
929
SUBROUTINE CHDER(A,B,C,CDER,N) DIMENSION C(N),CDER(N) CDER(N)=0. CDER(N-1)=2*(N-1)*C(N) IF(N.GE.3)THEN DO 11 J=N-2,1,-1 CDER(J)=CDER(J+2)+2*J*C(J+1) 11 CONTINUE ENDIF CON=2./(B-A) DO 12 J=1,N CDER(J)=CDER(J)*CON 12 CONTINUE RETURN ...
bamford/astrobamf
nr/fortran/chder.for
FORTRAN
mit
329
module finalist_internal_10 use finalist_header contains subroutine Formura_internal_250 () double precision :: a double precision :: a_0 integer :: ix integer :: iy integer :: iz !$omp parallel !$omp do collapse(2) private(ix, iy, iz) do iz = 1 , 2 do iy = 1 , 2 ...
nushio3/formura
attic/f90-before-coopt/finalist_internal_10.f90
FORTRAN
mit
65,249
C*PGQCF -- inquire character font C%void cpgqcf(int *font); C+ SUBROUTINE PGQCF (FONT) INTEGER FONT C C Query the current Character Font (set by routine PGSCF). C C Argument: C FONT (output) : the current font number (in range 1-4). C-- C 5-Nov-1985 - new routine [TJP]. C 25-OCT-1993 - ch...
RobinsonLab/pgplot
src/pgqcf.f
FORTRAN
apache-2.0
567
SUBROUTINE CGELS1_F95( A, B, TRANS, 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, LA_WS_GELS USE F77_LAPACK, ...
sradanov/flyingpigeon
flyingpigeon/Fsrc/Lapack95/SRC/la_cgels1.f90
FORTRAN
apache-2.0
2,017
!> @ingroup insertion_sort !> !> @brief !> Run an insertion sort on a vector of real values. !> !> @details !> Run an insertion sort on a vector of real values to sort them in a specified order. The vector of intergers map is permuted in the same way that the vector vec is permuted to be sorted. It is important tha...
arinrb/bsort
src/insertion_sort_map_real.f90
FORTRAN
apache-2.0
1,485
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/sqzlgv.f
FORTRAN
bsd-3-clause
3,199
*+ graphic_open_compound subroutine graphic_open_compound( iunit, file, s ) C -------------------------------------------------- C C Open a compound object and return file pointer C C Returned: C file pointer integer iunit C Given: C compound file name character*(*) file C C Updat...
CavendishAstrophysics/anmap
graphic_lib/graphic_open_compound.f
FORTRAN
bsd-3-clause
1,447
*> \brief \b DLARRV computes the eigenvectors of the tridiagonal matrix T = L D LT given L, D and the eigenvalues of L D LT. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DLARRV + dependencies *...
mverleg/1957
lib/lapack/dlarrv.f
FORTRAN
bsd-3-clause
42,696
! the network module provides the information about the species we are ! advecting: ! ! nspec -- the number of species ! ! aion -- atomic number ! zion -- proton number ! eion -- nuclear binding energy (in erg/g) ! ! spec_names -- the name of the isotope ! short_spec_names -- the abbreviated nam...
dwillcox/ode-openacc
first-order-urca/network.f90
FORTRAN
bsd-2-clause
2,736
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/incremental8/train8.f
FORTRAN
apache-2.0
6,944
*> \brief \b SLQT03 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE SLQT03( M, N, K, AF, C, CC, Q, LDA, TAU, WORK, LWORK, * RWORK, RESULT ) * * ...
xianyi/OpenBLAS
lapack-netlib/TESTING/LIN/slqt03.f
FORTRAN
bsd-3-clause
7,281
! { dg-do compile } ! ! PR fortran/34763 ! Before, gfortran did not allow for the "END" in ! the interface, which is no module procedure. ! ! Test case contributed by Dick Hendrickson ! module n contains subroutine n_interface INTERFACE SUBROUTINE NGSXDY(TLS1,TLS2) REAL ...
the-linix-project/linix-kernel-source
gccsrc/gcc-4.7.2/gcc/testsuite/gfortran.dg/interface_proc_end.f90
FORTRAN
bsd-2-clause
453
SUBROUTINE EARTH_RADIUS(IGDTMPL, IGDTLEN, RADIUS, ECCEN_SQUARED) !$$$ SUBPROGRAM DOCUMENTATION BLOCK ! ! $Revision: 74917 $ ! ! SUBPROGRAM: EARTH_RADIUS DETERMINE EARTH RADIUS AND SHAPE ! PRGMMR: GAYNO ORG: W/NMC23 DATE: 2015-07-14 ! ! ABSTRACT: DETERMINE THE RADIUS AND SHAPE OF THE EARTH FROM ! THE GRI...
AerodyneLabs/Stratocast
grib2/ip2lib_d/earth_radius.f90
FORTRAN
bsd-3-clause
4,055
program t print "(i0)" end program t
thender/ppp
tests/t0017r/t.f90
FORTRAN
apache-2.0
39
*> \brief \b ZSYTRS_3 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ZSYTRS_3 + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zsyt...
grisuthedragon/OpenBLAS
lapack-netlib/SRC/zsytrs_3.f
FORTRAN
bsd-3-clause
11,431
*> \brief \b SORGR2 generates all or part of the orthogonal matrix Q from an RQ factorization determined by sgerqf (unblocked algorithm). * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SORGR2 + depe...
grisuthedragon/OpenBLAS
lapack-netlib/SRC/sorgr2.f
FORTRAN
bsd-3-clause
5,293
* * Routine: CMOUT * * Purpose: Complex matrix output routine. * * Usage: CALL CMOUT (LOUT, M, N, A, LDA, IDIGIT, IFMT) * * Arguments * M - Number of rows of A. (Input) * N - Number of columns of A. (Input) * A - Complex M by N matrix to be printed. (Input) * LDA - Le...
mcflugen/roms-lite
src/roms/Lib/ARPACK/UTIL/cmout.f
FORTRAN
mit
8,755
module polynomial_interpolation use config use array implicit none public nested_evaluation, polynomial_evaluation contains ! This function interpolates a polynomial interpolation function ! using the nested evaluation method: ! ! polynomial evaluation: ! f(x) = c_0 + c_1*x + c_2*x^2 + ... + c_n*x^n ...
spencer4of6/numerical-solvers-fortran
modules/polynomial_interpolation.f90
FORTRAN
mit
4,951
subroutine newvec(v,p,t,nv,neq) c implicit double precision (a-h,o-z) dp common/main_block/ a(1) dimension v(*),p(nv,1),t(*) k54=igtpnt(54) k16=igtpnt(16) do 20 i=1,nv call pzero (v,neq) do 10 j=1,nv l=neq*(j-1) call blk...
imohame/hex
src/newvec.f
FORTRAN
mit
465
module statis use variables use maths implicit none contains ! ********************************************************* ! ********************************************************* ! RATE EQUATIONS ROUTINES ! ********************************************************* ! ***************************************************...
aasensio/gocciola
Source/statis.f90
FORTRAN
mit
8,134
C++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ C SOLVER : BiCG 11.02.97 C (d'après Templates) C++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ C SUBROUTINE BICG(N, x, b, A, IA, JA, ALU, JLU, JU, epsilon, # it_max,z,z2,r,r2,p...
rboman/progs
student/tfe/BiCG/lib/bicg.for
FORTRAN
apache-2.0
3,081
! ! Copyright 2016 ARTED 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 to...
mnakao/ARTED.xacc
common/Hartree.f90
FORTRAN
apache-2.0
3,757
SUBROUTINE initialdata(Nx,Ny,Nz,x,y,z,u,uold) !-------------------------------------------------------------------- ! ! ! PURPOSE ! ! This subroutine gets initial data for nonlinear Klein-Gordon equation ! in 3 dimensions ! u_{tt}-(u_{xx}+u_{yy}+u_{zz})+u=Es*u^3+ ! ! The boundary conditions are u(x=-Lx*\pi,y...
openmichigan/PSNM
KleinGordon/Programs/KleinGordon3dThreadFFT/initialdata.f90
FORTRAN
bsd-2-clause
2,302
C (C) Copr. 1986-92 Numerical Recipes Software ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc function ran2(idum) c random double precision number on [0,1] integer idum,im1,im2,imm1,ia1,ia2,iq1,iq2,ir1,ir2,ntab,ndiv double precision ran2,am,eps,rnmx parameter(im1...
cmateu/gaiaerror_py
gaia_errors_color_tmission/gaussdev.f
FORTRAN
bsd-3-clause
1,963
program teams_coarray_send use, intrinsic :: iso_fortran_env, only: team_type implicit none type(team_type) :: team integer, allocatable :: R(:)[:] integer :: extent, i, my_team, initial_team_this_image, odd ! if odd number of images, even images have R(extent) == 0 extent = num_images()/2+mod(num_images...
sourceryinstitute/opencoarrays
src/tests/unit/teams/teams_coarray_send.f90
FORTRAN
bsd-3-clause
781
module http_request_m use attribute_value_pair_m use string_utils use url_helper implicit none private type, public :: http_request_t private character(len=4096) :: auth_type_m = '' integer :: content_length_m = 0 character(len=4096) :: content_type_...
bceverly/FABS
http_request_m.f90
FORTRAN
bsd-3-clause
11,393
#include "cppdefs.h" #ifdef allow_particle MODULE particles USE header, ONLY : NI,NJ,NK,uf,vf,wf,Jifc,Jjfc,J2d,ux,vy,NPR,wz,PI,dtf,vor,shear,rho,strain,zf,& &s,parti_file_num,DL,rc_kind, pcx, pcy, pcz, pcr, dirout ! define the class for particles TYPE particle REAL(kind=rc_kind) :: i,j,...
jinbow/Octopus
test/src.mitgcm/particles.f90
FORTRAN
mit
12,202
*> \brief \b SGEQRT * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SGEQRT + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/sgeqrt.f...
grisuthedragon/OpenBLAS
lapack-netlib/SRC/sgeqrt.f
FORTRAN
bsd-3-clause
6,082