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 ZGBTRS
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download ZGBTRS + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zgbtr... | LighthouseHPC/lighthouse | src/lighthouseProject/lighthouseProject/static/Doxygen/lapack/zgbtrs.f | FORTRAN | mit | 8,439 |
!^CFG COPYRIGHT UM
!=============================================================================
! Empty Timing module
!=============================================================================
subroutine timing_version(on,name,number)
logical, intent(out) :: on
character (len=40), intent(out) :: name
real... | dpawlows/MGITM | util/TIMING/srcEmpty/timing_empty.f90 | FORTRAN | mit | 3,983 |
program abort_bare
call abort
end program abort_bare
| wilsonCernWq/Simula | fortran/utils/FoX-4.1.2/cmake/abort_bare.f90 | FORTRAN | mit | 56 |
c----------------------------------------------------------------------c
subroutine ilut(n,a,ja,ia,lfil,droptol,alu,jlu,ju,iwk,w,jw,ierr)
c-----------------------------------------------------------------------
c implicit none
integer n,ja(*),ia(n+1),jlu(*),ju(n),jw(2*n),lfil,iwk,ierr
real*8 a(*)... | rboman/progs | student/tfe/common/attic/ilut.for | FORTRAN | apache-2.0 | 10,828 |
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/incremental9/train9.f | FORTRAN | apache-2.0 | 7,800 |
SUBROUTINE ZGEQLS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK,
$ INFO )
*
* -- LAPACK routine (version 3.1) --
* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
* November 2006
*
* .. Scalar Arguments ..
INTEGER INFO, LDA, LDB, LWORK, M, N, NRH... | maxhutch/magma | testing/lin/zgeqls.f | FORTRAN | bsd-3-clause | 3,349 |
*> \brief \b DBLAT3
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* PROGRAM DBLAT3
*
*
*> \par Purpose:
* =============
*>
*> \verbatim
*>
*> Test program for the DOUBLE PRECISION ... | dfm/george | vendor/eigen_3.3.4/blas/testing/dblat3.f | FORTRAN | mit | 104,262 |
PROGRAM cs2_test
USE debug_tools
USE com_tools
USE fftw_tools
USE cs_tools
USE general_tools
IMPLICIT NONE
REAL(cp), DIMENSION(:), ALLOCATABLE :: rga_state , rga_obsgap
REAL(cp), DIMENSION(:), ALLOCATABLE :: rga_stateb, rga_obsgapb !adjoint variables
TYPE(exchange_param) :: tg_ep
TYPE(obs_structure) ... | souopgui/da-toolbox | src/CS/cs2_test.f90 | FORTRAN | mit | 12,795 |
!! Local Data
INTEGER :: grid_error
INTEGER :: II
INTEGER :: total_values
INTEGER :: idx
!! Compute values per process
ALLOCATE(helper%values_per_process(helper%comm_size))
DO II = 1, helper%comm_size
idx = matrix%columns*II + 1
helper%values_per_process(II) = gathered_matrix%outer_index(idx)... | william-dawson/NTPoly | Source/Fortran/comm_includes/ReduceAndComposeMatrixData.f90 | FORTRAN | mit | 1,027 |
c -*- Fortran -*-
c
c~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c
c Lithomop3d by Charles A. Williams
c Copyright (c) 2003-2005 Rensselaer Polytechnic Institute
c
c Permission is hereby granted, free of charge, to any person obtaining
c a copy of this software and associated documentati... | geodynamics/lithomop | lithomop3d/liblithomop3d/read_slip.f | FORTRAN | mit | 3,493 |
great_ne(p1,t1).
great_ne(z1,k1).
great_ne(f1,h1).
great_ne(w1,f1).
great_ne(cc1,jj1).
great_ne(p1,h1).
great_ne(t1,ee1).
great_ne(ee1,k1).
great_ne(ee1,w1).
great_ne(ee1,v1).
great_ne(k1,b1).
great_ne(kk1,x1).
great_ne(cc1,v1).
great_ne(q1,x1).
great_ne(dd1,y1).
great_ne(aa1,dd1).
great_ne(aa1,kk1).
great_ne(w1,ff1).
... | manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_anime_noiseless/incremental8/test6.f | FORTRAN | apache-2.0 | 483 |
MODULE io_module
use parallel_module
use io_tools_module
use rgrid_module, only: Ngrid,Igrid
use array_bound_module, only: ML,ML_0,ML_1,MSP,MSP_0,MSP_1
use rgrid_mol_module, only: LL
use kinetic_module, only: SYStype
use io2_module
use io_read_module
use io_write_module
use density_module, only: ... | j-iwata/RSDFT | src/io_module.f90 | FORTRAN | apache-2.0 | 13,602 |
SUBROUTINE input(ErrFlag)
use parameters
use dystl
use element
use blade
use strut
use varscale
use shear
use iecgust
use airfoil
use configr
use pidef
use vortex
use wakedata
use time
use wallsoln
use regtest
use output
use tower
integer, paramete... | petebachant/CACTUS-obsolete | src/input.f95 | FORTRAN | bsd-3-clause | 11,536 |
subroutine bmpinit
!! ~ ~ ~ PURPOSE ~ ~ ~
!! This subroutine sets default values for urban bmp parameters
!! ~ ~ ~ INCOMING VARIABLES ~ ~ ~ ~ ~ ~ ~
!! name |units |definition
!! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
!! dtp_onoff(:) ... | grmpfhmbl/swatmodel-trusty64 | src/bmpinit.f | FORTRAN | cc0-1.0 | 16,883 |
program t
real::a=2.71
real(kind=8)::b=3.14
double precision::c=7.77
complex::d=(2.71,3.14)
logical::e=.true.
print '(f3.1)',a
print '(f3.1)',b
print '(f3.1)',c
print '(f3.1)',d
print '(l)',e
end program t
| thender/ppp | tests/t0109r/t.f90 | FORTRAN | apache-2.0 | 226 |
program driver
c
c Generic driver routine for claw2
c
c Author: Randall J. LeVeque
c Version of March, 1999 -- CLAWPACK Version 4.0
c
c
implicit double precision (a-h,o-z)
c # set parameters for maximum array sizes used in declarations
c # these must be increased for larger problems.
c
c
... | clawpack/clawpack-4.x | apps/advection/2d/annulus/driver.f | FORTRAN | bsd-3-clause | 888 |
*> \brief <b> CHEEVR_2STAGE computes the eigenvalues and, optionally, the left and/or right eigenvectors for HE matrices</b>
*
* @generated from zheevr_2stage.f, fortran z -> c, Sat Nov 5 23:18:11 2016
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib... | kortschak/OpenBLAS | lapack-netlib/SRC/cheevr_2stage.f | FORTRAN | bsd-3-clause | 28,339 |
*> \brief \b SERRGT
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE SERRGT( PATH, NUNIT )
*
* .. Scalar Arguments ..
* CHARACTER*3 PATH
* INTEGER ... | grisuthedragon/OpenBLAS | lapack-netlib/TESTING/LIN/serrgt.f | FORTRAN | bsd-3-clause | 7,100 |
program test_dimred
! This program demonstrates how to:
!
! 1. Simulate ground-based SWIR measurement (spectrum)
! 2. Retrieve ch4 profile from the measurement using
! dimension reduction approach and Levenberg-Marquardt
! optimization
!
! Simo Tukiainen, 2015
use global_variables
use math,... | tukiains/dimred-fortran | src/test_dimred.f90 | FORTRAN | mit | 2,853 |
c Derrick Treichler
c 30 Oct 2007
c Functions exau exav exap provide the exact solution to the Taylor-Green
c vortex at supplied time t
function exau(x,y,t)
exau = -exp(-2*t)*cos(x)*sin(y)
return
end
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc... | dtreichler/DrivenCavity | exa.f | FORTRAN | mit | 687 |
*
* Routine: PCMOUT - Parallel Version of ARPACK utility routine CMOUT
*
* Purpose: Complex matrix output routine.
*
* Usage: CALL PCMOUT (COMM, LOUT, M, N, A, LDA, IDIGIT, IFMT)
*
* Arguments
* COMM - MPI Communicator for the processor grid
* M - Number of rows of A. (Input)
* N ... | mcflugen/roms-lite | src/roms/Lib/ARPACK/PARPACK/UTIL/MPI/pcmout.f | FORTRAN | mit | 9,171 |
-uvm
-incdir ../sv
../sv/*.sv
| tudortimi/vgm_svunit_utils | test/svunit.f | FORTRAN | apache-2.0 | 31 |
module mattype_m
use workfc_m
c
implicit none
c
integer, pointer :: neltp_mattype(:)
integer, target, allocatable :: mattype(:), mattypeif(:,:)
integer, pointer :: ientmp(:,:), ienif0tmp(:,:), ienif1tmp(:,:), ibcbtmp(:,:)
real*8, pointer :: bcbtmp(:,:)
c
cont... | SCOREC/phasta | phSolver/common/mattype_m.f | FORTRAN | bsd-3-clause | 2,114 |
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/plt/pltstg.f | FORTRAN | bsd-3-clause | 10,223 |
*> \brief \b SLAED5
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SLAED5 + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/slaed... | jmfranck/pyspecdata | lapack-3.4.0/SRC/slaed5.f | FORTRAN | bsd-3-clause | 5,275 |
chapter xvi, example 2, taut spline interpolation to the
c titanium heat data of example xiii.3.
c from * a practical guide to splines * by c. de boor
calls titand,tautsp,ppvalu(interv)
integer i,iflag,ipick(12),ipicki,k,l,lx,n,npoint
real break(122),coef(4,22),gamma,gtau(49),gtitan(49),plotf(201)
... | ndarmage/pppack | src/pppack/f77/pages.cs.wisc.edu/deboor/pgs/xviex2.f | FORTRAN | mit | 1,429 |
REAL*8 FUNCTION DGGGG1(ALPHAS,S,TG,MS,MG,SCA)
C*** GIVES THE SCALE DEPENDENCE OF VIRTUAL
C*** SCA = Q**2/MG**2
IMPLICIT NONE
REAL*8 ALPHAS,S,TG,UG,MS,MG,SCA,PI,BETAL,PGG,DGGGGB,NS
PI = 4.D0*ATAN(1.D0)
NS = 6.D0
UG = -S -TG
BETAL = -11.D0 + 2.D0/3.D0*(NS -1.D0)
PGG =... | sliem/docker-hep | prospino/on_the_web_10_17_14/Pro2_sq_gl/matrixgg.f | FORTRAN | apache-2.0 | 647,353 |
*> \brief \b CLANHP 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 supplied in packed form.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapac... | grisuthedragon/OpenBLAS | lapack-netlib/SRC/clanhp.f | FORTRAN | bsd-3-clause | 8,295 |
!****h* root/fortran/test/tH5I.f90
!
! NAME
! tH5I.f90
!
! FUNCTION
! Basic testing of Fortran H5I APIs.
!
! COPYRIGHT
! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
! Copyright by The HDF Group. *
! Copyright by the Board of Trustees ... | opencb/hpg-pore | src/main/third-party/hdf5-1.8.14/fortran/test/tH5I.f90 | FORTRAN | apache-2.0 | 10,804 |
!****************************************************
! Weighted Least Squares Spectrum
!
! Input:
! spec [options] [inputfile] [outputfile]
!
! Options:
! -p Power spectrum (default)
! -a Amplitude spectrum
! -pd Power density spectrum
! -tday Treat times... | rhandberg/timeseries | src/spec.f90 | FORTRAN | mit | 8,173 |
great_ne(z1,ii1).
great_ne(ff1,i1).
great_ne(cc1,f1).
great_ne(kk1,w1).
great_ne(jj1,aa1).
great_ne(hh1,v1).
great_ne(u1,f1).
great_ne(p1,hh1).
great_ne(ee1,i1).
great_ne(ee1,ii1).
great_ne(jj1,k1).
great_ne(t1,b1).
great_ne(bb1,m1).
great_ne(ff1,c1).
great_ne(m1,y1).
great_ne(ee1,v1).
great_ne(kk1,y1).
great_ne(bb1,b1... | manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_anime_0.3noisy/train4.f | FORTRAN | apache-2.0 | 5,704 |
integer function ixamaxf(n,zx,incx)
c
c finds the index of element having max. absolute value.
c jack dongarra, 1/15/85.
c modified 3/93 to return if incx .le. 0.
c modified 12/3/93, array(1) declarations changed to array(*)
c
complex zx(*)
real smax
integer i,incx,ix,n
rea... | xianyi/BLAS-Tester | refblas_perf/ixamaxf.f | FORTRAN | bsd-3-clause | 353 |
*> \brief <b> CGESVD computes the singular value decomposition (SVD) for GE matrices</b>
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CGESVD + dependencies
*> <a href="http://www.netlib.org/cgi... | jmfranck/pyspecdata | lapack-3.4.0/SRC/cgesvd.f | FORTRAN | bsd-3-clause | 142,078 |
C
C
*+ make_phbm
subroutine make_phbm(beam,m,n,ibc,jbc,alpha,status)
C ---------------------------------------------------
C
C modify the beam for a Prussian Hat clean
C
C Input/Returned
C BEAM - R4(array) - beam to modify
C
C Input
C M/N - I4 - Beam size... | CavendishAstrophysics/anmap | clean_lib/make_phbm.f | FORTRAN | bsd-3-clause | 625 |
!-------------------------------------------------------------
! Copyright (c) 2013-2014 Yuta Kawai. All rights reserved.
!-------------------------------------------------------------
!> @brief a template module
!!
!! @author Yuta Kawai
!!
!!
module DGCoordConvert_mod
! モジュール引用; Use statements
!
use dc_types,... | ywkawai/Dennou-OGCM | model/globalSWModel_DG/DGCoordConvert_mod.f90 | FORTRAN | mit | 2,365 |
C
C
C
REAL FUNCTION CNVTDG
I ( LATLNG )
C
C + + + PURPOSE + + +
C This routine computes latitude or longitude in degrees
C from an integer representation of degrees-minutes-seconds.
C Examples:
C 593000 is converted to 59.5
C -723015 is c... | kbrannan/PyHSPF | src/hspf13/utgnrl.f | FORTRAN | bsd-3-clause | 968 |
*> \brief \b SLAISNAN tests input for NaN by comparing two arguments for inequality.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SLAISNAN + dependencies
*> <a href="http://www.netlib.org/cgi-bin/... | xianyi/OpenBLAS | lapack-netlib/SRC/slaisnan.f | FORTRAN | bsd-3-clause | 2,560 |
*> \brief \b SDRVSG
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE SDRVSG( NSIZES, NN, NTYPES, DOTYPE, ISEED, THRESH,
* NOUNIT, A, LDA, B, LDB, D... | ryanrhymes/openblas | lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/EIG/sdrvsg.f | FORTRAN | bsd-3-clause | 46,951 |
real function smooth ( x, y, dy, npoint, s, v, a )
c from * a practical guide to splines * by c. de boor
calls setupq, chol1d
c
c constructs the cubic smoothing spline f to given data (x(i),y(i)),
c i=1,...,npoint, which has as small a second derivative as possible
c while
c s(f) = sum( ((y(i)-f(x(... | ndarmage/pppack | src/pppack/f77/pages.cs.wisc.edu/deboor/pgs/smooth.f | FORTRAN | mit | 5,073 |
program problem5
use config
use gnuplot
implicit none
! DATA DICTIONARY
real(wp) :: y1,y2,t,y1old,y2old,told
real(wp),dimension(:),allocatable :: f1,f2 ! Most recent first
real(wp) :: k1,k2,k3,k4
real(wp) :: y10,y20,t0,tf
real(wp),dimension(:),allocatable :: y1_values,y2_values,t_values
rea... | spencer4of6/numerical-solvers-fortran | homework/2015-04-06/Problem5/main.f90 | FORTRAN | mit | 5,190 |
!-------------------------------------------------------------------------------
! Copyright (c) 2019 FrontISTR Commons
! This software is released under the MIT License, see LICENSE.txt
!-------------------------------------------------------------------------------
!> \brief This module provide functions for elast... | FrontISTR/FrontISTR | fistr1/src/lib/physics/Elastoplastic.f90 | FORTRAN | mit | 22,188 |
${PRJ_ROOT}/config_sim.vhd
# Top levels
${RTL_HOME}/work/riscv_soc.vhd
${PRJ_ROOT}/asic_top.vhd
${RTL_HOME}/work/tb/uart_sim.vhd
${RTL_HOME}/work/tb/jtag_sim.vhd
${RTL_HOME}/work/tb/ethphy_sim.vhd
${PRJ_ROOT}/asic_top_tb.vhd
${PRJ_ROOT}/dcache_lru_tb.vhd
| sergeykhbr/riscv_vhdl | rtl/prj/sim/vhdl.f | FORTRAN | apache-2.0 | 258 |
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_selinv.f | FORTRAN | bsd-3-clause | 3,702 |
module rArgDynamicArray_Class
!! Class that act as stacks, queues, and priority queues like [[rDynamicArray_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/rArgDynamicArray_Class.f90 | FORTRAN | bsd-3-clause | 13,543 |
C Copyright(C) 2008-2017 National Technology & Engineering Solutions of
C Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
C NTESS, the U.S. Government retains certain rights in this software.
C
C Redistribution and use in source and binary forms, with or without
C modification, ar... | nschloe/seacas | packages/seacas/applications/algebra/ag_dbptim.f | FORTRAN | bsd-3-clause | 4,481 |
*> \brief \b CSYCONVF
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CSYCONVF + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/csyc... | grisuthedragon/OpenBLAS | lapack-netlib/SRC/csyconvf.f | FORTRAN | bsd-3-clause | 16,735 |
subroutine SHMTDebias (mtdebias, mtspectra, lmax, tapers, lwin, K, nl, lmid, &
n, taper_wt)
!-------------------------------------------------------------------------------
!
! This routine will invert for the global power spectrum given a
! multitaper spectrum estimate, its associated unce... | ian-r-rose/SHTOOLS | src/SHMTDebias2.f95 | FORTRAN | bsd-3-clause | 7,242 |
*> \brief <b> SGEESX computes the eigenvalues, the Schur form, and, optionally, the matrix of Schur vectors for GE matrices</b>
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SGEESX + dependencies
*... | grisuthedragon/OpenBLAS | lapack-netlib/SRC/sgeesx.f | FORTRAN | bsd-3-clause | 22,032 |
*> \brief \b DSBGVX
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download DSBGVX + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dsbgv... | mverleg/1957 | lib/lapack/dsbgvx.f | FORTRAN | bsd-3-clause | 16,317 |
*> \brief \b SGET54
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE SGET54( N, A, LDA, B, LDB, S, LDS, T, LDT, U, LDU, V,
* LDV, WORK, RESULT )
*
* ... | grisuthedragon/OpenBLAS | lapack-netlib/TESTING/EIG/sget54.f | FORTRAN | bsd-3-clause | 6,566 |
! RUN: %S/test_errors.sh %s %t %f18
! Fortran syntax considers signed int literals in complex literals
! to be a distinct production, not an application of unary +/- to
! an unsigned int literal, so they're used here to test overflow
! on signed int literal constants. The literals are tested here
! as part of expressi... | google/llvm-propeller | flang/test/Semantics/int-literals.f90 | FORTRAN | apache-2.0 | 2,690 |
*> \brief \b ZUNBDB1
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download ZUNBDB1 + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zunbdb... | xianyi/OpenBLAS | lapack-netlib/SRC/zunbdb1.f | FORTRAN | bsd-3-clause | 10,061 |
c { dg-do compile }
CHARMM Element source/dimb/nmdimb.src 1.1
C.##IF DIMB
SUBROUTINE NMDIMB(X,Y,Z,NAT3,BNBND,BIMAG,LNOMA,AMASS,DDS,DDSCR,
1 PARDDV,DDV,DDM,PARDDF,DDF,PARDDE,DDEV,DD1BLK,
2 DD1BLL,NADD,LRAISE,DD1CMP,INBCMP,JNBCMP,
3 NPAR,ATMPAR,ATMPAS,B... | shaotuanchen/sunflower_exp | tools/source/gcc-4.2.4/gcc/testsuite/gfortran.dg/g77/20010519-1.f | FORTRAN | bsd-3-clause | 46,428 |
*> \brief \b CHPTRI
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CHPTRI + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/chptr... | LighthouseHPC/lighthouse | src/lighthouseProject/lighthouseProject/static/Doxygen/lapack/chptri.f | FORTRAN | mit | 12,236 |
*> \brief \b ZERRHS
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE ZERRHS( PATH, NUNIT )
*
* .. Scalar Arguments ..
* CHARACTER*3 PATH
* INTEGER... | ryanrhymes/openblas | lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/EIG/zerrhs.f | FORTRAN | bsd-3-clause | 14,499 |
*> \brief \b CGEQRS
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE CGEQRS( M, N, NRHS, A, LDA, TAU, B, LDB, WORK, LWORK,
* INFO )
*
* .. S... | ryanrhymes/openblas | lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/LIN/cgeqrs.f | FORTRAN | bsd-3-clause | 4,783 |
!*****************************************************************************************
module json_m
!*****************************************************************************************
!****h* JSON/json_module
!
! NAME
! json_module
!
! DESCRIPTION
! JSON-FORTRAN: A Fortran 2008 JSON (Ja... | usuaero/MachUp | common/json.f90 | FORTRAN | mit | 121,451 |
subroutine multev(d,p,nv)
c implicit double precision (a-h,o-z) dp
dimension d(*),p(nv,1)
do 10 i=1,nv
do 10 j=1,nv
10 p(j,i)=p(j,i)/d(i)
return
end
| imohame/hex | src/multev.f | FORTRAN | mit | 227 |
great_ne(dd1,x1).
great_ne(m1,ff1).
great_ne(aa1,a1).
great_ne(cc1,t1).
great_ne(v1,w1).
great_ne(ee1,c1).
great_ne(ff1,i1).
great_ne(hh1,w1).
great_ne(cc1,f1).
great_ne(ee1,m1).
great_ne(u1,k1).
great_ne(q1,bb1).
great_ne(aa1,ii1).
| manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_anime_noiseless/incremental4/test4.f | FORTRAN | apache-2.0 | 233 |
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/prstep.f | FORTRAN | bsd-3-clause | 3,608 |
*+ spec_get_data
subroutine spec_get_data( id, ic, array, ndata, status)
C -------------------------------------------------------
C
C Return data for spectrum ID column IC in array ARRAY
C
implicit NONE
C
C Given:
C spectrum identifier
integer id
C column number
integer... | CavendishAstrophysics/anmap | spec_lib/spec_get_data.f | FORTRAN | bsd-3-clause | 1,685 |
*> \brief \b DGEHD2
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download DGEHD2 + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dgehd... | jmfranck/pyspecdata | lapack-3.4.0/SRC/dgehd2.f | FORTRAN | bsd-3-clause | 6,519 |
! $UWHPSC/adaptive_quadtrature/factorial_example.f90
! Illustrate a recursive subroutine to compute n! = n*(n-1)*(n-2)...3*2*1
program factorial_example
implicit none
integer :: n, nfact
print *, "Compute n! recursively. Input n..."
read *, n
call myfactorial(n,nfact)
print *, "n! = ", nfa... | philipwangdk/HPC | uwhpsc/codes/adaptive_quadrature/factorial_example.f90 | FORTRAN | mit | 669 |
!
! 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 | common/preprocessor.f90 | FORTRAN | apache-2.0 | 1,697 |
SUBROUTINE CGTTRS( TRANS, N, NRHS, DL, D, DU, DU2, IPIV, B, LDB,
$ INFO )
*
* -- LAPACK routine (version 2.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* September 30, 1994
*
* .. Scalar A... | mcflugen/roms-lite | src/roms/Lib/ARPACK/LAPACK/cgttrs.f | FORTRAN | mit | 6,245 |
<ompts:test>
<ompts:testdescription>Test which checks the omp_testlock function. The test counts the threads entering and exiting a single region which is build with a test_lock in an endless loop.</ompts:testdescription>
<ompts:ompversion>2.0</ompts:ompversion>
<ompts:directive>omp_test_lock</ompts:directive>
<ompts:d... | dededong/goblin-core | riscv/riscv-omp/testsuite/fortran/omp_testlock.f | FORTRAN | bsd-3-clause | 1,974 |
*> \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... | ryanrhymes/openblas | lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/EIG/ddrves.f | FORTRAN | bsd-3-clause | 34,304 |
C> \ingroup selci
C> @{
subroutine selci_rdhwmt(iflwmt,mmulti, nsmax, nf, nfmax, nfmax2)
*
* $Id$
*
dimension nf(0:32)
c
call ifill(33,0,nf,1)
read (iflwmt,*) mmulti, nsmax
read (iflwmt,*) (nf(i),i=mod(nsmax,2),nsmax,2)
nfmax = nf(nsmax)
nfmax2 = nf(nsmax-2)
c
end
C> @}
| rangsimanketkaew/NWChem | src/selci/rdhwmt.f | FORTRAN | mit | 319 |
SUBROUTINE UEXTERNALDB(LOP,LRESTART,TIME,DTIME,KSTEP,KINC)
include 'ABA_PARAM.INC'
include 'hydra.inc'
DIMENSION TIME(2)
character(len=1), parameter :: path_sep='/'
character(len=4), parameter :: jacf_ext='.jac'
character(len=256) :: OUTDIR, JOBNAME, JACFILE
character(... | PoliHydra/hydra | verification/gradient/hydra.f | FORTRAN | mit | 4,040 |
great_rsd(v1,hh1).
great_rsd(c1,x1).
great_rsd(c1,jj1).
great_rsd(v1,g1).
great_rsd(p1,w1).
great_rsd(u1,g1).
| manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_scopolamine_noiseless/incremental2/test7.f | FORTRAN | apache-2.0 | 110 |
*> \brief \b ZPOTF2
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download ZPOTF2 + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zpotf... | jmfranck/pyspecdata | lapack-3.4.0/SRC/zpotf2.f | FORTRAN | bsd-3-clause | 6,801 |
SUBROUTINE SGELSX( M, N, NRHS, A, LDA, B, LDB, JPVT, RCOND, RANK,
$ WORK, INFO )
*
* -- LAPACK driver 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
* ... | yaowee/libflame | lapack-test/lapack-timing/LIN/LINSRC/sgelsx.f | FORTRAN | bsd-3-clause | 13,364 |
*> \brief \b DDRVEV
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE DDRVEV( NSIZES, NN, NTYPES, DOTYPE, ISEED, THRESH,
* NOUNIT, A, LDA, H, WR, WI, ... | buffer51/OpenBLAS | lapack-netlib/TESTING/EIG/ddrvev.f | FORTRAN | bsd-3-clause | 34,318 |
SUBROUTINE ZUNGTR( UPLO, N, A, LDA, TAU, WORK, LWORK, INFO )
*
* -- LAPACK 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 ..
CHARAC... | alexurba/cftb | src/libsrc/lapack/SRC/zungtr.f | FORTRAN | mit | 5,387 |
! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
! Copyright by The HDF Group. *
! Copyright by the Board of Trustees of the University of Illinois. *
! All rights reserved. *
... | opencb/hpg-pore | src/main/third-party/hdf5-1.8.14/hl/fortran/test/tstimage.f90 | FORTRAN | apache-2.0 | 8,986 |
*> \brief \b ZTPTTF copies a triangular matrix from the standard packed format (TP) to the rectangular full packed format (TF).
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download ZTPTTF + dependencies... | mverleg/1957 | lib/lapack/ztpttf.f | FORTRAN | bsd-3-clause | 15,735 |
*> \brief \b DQRT16
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE DQRT16( TRANS, M, N, NRHS, A, LDA, X, LDX, B, LDB,
* RWORK, RESID )
*
* ... | ryanrhymes/openblas | lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/LIN/dqrt16.f | FORTRAN | bsd-3-clause | 6,011 |
C file SETUP.FOR
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
SUBROUTINE SETUP
C allows users to supply i/o parameters for their computing environment
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
C Global variables:
INCLUDE 'IO.ALL'
CCCCCCCCCCCCC... | ajz34/Comp-Phys-Koonin | Source-Koonin-Code/ComUtil/setup.for | FORTRAN | mit | 4,369 |
! -*- f90 -*-
!****************************************
! Routine for rank-deficient jacobian update
SUBROUTINE UPDATEJAC(m,n,fjac, fvec, fvec_new, acc, v, a)
IMPLICIT NONE
INTEGER m, n, i, j
REAL (KIND=8) fjac(m,n), fvec(m), fvec_new(m), acc(m)
REAL (KIND=8) v(n), a(n), djac(m), v2(n), r1(m)
r1 = fvec + 0.... | mclaughlin6464/SloppyJoes | geodesicLM/geodesicLM/updatejac.f90 | FORTRAN | mit | 730 |
INTEGER :: n=0
INTEGER, ALLOCATABLE :: CC(:)
DO WHILE(n<=0)
PRINT*, "ÊäÈëNÖµ"
READ*, n
END DO
ALLOCATE(CC(n+1))
CALL COEF(CC,n)
PRINT *, CC
END
RECURSIVE SUBROUTINE COEF(C,N)
INTEGER :: C(1:N+1),N,I
IF(N==1) THEN
C(1)=1
C(2)=1
ELSE
CALL COEF(C,N-1)
C(N+1)=1
DO I=N,2,-1
C(I)=C(I)+C(I-1)
END... | quchunguang/test | testfortran90/e_624_03.f90 | FORTRAN | mit | 346 |
! 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 intergovernme... | 0x1mason/GribApi.XP | grib_api/examples/F90/grib_set_missing.f90 | FORTRAN | apache-2.0 | 1,539 |
*> \brief \b ZUNG2L
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download ZUNG2L + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zung2... | jmfranck/pyspecdata | lapack-3.4.0/SRC/zung2l.f | FORTRAN | bsd-3-clause | 5,190 |
subroutine myfunc(a, b, c) bind(C, NAME="myfunc")!
!
use iso_c_binding!
!
integer(c_int), value :: a!
real(c_double), value :: b!
real(c_double), dimension(*) :: c!
!
integer :: i!
!
print *, a!
print *, b!
!
do i=1,20!
print*, c(i)!
end do!
!
end subroutine myfunc | henningjp/CoolProp | wrappers/Fortran/simple_example/fortmyfunc.f90 | FORTRAN | mit | 265 |
PROGRAM SHIFTS
!***********************************************************************
!* Shifts UDS Files
!*
!* Language: Fortran
!*
!* Author: Stuart G. Mentzer
!*
!* Date: 2003/07/18
!***********************************************************************
! Headers
INCLUDE 'uds_str.fi'
INC... | DeadParrot/NHTSA-Tools | src/app/Shifts.for | FORTRAN | mit | 13,868 |
MODULE random_initrho_module
use aa_module, only: aa
use rgrid_module, only: Ngrid, Igrid
use pseudopot_module, only: Rps, Zps
use atom_module, only: aa_atom, ki_atom, Natom
use parallel_module, only: disp_switch_parallel
implicit none
PRIVATE
PUBLIC :: construct_RandomInitrho
CONTAINS
SUBROUTINE... | j-iwata/RSDFT | src/random_initrho_module.f90 | FORTRAN | apache-2.0 | 1,821 |
program volatile_doctest
use vecfor_R8P
type(vector_R8P) :: pt
pt = 4 * ex_R8P + 3 * ey_R8P
print "(L1)", 5_I8P == pt
endprogram volatile_doctest | szaghi/VecFor | src/tests/vecfor_R8P/vecfor_R8P-doctest-152.f90 | FORTRAN | bsd-2-clause | 148 |
program t
implicit none
! inquire stmt 'delim' specifier (apostrophe)
character*10::a
open (56, status='new', file='tmpfile', delim='apostrophe')
inquire (56, delim=a)
print *,a
close (56,status='delete')
endprogram t
| thender/ppp | tests/t0318r/t.f90 | FORTRAN | apache-2.0 | 233 |
! *****************************COPYRIGHT*******************************
! (C) Crown copyright Met Office. All rights reserved.
! For further details please refer to the file COPYRIGHT.txt
! which you should have received as part of this distribution.
! *****************************COPYRIGHT*****************************... | leifdenby/KiD | src/interpolation.f90 | FORTRAN | bsd-3-clause | 11,224 |
*> \brief \b ZSYT01
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE ZSYT01_AA( UPLO, N, A, LDA, AFAC, LDAFAC, IPIV, C, LDC,
* RWORK, RESID )
*
* ... | grisuthedragon/OpenBLAS | lapack-netlib/TESTING/LIN/zsyt01_aa.f | FORTRAN | bsd-3-clause | 7,456 |
SUBROUTINE ZGTT02( TRANS, N, NRHS, DL, D, DU, 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 TRANS
INTEGER ... | maxhutch/magma | testing/lin/zgtt02.f | FORTRAN | bsd-3-clause | 3,929 |
program test
use FoX_wkml
implicit none
type(xmlf_t) :: myfile
call kmlBeginFile(myfile, "test.xml", -1)
call kmlStartRegion(myfile, reshape((/10.0D0, 10.0D0, 11.0D0, 11.0D0, 12.0D0, 12.0D0/),(/2,3/)))
call kmlEndRegion(myfile)
call kmlFinishFile(myfile)
end program test
| wilsonCernWq/Simula | fortran/utils/FoX-4.1.2/wkml/test/test_kmlStartEndRegion_4.f90 | FORTRAN | mit | 291 |
verilog work ../rtl/display_top.v
verilog work ../rtl/glbl.v
verilog work ../rtl/system_controller.v
verilog work ../rtl/kcpsm6.v
verilog work ../rtl/cpu.v
verilog work ../simulation/display_rom.v
verilog work ../../../library/uart_pb/pb_uart.v
verilog work ../../../library/uart_pb/uart_baud_generator.v
verilog work .... | ptracton/Picoblaze | projects/display/simulation/sim.f | FORTRAN | mit | 1,330 |
c $Id: psi_lmbda_paw.f 21177 2011-10-10 17:09:43Z bylaska $
* ***********************************
* * *
* * psi_lmbda_paw *
* * *
* ***********************************
subroutine psi_lmbda_paw(ispin,ne,nemax,npac... | rangsimanketkaew/NWChem | src/nwpw/pspw/cpsd/psi_lmbda_paw.f | FORTRAN | mit | 6,241 |
C ----------------------------------------------------------------
C Programmer(s): Daniel R. Reynolds @ SMU
C ----------------------------------------------------------------
C LLNS/SMU Copyright Start
C Copyright (c) 2015, Southern Methodist University and
C Lawrence Livermore National Securi... | dflowers7/kroneckerbio | External/sundials-2.6.2/examples/arkode/F77_serial/fark_roberts_dnsL.f | FORTRAN | mit | 8,779 |
module module_occupy
implicit none
double precision, allocatable :: dEV(:,:)
! Energies
contains
!#############################################
!# Calculate MBPT2 EV corrections
!#############################################
subroutine calc_GKT(doprint)
use module_data, only : doMBPT2,... | jmargraf/samsa-f | src/occupy.f90 | FORTRAN | mit | 5,290 |
\ gpio.f - cubieboard gpio driver
\ ------------------------------------------------------------------------
\ Prior to any GPIO access you must call gpio-init. This memory maps
\ the registers so that they can be accessed by your code. Once mapped
\ you can read and write GPIO registers as described below.
\ Mos... | mark4th/t4 | cubie/gpio.f | FORTRAN | mit | 8,229 |
let Char :* = Int;;
let GTInt (lo:Int) :* = (x:Int.(x>lo));;
let GTEInt (lo:Int) :* = (x:Int.(lo<=x));;
let LTInt (hi:Int) :* = (x:Int.(x<hi));;
let RInt (lo:Int) (hi:Int) :* = (x:Int. (and (lo<=x) (x<hi)));;
datatype String =
SNull of (u:Unit)
| SCons of (x:Char) (r:String)
;;
let rec concat (s1... | ucsc-proglang/sage | tests/bad/printf.4.f | FORTRAN | apache-2.0 | 6,927 |
SUBROUTINE DM_WCLH ( iflno, ipos, iheadr, jpos, iret )
C************************************************************************
C* DM_WCLH *
C* *
C* This subroutine writes a column header to a DM file. If the value *
C* for IPOS is 0, the next available location will be used. The *
C* variables conta... | sgdecker/pygempak | dmwclh.f | FORTRAN | apache-2.0 | 6,562 |
SUBROUTINE clawpack5_b4step2(mbc,mx,my,meqn,q, &
xlower,ylower,dx,dy,time,dt,maux,aux)
IMPLICIT NONE
INTEGER mbc,mx,my,maux,meqn
DOUBLE PRECISION xlower,ylower,dx,dy,time,dt
DOUBLE PRECISION q(meqn,1-mbc:mx+mbc,1-mbc:my+mbc)
DOUBLE PRECISION aux(maux,1-mbc:mx+mbc,1-mbc:my+mbc)
DOUBLE PRECISION tperiod,... | ForestClaw/forestclaw | applications/metric/2d/mesh/user_5.0/b4step2.f90 | FORTRAN | bsd-2-clause | 1,146 |
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/plt/pltgtm.f | FORTRAN | bsd-3-clause | 3,450 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.