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
!------------------------------------------------------------------------------- !> !! 3D Operator module !! !! @par Description !! This module contains the subroutines for differential oeprators using vertical metrics. !! !! @author H.Tomita !! !! @par History !! @li 2004-02-17 (H.Tomita) Imported fro...
hisashiyashiro/nicam_dckernel_2016
dckernel_divdamp/src/mod_oprt3d.f90
FORTRAN
bsd-2-clause
17,620
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/cmddev.f
FORTRAN
bsd-3-clause
8,897
module config implicit none private ! Sets the working precision. Edit the wp ! equality to modify the precision. ! ! sp - single precision ! dp - double precision ! ep - extended precision ! qp - quadratic precision integer,parameter::sp=selected_real_kind(6) integer,parameter::dp=selected_real_kind(15) integer,para...
spencer4of6/numerical-solvers-fortran
testing/config.f90
FORTRAN
mit
606
! 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/network.f90
FORTRAN
bsd-2-clause
2,875
*> \brief <b> SSPSV 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 SSPSV + dependencies *> <a href="http://www.ne...
grisuthedragon/OpenBLAS
lapack-netlib/SRC/sspsv.f
FORTRAN
bsd-3-clause
6,909
*> \brief \b CCHKTP * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE CCHKTP( DOTYPE, NN, NVAL, NNS, NSVAL, THRESH, TSTERR, * NMAX, AP, AINVP, B, X,...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/LIN/cchktp.f
FORTRAN
bsd-3-clause
17,939
SUBROUTINE INT_READ( I_VAL, BUFF, IP ) !*********************************************************************** !* Reads a 4-Byte Integer from Buffer and Advances Pointer !* !* Language: Fortran !* !* Author: Stuart G. Mentzer !* !* Date: 1999/08/20 !**************************************************************...
DeadParrot/NHTSA-Tools
src/lib/val_read.for
FORTRAN
mit
1,987
C+ cal_fact_type2 C subroutine cal_fact_type2( sf_lun, num_vis, vis_list, vis, * mod_vis, merge_type, gains, s ) C ------------------------------------------------------------ C Sets up gain corrections for the given sample file. C C Given: C Logical unit number of sample ...
CavendishAstrophysics/postmortem
src/calsys/cal_fact_type2.f
FORTRAN
bsd-3-clause
6,171
program manyclaw ! Test function definitions use test_functions_module ! Utility modules use timer_module use precision_module implicit none ! Command line arguments character(len=10) :: input_nx,input_ny,input_num_tests ! Local storage integer :: num_tests real(...
ManyClaw/ManyClaw
benchmark/fortran/main.f90
FORTRAN
bsd-3-clause
2,791
C+ ENQ_TSYS subroutine enq_tsys( lun, temps, nominal, s ) C C Enquire the telescope system temperatures from the control tables C C Given: C sample file logical unit number integer lun C Returned: C eight nominal telescope system temperatures ...
CavendishAstrophysics/postmortem
src/samplib/enq_tsys.f
FORTRAN
bsd-3-clause
1,230
*> \brief \b SLANSB * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SLANSB + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/slans...
jmfranck/pyspecdata
lapack-3.4.0/SRC/slansb.f
FORTRAN
bsd-3-clause
7,557
*> \brief \b CLA_GBRFSX_EXTENDED * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CLA_GBRFSX_EXTENDED + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/l...
jmfranck/pyspecdata
lapack-3.4.0/SRC/cla_gbrfsx_extended.f
FORTRAN
bsd-3-clause
26,156
subroutine wndgen(j) !! ~ ~ ~ PURPOSE ~ ~ ~ !! this subroutine generates wind speed !! ~ ~ ~ INCOMING VARIABLES ~ ~ ~ !! name |units |definition !! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ !! idg(:) |none |array location ...
grmpfhmbl/swatmodel-trusty64
src/wndgen.f
FORTRAN
cc0-1.0
1,730
program t C test for nested information in format-item-list integer::ierr 1234 format () 5678 format (((((a))))) write (*,1234,iostat=ierr) 'hello' if (ierr .ne. 0) then print *,'ok' endif write (*,5678) 'yes' endprogram t
thender/ppp
tests/t0344x/t.f
FORTRAN
apache-2.0
276
! ! 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...
yhirokawa/ARTED
main/sc.f90
FORTRAN
apache-2.0
35,291
! RUN: %S/test_errors.sh %s %t %f18 ! Copyright (c) 2019, NVIDIA CORPORATION. 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/LICE...
google/llvm-propeller
flang/test/Semantics/dosemantics12.f90
FORTRAN
apache-2.0
12,381
subroutine setprob implicit double precision (a-h,o-z) character*25 fname common /cparam/ rho,bulk,cc,zz c c # Set the material parameters for the acoustic equations c c iunit = 7 fname = 'setprob.data' c # open the unit with new routine from Clawpack 4.4 to skip over c ...
clawpack/adjoint
examples/acoustics_2d_radial_walls/adjoint/setprob.f
FORTRAN
bsd-2-clause
602
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! MEMURN - Master Equation Model for Unimolecular Reaction Networks ! ! Copyright (c) 2009 by Josh Allen (chemejosh@gmail.com) ! ! Permission is hereby granted, free of charge, to any person obtaining a ! copy of this software...
connie/RMG-Java
source/fame/rs.f90
FORTRAN
mit
24,529
! { dg-do run } ! { dg-options -Wall } ! PR 30437 Test for Wall program main character (len=40) & c c = "Hello, & world!" ! { dg-warning "Warning: Missing '&' in continued character constant" } if (c.ne.& "Hello, world!")& call abort();...
shaotuanchen/sunflower_exp
tools/source/gcc-4.2.4/gcc/testsuite/gfortran.dg/Wall.f90
FORTRAN
bsd-3-clause
338
c Calculate determinant of square matrix c Author: Pearu Peterson, March 2002 c c prefixes: d,z,s,c (double,complex double,float,complex float) c suffixes: _c,_r (column major order,row major order) subroutine ddet_c(det,a,n,piv,info) integer n,piv(n),i double precision det,a(n...
kmspriyatham/symath
scipy/scipy/linalg/src/det.f
FORTRAN
apache-2.0
4,747
*> \brief <b> ZGEEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for GE matrices</b> * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ZGEEV + dependencies *> <a href...
rangsimanketkaew/NWChem
src/lapack/double/zgeev.f
FORTRAN
mit
15,403
! ------------------------ begin dcdt ------------------- subroutine dcdt (y,dt,npts,indx1,indx2,ldc,ldt) !+ ! dcdt - fits dc or trend between indices indx1 and indx2. ! then removes dc or detrends whole trace. ! y is real, dt = delta t. ! if remove dc, ldc = .true. ! if ...
SCECcode/BBP
bbp/src/usgs/fas/dcdt.for
FORTRAN
apache-2.0
1,622
program test integer k end subroutine loop(rep, func) integer rep, i character*(*) func real*8 x, y, z, r, fwconsts external fwconsts x = 0.1 y = -0.1 z = 1.0 write(*,*) 'F77 repetitions:',rep,' of ',func if (func .eq. 'fempty') then ...
sniemi/SamPy
sandbox/src1/TCSE3-3rd-examples/src/py/examples/efficiency/call.f
FORTRAN
bsd-2-clause
4,204
!****h* root/fortran/test/tH5E_F03.f90 ! ! NAME ! tH5E_F03.f90 ! ! FUNCTION ! Test FORTRAN HDF5 H5E APIs which are dependent on FORTRAN 2003 ! features. ! ! COPYRIGHT ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! Copyright by The HDF Group. ...
gnu3ra/SCC15HPCRepast
INSTALLATION/hdf5-1.8.15-patch1/fortran/test/tH5E_F03.f90
FORTRAN
bsd-3-clause
6,341
SUBROUTINE ZPOT02( UPLO, N, NRHS, A, LDA, X, LDX, B, LDB, RWORK, $ RESID ) * * -- LAPACK test routine (version 3.1) -- * Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. * November 2006 * * .. Scalar Arguments .. CHARACTER UPLO INTEGER ...
joao-lima/plasma-kaapi
testing/lin/zpot02.f
FORTRAN
bsd-3-clause
3,999
*> \brief \b SDRGEV3 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE SDRGEV3( NSIZES, NN, NTYPES, DOTYPE, ISEED, THRESH, * NOUNIT, A, LDA, B, S, T,...
grisuthedragon/OpenBLAS
lapack-netlib/TESTING/EIG/sdrgev3.f
FORTRAN
bsd-3-clause
33,905
SUBROUTINE cdfbin(which,p,q,s,xn,pr,ompr,status,bound) C********************************************************************** C C SUBROUTINE CDFBIN ( WHICH, P, Q, S, XN, PR, OMPR, STATUS, BOUND ) C Cumulative Distribution Function C BINomial distribution C C C ...
anntzer/scipy
scipy/special/cdflib/cdfbin.f
FORTRAN
bsd-3-clause
8,616
module types<fold text='...'> type :: person<fold text='...'> character(len=20) :: forename integer :: age </fold>end type person interface solve<fold text='...'> function solve(n, pmatrix, key)<fold text='...'> real*8, dimension (:), pointer :: solve; </fold>end...
satamas/fortran-plugin
src/test/resources/folding/DeclarationConstructs.f95
FORTRAN
apache-2.0
500
great_rsd(p1,ee1). great_rsd(g1,dd1). great_rsd(e1,x1). great_rsd(e1,f1). great_rsd(t1,m1). great_rsd(u1,t1). great_rsd(w1,dd1). great_rsd(p1,m1). great_rsd(p1,h1). great_rsd(ee1,g1). great_rsd(ee1,dd1). great_rsd(f1,hh1). great_rsd(w1,m1). great_rsd(u1,q1). great_rsd(q1,ee1). great_rsd(cc1,dd1). great_rsd(f1,g1). grea...
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_scopolamine_noiseless/incremental9/test1.f
FORTRAN
apache-2.0
520
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC C C FFTPACK 5.0 C Copyright (C) 1995-2004, Scientific Computing Division, C University Corporation for Atmospheric Research C Licensed under the GNU General Public License (GPL) C C Authors: Paul N. Swarztrauber and Richard A. Valent C...
rpepr/rpEPR
fftpack5/rfft2b.f
FORTRAN
bsd-2-clause
1,884
! ! MVAPICH2 ! ! Copyright 2003-2016 The Ohio State University. ! Portions Copyright 1999-2002 The Regents of the University of ! California, through Lawrence Berkeley National Laboratory (subject to ! receipt of any required approvals from U.S. Dept. of Energy). ! Portions copyright 1993 University of Chicago. ! ! Red...
sssylvester/geopm
test/fortran/typeattr3f90.f90
FORTRAN
bsd-3-clause
4,730
! tst_messages.f90 -- ! Test/demonstration program for the messages module ! ! The program simulates a simplified elevator system: ! - The elevator passes six floors ! - If someone presses the up or down button, this ! event is registered as a message that includes the ! floor the person wan...
mapmeld/fortran-machine
flibs-0.9/flibs/tests/controlstructures/tst_messages.f90
FORTRAN
bsd-3-clause
7,787
module cvode_parameters implicit none type :: cv_pars_t double precision :: dens, temp, ye double precision :: DT_SAVE ! Save solution each DT_SAVE (s) integer :: NDT_SAVE ! (Such that NDT_SAVE*DT_SAVE=T_TARGET) double precision :: R_TOL = 1.0d-10 ! Relative tolerance (was using 1d-12) do...
zingale/pyreaclib
test/standard/triple-alpha_f90/cvode_parameters.f90
FORTRAN
bsd-3-clause
2,344
# Current Verible can not support some syntax used in following files. List them here to exclude # from Verilog style check # tool does not support macro very well. Issue at github.com/google/verible/issues/102 riscv_instr_cover_group.sv riscv_instr_pkg.sv # tool does not support included file very well. Issue at githu...
google/riscv-dv
verilog_style/exclude_filelist.f
FORTRAN
apache-2.0
403
C * * * * * * * * * * * * * * * * * * * * * * * * * C --- DRIVER FOR RADAUP AT VAN DER POL'S EQUATION C * * * * * * * * * * * * * * * * * * * * * * * * * c link dr_radaup radaup decsol dc_decsol c link dr_radaup radaup lapack lapackc dc_lapack IMPLICIT REAL*8 (A-H,O-Z) C --- PARAMETERS FOR RADAU5 (FULL JACOBIAN...
siconos/siconos
externals/hairer/test/dr_radaup.f
FORTRAN
apache-2.0
3,223
*> \brief \b SDRVSP * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE SDRVSP( DOTYPE, NN, NVAL, NRHS, THRESH, TSTERR, NMAX, * A, AFAC, AINV, B, X, XAC...
grisuthedragon/OpenBLAS
lapack-netlib/TESTING/LIN/sdrvsp.f
FORTRAN
bsd-3-clause
19,234
SUBROUTINE ZBESJ(ZR, ZI, FNU, KODE, N, CYR, CYI, NZ, IERR) C***BEGIN PROLOGUE ZBESJ C***DATE WRITTEN 830501 (YYMMDD) C***REVISION DATE 890801 (YYMMDD) C***CATEGORY NO. B5K C***KEYWORDS J-BESSEL FUNCTION,BESSEL FUNCTION OF COMPLEX ARGUMENT, C BESSEL FUNCTION OF FIRST KIND C***AUTHOR AMOS, DO...
linzhaoming/origin
vendor/gonum.org/v1/gonum/mathext/internal/amos/amoslib/zbesj.f
FORTRAN
apache-2.0
11,601
*> \brief \b SLA_SYRFSX_EXTENDED improves the computed solution to a system of linear equations for symmetric indefinite matrices by performing extra-precise iterative refinement and provides error bounds and backward error estimates for the solution. * * =========== DOCUMENTATION =========== * * Online html documenta...
mverleg/1957
lib/lapack/sla_syrfsx_extended.f
FORTRAN
bsd-3-clause
25,754
*> \brief \b DGGRQF * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DGGRQF + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dggrq...
mverleg/1957
lib/lapack/dggrqf.f
FORTRAN
bsd-3-clause
9,419
*> \brief \b CSYTRS * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CSYTRS + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/csytr...
LighthouseHPC/lighthouse
src/lighthouseProject/lighthouseProject/static/Doxygen/lapack/csytrs.f
FORTRAN
mit
12,438
subroutine read_waccm_tides use ModGitm use ModTime use ModInputs use ModTides use ModConstants, only: pi implicit none logical :: IsFirstTime = .true. character(len=40) :: Waccm_File_Name real :: version integer :: nAlts_gswm, nVars...
dpawlows/MGITM
src/tides.f90
FORTRAN
mit
17,213
program test use FoX_wkml implicit none type(xmlf_t) :: myfile call kmlBeginFile(myfile, "test.xml", -1) call kmlStartRegion(myfile, (/10.0D0, 11.0D0, 12.0D0/), (/10.0D0, 11.0D0, 12.0D0/), & altitude=(/350.0D0, 200.0D0/)) call kmlEndRegion(myfile) call kmlFinishFile(myfile) end program te...
wilsonCernWq/Simula
fortran/utils/FoX-4.1.2/wkml/test/test_kmlStartEndRegion_14.f90
FORTRAN
mit
323
C Matriz Pre invertida para: C un estrato sobre semiespacio: C--------------------------------------- subroutine psv1eHS(A0,cOME,k,Z,ALFA,BETA,AMU) IMPLICIT COMPLEX*16 (t) integer N ! 1 para este caso PARAMETER (N=1) complex*16 A0(4*N+2,4*N+2) !adjoint(A) complex...
marshallcoz/turnt-octo-happiness
preinverted/LHS.for
FORTRAN
mit
115,396
subroutine mkdbsf(ibnum,nsp,dbval,icount2a,icount2b,sfd,natom, & nmedia,idirectalg,nobject) c include "qdiffpar4.h" include "qlog.h" c integer iepsmp(igrid,igrid,igrid,3) logical*1 idebmap(igrid,igrid,igrid) c b+++++++++++++++++++++++ real medeps(0:nmedia) real denom,vecttemp(6)...
MarilyGunnersLab/MCCE
mcce_stable/lib/delphi/src/mkdbsf.f
FORTRAN
mit
5,496
module phys_constants real(kind=8), parameter :: h=6.626d-27,k=1.38d-16, & c=2.99792458d10,e=4.8032d-10,G=6.67d-8, & m=9.10938188d-28,mp=1.67262158d-24,pi=acos(-1d0),c2=c*c,sigb=5.6704d-5, & msun=1.998d33, sigt=6.6523d-25 contains subroutine phys_constants...
jadexter/grtrans
phys_constants.f90
FORTRAN
mit
391
Program rv_td_ratios *!Control file for program RV_TD_Ratios *! As many comment lines as desired, each starting with "!" *! The string "pp:" indicates a new set of processing parameters *! to be applied to the following smc files. The parameters are given on the *! following lines. *! Revision of program ...
cliftbar/FlaPyDisaster
FlaPyDisaster/Documentation/Earthquake/Boore/smsim6.20/rv_td_ratios.for
FORTRAN
mit
13,820
SUBROUTINE DPTSV1_F95( D, E, B, 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: PTSV_F77 => LA_PT...
sradanov/flyingpigeon
flyingpigeon/Fsrc/Lapack95/SRC/la_dptsv1.f90
FORTRAN
apache-2.0
1,098
*> \brief \b CLANGE * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CLANGE + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/clang...
jmfranck/pyspecdata
lapack-3.4.0/SRC/clange.f
FORTRAN
bsd-3-clause
5,616
C GETHD : print the value of a single header item to the standard output C implicit NONE C C Include information on standard array sizes etc. include '../include/spec_global.inc' include '../include/spec_pars.inc' C C Local variables C file identifiers integer id C status return ...
CavendishAstrophysics/anmap
spec_tools/sp_gethd.f
FORTRAN
bsd-3-clause
1,300
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, ar...
nschloe/seacas
packages/seacas/applications/blot/prglob.f
FORTRAN
bsd-3-clause
3,474
*> \brief \b DGERQS * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE DGERQS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK, * INFO ) * * .. Scal...
grisuthedragon/OpenBLAS
lapack-netlib/TESTING/LIN/dgerqs.f
FORTRAN
bsd-3-clause
5,023
*> \brief \b DDRVES * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE DDRVES( NSIZES, NN, NTYPES, DOTYPE, ISEED, THRESH, * NOUNIT, A, LDA, H, HT, WR, ...
grisuthedragon/OpenBLAS
lapack-netlib/TESTING/EIG/ddrves.f
FORTRAN
bsd-3-clause
34,288
SUBROUTINE ZSPT01( UPLO, N, A, AFAC, IPIV, C, LDC, RWORK, RESID ) * * -- LAPACK test routine (version 3.1) -- * Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. * November 2006 * * .. Scalar Arguments .. CHARACTER UPLO INTEGER LDC, N DOUBLE PRECISIO...
shengren/magma-1.6.1
testing/lin/zspt01.f
FORTRAN
bsd-3-clause
4,374
*> \brief \b DLASD2 merges the two sets of singular values together into a single sorted set. Used by sbdsdc. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DLASD2 + dependencies *> <a href="http...
mverleg/1957
lib/lapack/dlasd2.f
FORTRAN
bsd-3-clause
19,722
*> \brief <b> CHBEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices</b> * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CHBEV + dependencies *> <a h...
LighthouseHPC/lighthouse
src/lighthouseProject/lighthouseProject/static/Doxygen/lapack/chbev.f
FORTRAN
mit
8,588
*> \brief \b IPARMQ * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download IPARMQ + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/iparm...
linzhaoming/origin
vendor/gonum.org/v1/gonum/lapack/internal/testdata/dlasqtest/iparmq.f
FORTRAN
apache-2.0
11,554
*> \brief \b DTRMM * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE DTRMM(SIDE,UPLO,TRANSA,DIAG,M,N,ALPHA,A,LDA,B,LDB) * * .. Scalar Arguments .. * DOUBLE PREC...
rangsimanketkaew/NWChem
src/rdmft/recycling/wfn1/blas/double/wfn1_ad_dtrmm.f
FORTRAN
mit
12,984
C * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * C * * C * copyright (c) 2011 by UCAR * C * * C * University Corpora...
bgin/MissileSimulation
External/FFTPACK/mrfti1.f
FORTRAN
mit
3,433
SUBROUTINE AB09ID( DICO, JOBC, JOBO, JOB, WEIGHT, EQUIL, ORDSEL, $ N, M, P, NV, PV, NW, MW, NR, ALPHA, ALPHAC, $ ALPHAO, A, LDA, B, LDB, C, LDC, D, LDD, $ AV, LDAV, BV, LDBV, CV, LDCV, DV, LDDV, $ AW, LDAW, BW, LDBW, C...
bgin/MissileSimulation
External/SLICOT/AB09ID.f
FORTRAN
mit
44,386
+TESTEXE=classlib_native_exec_1 +USE_CXX11=true
mballance/psi
tests/api_tests/tests/classlib_native_exec_1.f
FORTRAN
apache-2.0
51
SUBROUTINE ZGETC2( N, A, LDA, IPIV, JPIV, INFO ) * * -- 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 .. ...
RayRuizhiLiao/ITK_4D
Modules/ThirdParty/VNL/src/vxl/v3p/netlib/lapack/complex16/zgetc2.f
FORTRAN
apache-2.0
4,489
C*PGLINE -- draw a polyline (curve defined by line-segments) C%void cpgline(int n, const float *xpts, const float *ypts); C+ SUBROUTINE PGLINE (N, XPTS, YPTS) INTEGER N REAL XPTS(*), YPTS(*) C C Primitive routine to draw a Polyline. A polyline is one or more C connected straight-line segm...
RobinsonLab/pgplot
src/pgline.f
FORTRAN
apache-2.0
1,385
c--------------------------------------------------------------------- c--------------------------------------------------------------------- subroutine setup_rma c--------------------------------------------------------------------- c--------------------------------------------------------------------- c----...
openshmem-org/openshmem-npbs
Fortran/BT/setup_rma.f
FORTRAN
bsd-3-clause
2,416
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/vdi_drivers/vdicps_dual.f
FORTRAN
bsd-3-clause
119,368
subroutine frostN(hour) c c +++PURPOSE+++ c This is the main driver for the frost subroutines. Based c on the surface, climate and soil conditions it decides c which subroutines are to be called. It considers energy c flow between the frozen layers, snow depth, melting or c freezing and ...
akrherz/idep
src/wepp2012-src/frostn.for
FORTRAN
mit
23,293
subroutine MakeGridGLQC(gridglq, cilm, lmax, plx, zero, norm, csphase, lmax_calc) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! Given the complex spherical harmonic coefficients CILM, this subroutine ! will evalate these coefficients on a grid with equal spacing in ! longitude an...
pletnes/SHTOOLS
src/MakeGridGLQC2.f90
FORTRAN
bsd-3-clause
17,587
program zndrv1 c c Example program to illustrate the idea of reverse communication c for a standard complex nonsymmetric eigenvalue problem. c c We implement example one of ex-complex.doc in DOCUMENTS directory c c\Example-1 c ... Suppose we want to solve A*x = lambda*x in regular mode, c ...
mcflugen/roms-lite
src/roms/Lib/ARPACK/EXAMPLES/COMPLEX/zndrv1.f
FORTRAN
mit
14,981
*> \brief \b CDRVVX * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE CDRVVX( NSIZES, NN, NTYPES, DOTYPE, ISEED, THRESH, * NIUNIT, NOUNIT, A, LDA, H...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/EIG/cdrvvx.f
FORTRAN
bsd-3-clause
35,223
subroutine gehrd(min_lwork,max_lwork,prefix,n,lo,hi) integer min_lwork,max_lwork,n,lo,hi character prefix c c Returned maxwrk is actually optimal lwork. c cf2py intent(out,out=minwrk) :: min_lwork cf2py intent(out,out=maxwrk) :: max_lwork cf2py intent(in) :: prefix cf2py intent(in) :: n,lo,hi ...
richardotis/scipy
scipy/linalg/src/calc_lwork.f
FORTRAN
bsd-3-clause
15,756
program test use FoX_wcml implicit none character(len=*), parameter :: filename = 'test.xml' type(xmlf_t) :: xf call cmlBeginFile(xf, filename, unit=-1) call cmlStartCml(xf) call cmlAddKpoint(xf, coords=(/1.0d0, 2.0d0, 3.0d0/)) call cmlFinishFile(xf) end program test
wilsonCernWq/Simula
fortran/utils/FoX-4.1.2/wcml/test/test_cmlAddKpoint_2.f90
FORTRAN
mit
288
program prog call exercise_write call exercise_read end subroutine exercise_write character c character s*2 logical l integer i integer*2 i2 real r double precision d complex rc double complex dc open(1, file='fable_tmp_06c35b63'...
hickerson/bbn
fable/fable_sources/fable/test/valid/write_read_unformatted.f
FORTRAN
mit
1,350
! Copyright 2005-2017 ECMWF. ! ! This software is licensed under the terms of the Apache Licence Version 2.0 ! which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. ! ! In applying this licence, ECMWF does not waive the privileges and immunities granted to it by ! virtue of its status as an intergovernm...
weathersource/grib_api
examples/F90/get_pv.f90
FORTRAN
apache-2.0
1,390
subroutine mapc2m_inclusions(xc,yc,xp,yp,isperiodic) implicit none double precision xc,yc,xp,yp logical isperiodic double precision xc1,yc1,xp1,yp1 double precision xlow,ylow,xhi,yhi, r1 double precision xc0, yc0 integer i, nbox logical inbox double precisi...
ForestClaw/forestclaw
applications/metric/2d/circles/mapc2m_inclusions.f
FORTRAN
bsd-2-clause
3,811
! ! MVAPICH2 ! ! Copyright 2003-2016 The Ohio State University. ! Portions Copyright 1999-2002 The Regents of the University of ! California, through Lawrence Berkeley National Laboratory (subject to ! receipt of any required approvals from U.S. Dept. of Energy). ! Portions copyright 1993 University of Chicago. ! ! Red...
sssylvester/geopm
test/fortran/dgraph_unwgtf90.f90
FORTRAN
bsd-3-clause
9,615
*> \brief \b DDRVGE * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE DDRVGE( DOTYPE, NN, NVAL, NRHS, THRESH, TSTERR, NMAX, * A, AFAC, ASAV, B, BSAV...
jmfranck/pyspecdata
lapack-3.4.0/TESTING/LIN/ddrvge.f
FORTRAN
bsd-3-clause
25,349
*> \brief \b ZUNMLQ * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ZUNMLQ + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zunml...
jmfranck/pyspecdata
lapack-3.4.0/SRC/zunmlq.f
FORTRAN
bsd-3-clause
9,783
subroutine rpn2_cons_update_manifold(meqn,maux, idir, iface, q, & auxvec_center, & auxvec_edge,flux) implicit none integer meqn,maux,idir, m, iface double precision q(meqn), flux(meqn) double precision aux...
ForestClaw/forestclaw
applications/paper/sphere/user_4.6/rpn2_cons_update_manifold.f
FORTRAN
bsd-2-clause
1,225
program ssbdr5 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, KG is the mass c formed by using piecewise linear elements on [0,1]. c c ... Call SSBAND with Buckling...
mcflugen/roms-lite
src/roms/Lib/ARPACK/EXAMPLES/BAND/ssbdr5.f
FORTRAN
mit
9,971
*> \brief \b CDRVGE * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE CDRVGE( DOTYPE, NN, NVAL, NRHS, THRESH, TSTERR, NMAX, * A, AFAC, ASAV, B, BSAV...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/LIN/cdrvge.f
FORTRAN
bsd-3-clause
25,398
SUBROUTINE STIMTP( LINE, NN, NVAL, NNS, NSVAL, LA, TIMMIN, A, B, $ RESLTS, LDR1, LDR2, LDR3, NOUT ) * * -- LAPACK timing routine (version 3.0) -- * Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., * Courant Institute, Argonne National Lab, and Rice University * March...
alishakiba/libflame
lapack-test/lapack-timing/LIN/stimtp.f
FORTRAN
bsd-3-clause
7,850
*> \brief \b DPBCON * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DPBCON + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dpbco...
LighthouseHPC/lighthouse
src/lighthouseProject/lighthouseProject/static/Doxygen/lapack/dpbcon.f
FORTRAN
mit
7,737
subroutine elstf (matp,fail) c implicit double precision (a-h,o-z) dp c c.... compute stiffness and rhs c common/bk00/ 1k01,k02,k03,k04,k05,k06,k07,k08,k09,k10,k11,k12, 2k13,k14,k15,k16,k17,k18,k19,k20,k21,k22,k23,k24, 3k25,k26,k27,k28,k29,k30,k31,k32,k3...
imohame/hex
src/elstf.f
FORTRAN
mit
6,570
subroutine set_inputs use ModInputs use ModSizeGitm use ModGITM, only: iProc use ModTime use ModPlanet use ModSatellites implicit none integer, external :: bad_outputtype integer, external :: jday integer, dimension(7) :: iEndTime logical :: IsDone integer :: iDebugProc=0, n character (l...
dpawlows/MGITM
src/set_inputs.f90
FORTRAN
mit
40,527
!********************************************************************************************************************************** !> ## ServoDyn_DriverCode: This code tests the template modules !!.............................................................................................................................
OpenFAST/OpenFAST
modules/servodyn/src/ServoDyn_Driver.f90
FORTRAN
apache-2.0
10,241
module surface_fitting_c implicit none private contains !!!################################################################ subroutine fit_surface_geometry_c(niterations, fitting_file, filename_len) & bind(C, name="fit_surface_geometry_c") use iso_c_binding, only: c_ptr use utils_c, only: strncpy...
LungNoodle/lungsim
src/bindings/c/surface_fitting.f90
FORTRAN
apache-2.0
989
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC C C FFTPACK 5.0 C Copyright (C) 1995-2004, Scientific Computing Division, C University Corporation for Atmospheric Research C Licensed under the GNU General Public License (GPL) C C Authors: Paul N. Swarztrauber and Richard A. Valent C...
rpepr/rpEPR
fftpack5/costmi.f
FORTRAN
bsd-2-clause
1,221
C C *+ stack_doset subroutine stack_doset(is,ip,status) C ------------------------------------ C C Update all INTERLOCKED stack_status entries C C Input: C Stack entry integer is C Stack_status word entry integer ip C Returned C Status integer status...
CavendishAstrophysics/anmap
mapcat/stack_doset.f
FORTRAN
bsd-3-clause
844
c c c ===================================================== subroutine flux2(ixy,maxm,meqn,maux,mbc,mx, & q1d,dtdx1d,aux1,aux2,aux3, & faddm,faddp,gaddm,gaddp,cfl1d,fwave,s, & amdq,apdq,cqxx,bmasdq,bpasdq,rpn2,rpt2) c =========================...
clawpack/clawpack-4.x
geoclaw/2d/lib/flux2fw_geo.f
FORTRAN
bsd-3-clause
9,209
!-------------------------------------------------------------------------------------- ! !Copyright (C) 2014 TopCoder Inc., All Rights Reserved. ! !-------------------------------------------------------------------------------------- !----------------------------------------------------------------------------------...
NREL/OpenWARP
source/NemohImproved/Nemoh/preProcessor/Integration.f90
FORTRAN
apache-2.0
4,252
SUBROUTINE CPOT05( UPLO, N, NRHS, A, LDA, B, LDB, X, LDX, XACT, $ LDXACT, FERR, BERR, RESLTS ) * * -- LAPACK test routine (version 3.1) -- * Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. * November 2006 * * .. Scalar Arguments .. CHARACTER UPLO ...
maxhutch/magma
testing/lin/cpot05.f
FORTRAN
bsd-3-clause
7,207
*> \brief \b CLA_HERCOND_C computes the infinity norm condition number of op(A)*inv(diag(c)) for Hermitian indefinite matrices. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CLA_HERCOND_C + depen...
LighthouseHPC/lighthouse
src/Dlighthouse/media/Doxygen/lapack/cla_hercond_c.f
FORTRAN
mit
8,711
module nrtype integer, parameter :: i1 = selected_int_kind(2) ! 1-byte integer. integer, parameter :: i2 = selected_int_kind(4) ! 2-byte integer. integer, parameter :: i4 = selected_int_kind(9) ! 4-byte integer. integer, parameter :: i8 = selected_int_kind(18) ! 8-byte integer. integer, parameter ...
dcelisgarza/applied_math
nrtype.f08
FORTRAN
mit
1,260
C * * * * * * * * * * * * * * * * * * * * * * * * * C --- DRIVER FOR ODEX ON N-body problem C * * * * * * * * * * * * * * * * * * * * * * * * * compile odex cfeh dr_odex odex include 'odex_load_balanced.f' IMPLICIT DOUBLE PRECISION (A-H,O-Z) PARAMETER (NDGL=2400,KM=9,NRDENS=0, & LWORK=N...
numerical-mathematics/extrapolation
odex/dr_odex.f
FORTRAN
mit
4,196
SUBROUTINE AB04MD( TYPE, N, M, P, ALPHA, BETA, A, LDA, B, LDB, C, $ LDC, D, LDD, IWORK, DWORK, LDWORK, INFO ) C C SLICOT RELEASE 5.5. C C Copyright (c) 2002-2012 NICONET e.V. C C PURPOSE C C To perform a transformation on the parameters (A,B,C,D) of a C system,...
bgin/MissileSimulation
External/SLICOT/AB04MD.f
FORTRAN
mit
11,055
program LineContinue str =1_"Deidranna & &rules!" str2 = 'Very ''&\\ bad & & & & &string\' str3=str& //str2 array = (/ 10, 9, & 8, 7 /) endprogram
satamas/fortran-plugin
src/test/resources/formatter/LineContinue.f95
FORTRAN
apache-2.0
212
! ! 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...
ARTED/ARTED_noc
src/PSE_Pinlpsi.f90
FORTRAN
apache-2.0
1,177
subroutine ttt( a, n1, n2 ) integer n1,n2,i,j real*4 a(n1,n2) do i=1,n1 do j=1,n2 s = s + a(i,j) enddo enddo end
CavendishAstrophysics/anmap
anm3d/ttt.f
FORTRAN
bsd-3-clause
187
C Copyright(C) 1988-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/applications/numbers/nu_gapini.f
FORTRAN
bsd-3-clause
6,031
SUBROUTINE DROTG(DA,DB,C,S) C CONSTRUCT GIVENS PLANE ROTATION. C JACK DONGARRA, LINPACK, 3/11/78. C MODIFIED 9/27/86. DOUBLE PRECISION DA,DB,C,S,ROE,SCALE,R,Z,ONE,ZERO DATA ONE, ZERO /1.0D+00, 0.0D+00/ ROE = DB IF( ABS(DA) .GT. ABS(DB) ) ROE = DA SCALE =...
DailyActie/Surrogate-Model
01-codes/pyOpt-1.2.0/pyOpt/pySLSQP/source/drotg.f
FORTRAN
mit
681
*> \brief \b CLANHE returns the value of the 1-norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a complex Hermitian matrix. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \...
maxhutch/magma
blas_fix/clanhe.f
FORTRAN
bsd-3-clause
8,142