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
module m integer::i=3 integer::j=4 end module m program t use m,only:i integer::j=77 print '(i0)',i,j end program t
thender/ppp
tests/t0223r/t.f90
FORTRAN
apache-2.0
127
*> \brief <b> ZCPOSV computes the solution to system of linear equations A * X = B for PO matrices</b> * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ZCPOSV + dependencies *> <a href="http://www.net...
xianyi/OpenBLAS
lapack-netlib/SRC/zcposv.f
FORTRAN
bsd-3-clause
13,922
! This file is all about BACKSPACE ! { dg-do run } integer i, n, nr real x(10), y(10) ! PR libfortran/20068 open (20, status='scratch') write (20,*) 1 write (20,*) 2 write (20,*) 3 rewind (20) read (20,*) i if (i .ne. 1) call abort write (*,*) ' ' back...
shaotuanchen/sunflower_exp
tools/source/gcc-4.2.4/gcc/testsuite/gfortran.dg/backspace.f
FORTRAN
bsd-3-clause
1,676
implicit none integer, parameter :: MAXTSTP = 801, NGRID = 64 real pyRho(NGRID,NGRID,MAXTSTP), pyVR(NGRID,NGRID,MAXTSTP), & pyVZ(NGRID,NGRID,MAXTSTP), pyErg(NGRID,NGRID,MAXTSTP) call fast2d(pyRho,pyVR,pyVZ,pyErg) !write (*,*) PYOUT(50,1,:) end program
scienceopen/pyLCPFCT
src/RunFast2d.f90
FORTRAN
mit
257
!=====================================================================! ! !=====================================================================! ! http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/util/Hashtable.java#Hashtable module hashtable_class use iso_fortran_env, only : dp =...
komahanb/collections
hashtable_class.f90
FORTRAN
mit
2,402
module os_detect implicit none (type, external) contains function getos() !! heuristic detection of operating system based on de facto environment variables character(256) :: buf character(:), allocatable :: getos call get_environment_variable("HOME", buf) if (len_trim(buf) > 0) getos = "unix" call get_environment...
scienceopen/fortran2015-examples
system/os_detect.f90
FORTRAN
mit
433
!> @ingroup quick_sort_recursive !> !> @brief !> Run a recursive three way quick sort on a vector of real values. !> !> @details !> Run a recursive three way quick sort on a vector of real values to sort them in a specified order. !> !> @param vec !> The vector to be sorted. !> !> @param ascending !> Indicates if ...
arinrb/bsort
src/quick_sort_recursive_real.f90
FORTRAN
apache-2.0
856
pure subroutine interchange_sort_map_int(vec,map) integer, intent(in out) :: vec(:) integer, intent(in out) :: map(:) integer :: i,j do i = 1,size(vec) - 1 j = minloc(vec(i:),1) if (j > 1) then call swap(vec(i),vec(i + j - 1)) call swap(map(i),map(i + j - 1)) end if end do end s...
certik/FortLab
fort_arrange/src/interchange_sort_map_int.f90
FORTRAN
bsd-2-clause
355
program volatile_doctest use vecfor_R8P type(vector_R8P) :: pt pt = 4 * ex_R8P + 3 * ey_R8P print "(L1)", pt == 5_I2P endprogram volatile_doctest
szaghi/VecFor
src/tests/vecfor_R8P/vecfor_R8P-doctest-157.f90
FORTRAN
bsd-2-clause
148
!> !! @copyright Copyright (c) 2016-, Issam SAID <said.issam@gmail.com> !! All rights reserved. !! !! Redistribution and use in source and binary forms, with or without !! modification, are permetted provided that the following conditions !! are met: !! !! 1. Redistributions of source code must retain the above copyrig...
issamsaid/ezCU
examples/fortran_interface/devices_info/main.f90
FORTRAN
bsd-3-clause
2,171
*> \brief \b CBLAT3 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * PROGRAM CBLAT3 * * *> \par Purpose: * ============= *> *> \verbatim *> *> Test program for the COMPLEX ...
jmfranck/pyspecdata
lapack-3.4.0/BLAS/TESTING/cblat3.f
FORTRAN
bsd-3-clause
131,737
*> \brief \b CERRST * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE CERRST( PATH, NUNIT ) * * .. Scalar Arguments .. * CHARACTER*3 PATH * INTEGER ...
buffer51/OpenBLAS
lapack-netlib/TESTING/EIG/cerrst.f
FORTRAN
bsd-3-clause
56,139
*> \brief <b> DSYSV_RK computes the solution to system of linear equations A * X = B for SY matrices</b> * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DSYSV_RK + dependencies *> <a href="http://www...
grisuthedragon/OpenBLAS
lapack-netlib/SRC/dsysv_rk.f
FORTRAN
bsd-3-clause
10,503
*> \brief \b ZERRSYX * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE ZERRSY( PATH, NUNIT ) * * .. Scalar Arguments .. * CHARACTER*3 PATH * INTEGE...
yaowee/libflame
lapack-test/3.5.0/LIN/zerrsyx.f
FORTRAN
bsd-3-clause
16,310
C * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * C * * C * copyright (c) 2011 by UCAR * C * * C * University Corpora...
bgin/MissileSimulation
External/FFTPACK/c1fgkb.f
FORTRAN
mit
5,333
subroutine splin2(x1a,x2a,ya,y2a,m,n,x1,x2,y) parameter (nn=100) integer m,n,j,k real x1,x2,y real x1a(m),x2a(n),ya(m,n),y2a(m,n),ytmp(nn),y2tmp(nn) real yytmp(nn) do 12 j=1,m do 11 k=1,n ytmp(k)=ya(j,k) y2tmp(k)=y2a(j,k) 11 continue cal...
orfeotoolbox/OTB
Modules/ThirdParty/6S/src/6SV1.0B/SPLIN2.f
FORTRAN
apache-2.0
488
SUBROUTINE getgrid(myid,Nx,Ny,Nz,Lx,Ly,Lz,pi,name_config,x,y,z,kx,ky,kz,decomp) !-------------------------------------------------------------------- ! ! ! PURPOSE ! ! This subroutine gets grid points and fourier frequencies for a ! pseudospectral simulation of the 2D nonlinear Klein-Gordon equation ! ! u_{tt...
openmichigan/PSNM
KleinGordon/Programs/KleinGordon3dMpiFFT/getgrid.f90
FORTRAN
bsd-2-clause
4,985
subroutine GETBUF(BUF1,BUF2,NPIX,NRAST) integer NPIX,NRAST real BUF1(NPIX*NRAST),BUF2(NPIX*NRAST) do 10 i=1,NPIX*NRAST BUF2(I)=BUF1(I) 10 continue return end
scattering-central/CCP13
software/guifix/GETBUF.f
FORTRAN
bsd-3-clause
209
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/grinit.f
FORTRAN
bsd-3-clause
9,826
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/gp_movnd2.f
FORTRAN
bsd-3-clause
4,843
*> \brief \b DTPMLQT * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DTPMQRT + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/stpmlq...
kortschak/OpenBLAS
lapack-netlib/SRC/stpmlqt.f
FORTRAN
bsd-3-clause
10,363
SUBROUTINE SLARTG( F, G, CS, SN, R ) * * -- LAPACK auxiliary routine (version 3.2) -- * Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. * November 2006 * * .. Scalar Arguments .. REAL CS, F, G, R, SN * .. * * Purpose * ======= * * SLARTG generate a plane rota...
joao-lima/plasma-kaapi
testing/lin/slartg.f
FORTRAN
bsd-3-clause
3,979
subroutine setprob implicit double precision (a-h,o-z) character*25 fname common /comrp/ ubar,vbar c c # Set the velocity for scalar advection c # These values are passed to the Riemann solvers rpn2.f and rpt2.f c # in a common block c c iunit = 7 fname = 'setprob.data' ...
clawpack/clawpack-4.x
apps/advection/2d/example1_gauges/setprob.f
FORTRAN
bsd-3-clause
551
C C C SUBROUTINE FIRSTP I (OUTLEV,UUNITS,DELT60,GNUM,GSUB,GNVALS, I NUM,SUBBAS,NVALS,CNUM,BNUM,LSNO,MESSU, I MSGFL, M WCOUNT, O GPARM,SPARM,UPARM,LPARM,APARM) C C + + + PURPOSE + + + C ...
kbrannan/PyHSPF
src/hspf13/hperagut.f
FORTRAN
bsd-3-clause
62,141
*> \brief \b SERRRFP * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE SERRRFP( NUNIT ) * * .. Scalar Arguments .. * INTEGER NUNIT * .. * * *...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/LIN/serrrfp.f
FORTRAN
bsd-3-clause
8,941
SUBROUTINE AB09BD( DICO, JOB, EQUIL, ORDSEL, N, M, P, NR, A, LDA, $ B, LDB, C, LDC, D, LDD, HSV, TOL1, TOL2, IWORK, $ DWORK, LDWORK, IWARN, INFO ) C C SLICOT RELEASE 5.5. C C Copyright (c) 2002-2012 NICONET e.V. C C PURPOSE C C To compute a r...
bgin/MissileSimulation
External/SLICOT/AB09BD.f
FORTRAN
mit
13,816
PROGRAM mik01b ! Code converted using TO_F90 by Alan Miller ! Date: 2004-06-28 Time: 12:58:11 ! ============================================================= ! Purpose: This program computes the modified Bessel functions ! I0(x), I1(x), K0(x), K1(x), and their derivatives ! ...
ekadhanda/bin
MATLAB/f2matlab/comp_spec_func/mik01b.f90
FORTRAN
mit
5,117
subroutine addres(jdiag,mht,nwk,ma,mb) c implicit double precision (a-h,o-z) dp c common/bk17/dn1,dn2,nwebuf,ntime,numnp,neq,ibar,mthsol dimension jdiag(*),mht(*) c jdiag(1)=1 ma=0 mb=0 do 10 i=2,neq ma=max(ma,mht(i)) ...
imohame/hex
src/addres.f
FORTRAN
mit
449
! 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/nearest.f90
FORTRAN
apache-2.0
2,498
program pi_app use omp_lib implicit none integer :: num_steps = 500000000 integer :: i real(kind=8) :: x, pi, pi_reference, sum, w, time, error pi=0.0 sum=0.0 print *, "using ", omp_get_max_threads(), " OpenMP threads" ! start timer time = -omp_get_wtime() w = 1.0d0/num_steps !$omp parallel do reduction(+:sum) ...
bcumming/openmp-examples
fortran/solutions/pi.f90
FORTRAN
bsd-2-clause
812
*======================================================================= * * WCSLIB 4.24 - an implementation of the FITS WCS standard. * Copyright (C) 1995-2014, Mark Calabretta * * This file is part of WCSLIB. * * WCSLIB is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser Gen...
kapteyn-astro/kapteyn
src/wcslib-4.24/Fortran/test/ttab2.f
FORTRAN
bsd-3-clause
9,328
! ! wavy - A spectral ocean wave modeling and development framework ! Copyright (c) 2017, Wavebit Scientific LLC ! All rights reserved. ! ! Licensed under the BSD-3 clause license. See LICENSE for details. ! program test_phillips use mod_precision,only:rk => realkind use mod_spectrum,only:spectrum_type use mod_spectra...
wavebitscientific/wavy
src/tests/integration/test_phillips.f90
FORTRAN
bsd-3-clause
1,875
! writexml.f90 -- ! Example of writing a simple XML file ! ! Note: ! This example uses the fairly low-level routine xml_put. ! In the near future the xmlreader program should be able ! to produce a writer routine automatically in much the ! same way as it can produce a reader routine from the ! ...
paulromano/xml-fortran
examples/writexml/writexml.f90
FORTRAN
bsd-3-clause
2,058
subroutine SHExpandDHC(grid, n, cilm, lmax, norm, sampling, csphase, & lmax_calc, exitstatus) !------------------------------------------------------------------------------ ! ! This routine will expand a grid containing N samples in both longitude ! and latitude (or N x 2N, see below) into s...
MarkWieczorek/SHTOOLS
src/SHExpandDHC.f95
FORTRAN
bsd-3-clause
24,841
! ! 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/winattrf90.f90
FORTRAN
bsd-3-clause
7,926
program volatile_doctest use penf_stringify use penf print "(A)", bstr(n=1_I2P) endprogram volatile_doctest
szaghi/IR_Precision
src/tests/penf_stringify/penf_stringify-doctest-83.f90
FORTRAN
mit
109
subroutine newnot ( break, coef, l, k, brknew, lnew, coefg ) c from * a practical guide to splines * by c. de boor c returns lnew+1 knots in brknew which are equidistributed on (a,b) c = (break(1),break(l+1)) wrto a certain monotone fctn g related to c the k-th root of the k-th derivative of the p...
ndarmage/pppack
src/pppack/f77/pages.cs.wisc.edu/deboor/pgs/newnot.f
FORTRAN
mit
4,883
program t integer::i(4) i(1)=1 i(2)=2 i(3)=3 i(4)=4 print '(i0)',i(2:3) end program t
thender/ppp
tests/t0126x/t.f
FORTRAN
apache-2.0
134
*> \brief \b DHSEQR * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DHSEQR + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dhseqr.f...
xianyi/OpenBLAS
lapack-netlib/SRC/dhseqr.f
FORTRAN
bsd-3-clause
18,653
*> \brief \b SORBDB5 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SORBDB5 + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/sorbdb...
buffer51/OpenBLAS
lapack-netlib/SRC/sorbdb5.f
FORTRAN
bsd-3-clause
7,265
SUBROUTINE SQLT01( M, N, A, AF, Q, L, LDA, TAU, WORK, LWORK, $ RWORK, RESULT ) * * -- LAPACK test routine (version 3.1) -- * Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. * November 2006 * * .. Scalar Arguments .. INTEGER LDA, LWORK, M, N * ...
shengren/magma-1.6.1
testing/lin/sqlt01.f
FORTRAN
bsd-3-clause
5,184
*> \brief \b DGEJSV * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DGEJSV + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dgejs...
zhmz90/OpenBLAS
lapack-netlib/SRC/dgejsv.f
FORTRAN
bsd-3-clause
72,388
*> \brief \b CERRTZ * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE CERRTZ( PATH, NUNIT ) * * .. Scalar Arguments .. * CHARACTER*3 PATH * INTEGER...
yaowee/libflame
lapack-test/3.5.0/LIN/cerrtz.f
FORTRAN
bsd-3-clause
4,021
*> \brief \b SCHKBL * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE SCHKBL( NIN, NOUT ) * * .. Scalar Arguments .. * INTEGER NIN, NOUT * .. *...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/EIG/schkbl.f
FORTRAN
bsd-3-clause
4,566
subroutine SHRead(filename, cilm, lmax, skip, header, error, exitstatus) !------------------------------------------------------------------------------ ! ! This subroutine will open an ascii file, and read in all of the ! spherical harmonic coefficients. If the option "header" ! is specified, then the first Leng...
ioshchepkov/SHTOOLS
src/SHRead.f95
FORTRAN
bsd-3-clause
6,506
PROGRAM test_abstraction8 USE mo_column_extra , ONLY: compute_one REAL :: q ( 1 : 20 , 1 : 60 ) REAL :: t ( 1 : 20 , 1 : 60 ) INTEGER :: nproma INTEGER :: nz INTEGER :: p nproma = 20 nz = 60 DO p = 1 , nproma , 1 q ( p , 1 ) = 0.0 t ( p , 1 ) = 0.0 END DO !$omp target data map(alloc:q(:,:),t(:,:)) !$omp ...
clementval/claw-compiler
test/claw/sca/forward_dependencies/reference_main_omp.f90
FORTRAN
bsd-2-clause
558
SUBROUTINE STIMRQ( LINE, NM, MVAL, NVAL, NK, KVAL, NNB, NBVAL, $ NXVAL, NLDA, LDAVAL, TIMMIN, A, TAU, B, WORK, $ RESLTS, LDR1, LDR2, LDR3, NOUT ) * * -- LAPACK timing routine (version 3.0) -- * Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., * Cou...
yaowee/libflame
lapack-test/lapack-timing/LIN/stimrq.f
FORTRAN
bsd-3-clause
16,666
*> \brief \b DDRVSX * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE DDRVSX( NSIZES, NN, NTYPES, DOTYPE, ISEED, THRESH, * NIUNIT, NOUNIT, A, LDA, H, ...
grisuthedragon/OpenBLAS
lapack-netlib/TESTING/EIG/ddrvsx.f
FORTRAN
bsd-3-clause
33,842
*> \brief <b> DGGSVD computes the singular value decomposition (SVD) for OTHER matrices</b> * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DGGSVD + dependencies *> <a href="http://www.netlib.org/...
LighthouseHPC/lighthouse
src/Dlighthouse/media/Doxygen/lapack/dggsvd.f
FORTRAN
mit
13,994
*> \brief \b SPFTRI * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SPFTRI + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/spftr...
LighthouseHPC/lighthouse
src/lighthouseProject/lighthouseProject/static/Doxygen/lapack/spftri.f
FORTRAN
mit
13,420
*> \brief \b DLATTR * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE DLATTR( IMAT, UPLO, TRANS, DIAG, ISEED, N, A, LDA, B, * WORK, INFO ) * * ...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/LIN/dlattr.f
FORTRAN
bsd-3-clause
22,378
*> \brief \b SBDT03 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE SBDT03( UPLO, N, KD, D, E, U, LDU, S, VT, LDVT, WORK, * RESID ) * * .. ...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/EIG/sbdt03.f
FORTRAN
bsd-3-clause
7,550
!------------------------------------------------------------------------------- ! Copyright (c) 2019 FrontISTR Commons ! This software is released under the MIT License, see LICENSE.txt !------------------------------------------------------------------------------- module hecmw_local_matrix use hecmw_util use he...
FrontISTR/FrontISTR
hecmw1/src/solver/matrix/hecmw_local_matrix.f90
FORTRAN
mit
120,168
! 7.53 ! Записать нули на места элементов, образованных пересечением главной и побочной диагоналей ! у верхних треугольных матрицы Z и Y program ex_7_53 implicit none integer, allocatable :: Z(:,:) integer :: In, Out, size_of_Z, i, column, k character(*), parameter :: output_file = "out...
taxnuke/fortranlabs
ex_7_53/src/ex_7_53.f90
FORTRAN
mit
992
great(h1,cc1). great(e1,aa1). great(u1,bb1). great(j1,y1). great(cc1,s1). great(a1,v1). great(c1,r1). great(d1,j1). great(d1,r1). great(c1,ll1). great(l1,z1). great(dd1,ll1). great(i1,v1). great(l1,ll1). great(r1,kk1). great(ee1,w1). great(kk1,aa1). great(c1,s1). great(a1,i1). great(g1,t1). great(ii1,v1). great(l1,a1)....
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_choline_0.3noisyOnTest/test6.f
FORTRAN
apache-2.0
961
C++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ C SOLVER : BiCG Stabilized 11.02.97 C (d'après Templates) C++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ C SUBROUTINE BICGSTAB(N, x, b, A, IA, JA, ALU, JLU, JU, # epsilon,it_m...
rboman/progs
student/tfe/BiCG/lib/bicgstab.for
FORTRAN
apache-2.0
3,220
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,h1). great_rsd(v1,ff...
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_scopolamine_noiseless/incremental6/test5.f
FORTRAN
apache-2.0
361
!< FURY test of [[qreal]]. module dBm_to_mW_converter !----------------------------------------------------------------------------------------------------------------------------------- !< Define the converter (user-supplied) from dBm to mW. !----------------------------------------------------------------------------...
szaghi/FURY
src/tests/fury_test_qreal_conversions_complex.f90
FORTRAN
bsd-2-clause
9,539
program t implicit none C inquire stmt 'delim' specifier (quote) c and character variable in open stmt character*10::a character*5::write='quote' open (56, status='new', file='tmpfile', delim=write) inquire (56, delim=a) print *,a close (56,status='delete') endprogr...
thender/ppp
tests/t0317x/t.f
FORTRAN
apache-2.0
325
program main use iso_c_binding, only: c_int, c_char, c_null_char, c_ptr use gzip, only: gzopen, gzwrite, gzclose implicit none character(kind=c_char,len=*), parameter :: path = & c_char_"test.gz"//c_null_char character(kind=c_char,len=*), parameter :: mode = & c_char_"wb9"//c_null_char inte...
thiblahute/meson
test cases/fortran/10 find library/main.f90
FORTRAN
apache-2.0
989
! ! This program does a correctness check for ! ARRAY = SCALAR and ARRAY = ARRAY ! program main implicit none integer, parameter :: n = 3 integer, parameter :: m = 4 ! Allocatable coarrays call one(-5, 1) call one(0, 0) call one(1, -5) call one(0, -11) ! Static coarrays call two() call three() ...
sourceryinstitute/opencoarrays
src/tests/unit/send-get/old_get_array_test.f90
FORTRAN
bsd-3-clause
9,853
MODULE version ! Choice of numerical schemes ! 1. Semi-Lagrangian treatment of phi, following ENDGame ! 2. Semi-Lagrangian treatment of phi, in a form that ! resembles the SLICE version as closely as possble ! 3. SLICE treatment of phi INTEGER, PARAMETER :: ischeme = 1 ! 0. C-grid correction to SLICE switched of...
pedrospeixoto/iModel
endgame/ref/eg_sw_ref_psp-tc5.f90
FORTRAN
mit
133,201
program test use FoX_wkml implicit none type(xmlf_t) :: myfile call kmlBeginFile(myfile, "test.xml", -1) call kmlCreateLine(myfile, (/10.0, 11.0, 12.0/), (/10.0, 11.0, 12.0/)) call kmlFinishFile(myfile) end program test
wilsonCernWq/Simula
fortran/utils/FoX-4.1.2/wkml/test/test_kmlCreateLine_1.f90
FORTRAN
mit
237
!-------------------------------------------------------------------------------------------------- ! MODULE : lib_update_edges ! DESCRIPTION : contains a function used to update edges ! ! Copyright (C) Novadiscovery. MIT !--------------------------------------------------------------------------------------------...
nodys/logml
templates/fortran_upd_edges.f95
FORTRAN
mit
821
!********************************************************************************************************************************** ! LICENSING ! Copyright (C) 2013 National Renewable Energy Laboratory ! ! This file is part of the NWTC Subroutine Library. ! ! Licensed under the Apache License, Version 2.0 (th...
NWTC/NWTC_Library
source/SysGnuLinux.f90
FORTRAN
apache-2.0
26,250
great(l1,jj1). great(jj1,r1). great(y1,b1). great(a1,m1). great(f1,w1). great(kk1,aa1). great(d1,r1). great(u1,t1). great(a1,p1). great(f1,ff1). great(l1,v1). great(ii1,i1). great(kk1,o1). great(e1,aa1). great(h1,ee1). great(kk1,p1). great(k1,i1). great(cc1,ee1). great(m1,ll1). great(kk1,ll1). great(f1,bb1). great(w1,o...
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_choline_noiseless/incremental7/test7.f
FORTRAN
apache-2.0
669
C*GRTRML -- get name of user's terminal (MS-DOS) C+ SUBROUTINE GRTRML(CTERM, LTERM) CHARACTER CTERM*(*) INTEGER LTERM C C Return the device name of the user's terminal, if any. C C Arguments: C CTERM : receives the terminal name, truncated or extended with C blanks as necessary....
RobinsonLab/pgplot
sys_salford/grtrml.f
FORTRAN
apache-2.0
641
!********************************************************************************************************************************** ! LICENSING ! Copyright (C) 2014 DNV KEMA Renewables, Inc. ! ! This file is part of the IceFloe suite of subroutines ! ! Licensed under the Apache License, Version 2.0 (the "License");...
OpenFAST/OpenFAST
modules/icefloe/src/interfaces/Console/IceFloe.f90
FORTRAN
apache-2.0
8,626
! RUN: %S/test_symbols.sh %s %flang %t !DEF: /m1 Module module m1 contains !DEF: /m1/foo_complex PUBLIC (Subroutine) Subprogram !DEF: /m1/foo_complex/z ObjectEntity COMPLEX(4) subroutine foo_complex (z) !REF: /m1/foo_complex/z complex z end subroutine end module !DEF: /m2 Module module m2 !REF: /m1 use :: m1 ...
endlessm/chromium-browser
third_party/llvm/flang/test/Semantics/symbol10.f90
FORTRAN
bsd-3-clause
961
MODULE mo_column CONTAINS FUNCTION compute_column ( nz , q , t , nproma ) RESULT(r) INTEGER , INTENT(IN) :: nproma INTEGER , INTENT(IN) :: nz REAL , INTENT(INOUT) :: t ( 1 : nz , 1 : nproma ) REAL , INTENT(INOUT) :: q ( : , : ) INTEGER :: k REAL :: c INTEGER :: r INTEGER :: proma !$omp target !$omp t...
clementval/claw-compiler
test/claw/sca/sca_forward_non_fct_field/reference_omp.f90
FORTRAN
bsd-2-clause
946
p r o g r a m t e s t realxray,zebra read(*,*) x ray,zebra i f ( xray . eq . zebra ) w r i t e(*,*) xray * $* zebra if( xray .e q. zebra) write(*,*) 'h e l l o ' / / ' t h e r e' if( xray / = zebra ) write(* , *) xray + zebra if( xray < zebra ) write(* ...
OS2World/DEV-FORTRAN-UTIL-ftnchek
test/embedded-space.f
FORTRAN
mit
348
SUBROUTINE RSP_ARGS( L_NAM, R_NAM ) !*********************************************************************** !* Gets the Response Program Inputs !* !* Language: Fortran !* !* Author: Stuart G. Mentzer !* !* Date: 1999/08/20 !*********************************************************************** ! Argume...
DeadParrot/NHTSA-Tools
src/lib/rsp_args.for
FORTRAN
mit
621
! ! libui-draw-text.f90 ! Fortran から libui を使う。 ! ! Author Yoji.Hosokawa 2016/4 ! ! gfortran -O2 -g -Wall -o libui-window libui-window.f90 -L.-lui `pkg-config gtk+-3.0 --libs` ! module handlers use iso_c_binding use libuif_structs use libuif implicit none type(c_ptr) :: mainwin; type(c_ptr) :: textSt...
hirohiro447/libuif
samples/libui-draw-text.f90
FORTRAN
mit
7,971
module m_prem implicit none integer, parameter :: DP = 8 contains !! ------------------------------------------------------------------------------------------ !! !> Return the modified PREM 1D velocity structure !! !! Compared to the original model of the Diewonski and Anderson (1981), the seawater la...
takuto-maeda/OpenSWPC
src/shared/m_prem.f90
FORTRAN
mit
5,098
SUBROUTINE SOLVER(N, L, U, X, M, EQUATN, LINEAR, CCODED, + MEVALF, MEVALG, MEVALH, MEVALC, MEVALJAC, MEVALHC, + PHASE0, EPS, CNORM, FLAG) ! This subroutine calls the user-supplied nonlinear programming ! solver, in order to solve the trust-region subproblems. The user ! who wants t...
fsobral/fird
solvers/trdf_algencan_solver.f
FORTRAN
mit
5,074
module MPISetupModule !------------------------------------------------------------------------------ ! Lagrangian Particle Method !------------------------------------------------------------------------------ !> @file !> Defines a class for handling parallelization via MPI for distributed memory architectures. !> @au...
pbosler/lpm-v2
src/MPISetup.f90
FORTRAN
mit
4,302
c----- CONMIN double precision version SUBROUTINE CONMIN (X,VLB,VUB,G,SCAL,DF,A,S,G1,G2,B,C,ISC,IC,MS1,N1 1,N2,N3,N4,N5) cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc c c revision history c double precision version for workstations c cccccccccccccccccccccccccccccccccccc...
DailyActie/Surrogate-Model
01-codes/OpenMDAO-Framework-dev/contrib/conmin/conmin.f
FORTRAN
mit
85,926
great(i1,x1). great(c1,a1). great(a1,o1). great(j1,aa1). great(h1,l1). great(ii1,ff1). great(bb1,x1). great(h1,t1). great(cc1,dd1). great(ff1,u1). great(ii1,s1). great(v1,ee1). great(g1,b1). great(d1,k1). great(ff1,ll1). great(r1,bb1). great(ii1,m1). great(u1,p1). great(hh1,l1). great(g1,o1). great(ii1,o1). great(z1,j1...
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_choline_noiseless/incremental6/test6.f
FORTRAN
apache-2.0
577
C-------GF 03.07.1980 ---------------------------------- B U C S INTEGER*2 BUCHIB INTEGER*2 BUCKET(XXBUCH) COMMON /BUCS/ = BUCHIB ! HIGH BOUND OF 'BUCKET' = ,BUCKET ! -> CHAIN OF SYMBOLS WITH SAME HASH-CODE
gfis/jextra
legacy/bofor_2005/BUCS.f
FORTRAN
apache-2.0
248
program volatile_doctest use vecfor_RPP type(vector) :: pt pt = ex + ey + ez print "(L1)", 1_I2P /= pt endprogram volatile_doctest
szaghi/VecFor
src/tests/vecfor_RPP/vecfor_RPP-doctest-111.f90
FORTRAN
bsd-2-clause
133
PROGRAM MAIN USE ISO_FORTRAN_ENV, ONLY : output_unit USE MPI IMPLICIT NONE INTEGER :: ncpu, my_rank, ierr CALL INIT_COMM() CALL SWAP_DOUBLE() CALL SWAP_INTEGER() CALL SWAP_MULTI_DOUBLE() CALL MPI_FINALIZE(ierr) CONTAINS SUBROUTINE SWAP_DOUBLE() IMPLICIT NONE ...
ResearchComputing/USGS_2017_03
MPI/Lab/session2/examples/messages_blocking.f90
FORTRAN
bsd-2-clause
7,384
program merge_day_overpass integer, parameter :: dx=3750, dy=3750 character(len=255) :: dir, list_files character(len=4) :: arg2, arg4 character(len=3) :: arg3 integer :: year, doy, yyyyddd character(len=1) :: arg5 integer :: nfiles character(len=4), allocatable :: times(:) integer :: status1 real, allocatable :: lst(...
bucricket/projectMASviirs
source/merge_day_night/merge_night_overpass_bt.f90
FORTRAN
bsd-3-clause
2,231
*> \brief \b DDRVSY_AA_2STAGE * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE DDRVSY_AA_2STAGE( * DOTYPE, NN, NVAL, NRHS, THRESH, TSTERR, NMAX, *...
kortschak/OpenBLAS
lapack-netlib/TESTING/LIN/ddrvsy_aa_2stage.f
FORTRAN
bsd-3-clause
15,343
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/cmdelb.f
FORTRAN
bsd-3-clause
8,593
subroutine res_dp(lanuse,numres,iplane,resdep) c c +++ PURPOSE +++ c This function computes total residue depth (for all residue c types) on a single Overland Flow Element (OFE). c It was originally incorporated into WINTER, but was split out c by Charles R. Meyer 6/7/96 to reduce code comple...
akrherz/idep
src/wepp2012-src/res_dp.for
FORTRAN
mit
3,966
subroutine Wigner3j(w3j, jmin, jmax, j2, j3, m1, m2, m3) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! This subroutine will calculate the Wigner 3j symbols ! ! j j2 j3 ! m1 m2 m3 ! ! for all allowable values of j. The returned values in the array j are ! cal...
pletnes/SHTOOLS
src/Wigner3j.f90
FORTRAN
bsd-3-clause
12,405
*> \brief \b CUNMTR * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CUNMTR + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/cunmtr.f...
grisuthedragon/OpenBLAS
lapack-netlib/SRC/cunmtr.f
FORTRAN
bsd-3-clause
8,857
*> \brief \b CGEQPF * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CGEQPF + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/cgeqpf.f...
buffer51/OpenBLAS
lapack-netlib/SRC/DEPRECATED/cgeqpf.f
FORTRAN
bsd-3-clause
9,026
*> \brief \b CHETRS_ROOK computes the solution to a system of linear equations A * X = B for HE matrices using factorization obtained with one of the bounded diagonal pivoting methods (max 2 interchanges) * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netl...
mverleg/1957
lib/lapack/chetrs_rook.f
FORTRAN
bsd-3-clause
14,718
!!<summary>Defines a trees class to be used for enumerating derivative structures at a fixed !!concentration.</summary> MODULE tree_class use combinatorics use group_theory use enumeration_types use arrow_related implicit none private public tree, write_single_labeling !!<summary>A "tree" object that ...
msg-byu/enumlib
src/tree_class.f90
FORTRAN
mit
41,337
c c Copyright (C) 1998-2001 Ljubomir Milanovic & Horst Wagner c This file is part of the g2 library c c This library is free software; you can redistribute it and/or c modify it under the terms of the GNU Lesser General Public c License as published by the Free Software Foundation; either c version 2.1 of the Li...
lauringlab/CodonShuffle
lib/ViennaRNA-2.1.9/RNAforester/g2-0.70/demo/g2_test.f
FORTRAN
mit
5,522
module energy !--------------------------------------------------------------------! ! energy related procedures ! !--------------------------------------------------------------------! ! 2010-11-03 Alexander Urban (AU) ! !----------...
alexurba/cftb
src/energy.f90
FORTRAN
mit
9,615
program pingpong_put implicit none integer iter, i, j, me, loop, trans_size(21), data_size, stride, last_element(21) integer t1, t2, t_rate, t_max double precision :: loc_buf(2097152), rmt_buf(2097152)[*], diff iter = 21 ! log2(2097152) -> 21 loop = 100 stride = 2 do i = 1, iter trans_size(i) = ...
mnakao/pingpong
NOW_IMPLEMENTING/CAF/caf_put.f90
FORTRAN
apache-2.0
1,644
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ! Sous-routines & fonctions matricielles élémentaires ! (Version SPARSE MATRIX) ! 17.11.96 !++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ! Calcule c = A * b (sparse matrix - CSR format) SUBROUTINE SMMV(N, A, IA, JA, b, c) implicit n...
rboman/progs
student/tfe/common/sparfun.f90
FORTRAN
apache-2.0
1,568
!||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| module initial !BOP ! !MODULE: intitial ! !DESCRIPTION: ! This module contains routines for initializing a POP simulation, ! mostly by calling individual initialization routines for each ! POP module. ! ! !REVISION HISTORY: ! CVS:$Id: initial.F...
app-on-mic/POP-2.0.1-opt
bench01opt_cpu_n1t1p1/compile/initial.f90
FORTRAN
bsd-2-clause
22,329
!################################################################################### ! ! FFV-C ! Frontflow / violet Cartesian ! ! ! Copyright (c) 2007-2011 VCAD System Research Program, RIKEN. ! All rights reserved. ! ! Copyright (c) 2011-2015 Institute of Industrial Science, The University of Tokyo. ! All rights reser...
so5/FFVC
src/F_CORE/unused.f90
FORTRAN
bsd-2-clause
3,852
! RUN: %B/test/Semantics/test_errors.sh %s %flang %t ! C815 An entity shall not be explicitly given any attribute more than once in ! a scoping unit. ! ! R1512 procedure-declaration-stmt -> ! PROCEDURE ( [proc-interface] ) [[, proc-attr-spec]... ::] ! proc-decl-list ! proc-attr-spec values are: ! P...
endlessm/chromium-browser
third_party/llvm/flang/test/Semantics/resolve82.f90
FORTRAN
bsd-3-clause
2,240
!> @file sirius.f90 !! @brief SIRIUS interface to Fortran module sirius use, intrinsic :: ISO_C_BINDING contains function string(f_string) result(res) implicit none character(len=*), intent(in) :: f_string character(len=1, kind=C_CHAR) :: res(len_trim(f_string) + 1) integer i do i = 1, len_trim(...
electronic-structure/sirius
src/api/sirius.f90
FORTRAN
bsd-2-clause
619
*> \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...
xianyi/OpenBLAS
lapack-netlib/SRC/cheevr_2stage.f
FORTRAN
bsd-3-clause
28,338
subroutine MakeGravGradGridDH(cilm, lmax, gm, r0, a, f, vxx, vyy, vzz, vxy, & vxz, vyz, n, sampling, lmax_calc) !------------------------------------------------------------------------------- ! ! Given the gravitational spherical harmonic coefficients CILM, this ! subroutine will c...
pochoi/SHTOOLS
src/MakeGravGradGridDH.f95
FORTRAN
bsd-3-clause
52,882