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 |
|---|---|---|---|---|---|
C LAST UPDATE 22/04/97
C+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
C
PROGRAM FIT
IMPLICIT NONE
C
C Purpose: Opens files, does line plots and peak fits.
C
C Calls 11: GETHDR , OPNFIL , OUTFIL , OPNNEW , ASK , PAPER ,
C PSPACE , FILNAM , FPLOT , FRAME , GREND ... | scattering-central/CCP13 | software/fit/FIT.f | FORTRAN | bsd-3-clause | 19,075 |
C
C
*+ mapcat_verify
subroutine mapcat_verify(status)
C --------------------------------
C
C Verify the map catalogue
C
C Returned:
C Status
integer status
C
*-
include 'mapcat_cat.inc'
include '/mrao/include/chrlib_functions.inc'
include '/mrao/include/iolib_constan... | CavendishAstrophysics/anmap | mapcat/mapcat_verify.f | FORTRAN | bsd-3-clause | 1,120 |
!
! This file is released under terms of BSD license
! See LICENSE file for more information
!
module mod4
use mod5
end module mod4
| clementval/claw-compiler | test/driver/multiple_dependencies_with_subfolder/mod4.f90 | FORTRAN | bsd-2-clause | 135 |
*> \brief \b ZGEQP3
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download ZGEQP3 + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zgeqp... | mverleg/1957 | lib/lapack/zgeqp3.f | FORTRAN | bsd-3-clause | 10,524 |
*> \brief \b CHERFSX
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CHERFSX + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/che... | LighthouseHPC/lighthouse | src/lighthouseProject/lighthouseProject/static/Doxygen/lapack/cherfsx.f | FORTRAN | mit | 26,605 |
*> \brief \b CHETRS
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CHETRS + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/chetr... | LighthouseHPC/lighthouse | src/lighthouseProject/lighthouseProject/static/Doxygen/lapack/chetrs.f | FORTRAN | mit | 13,471 |
module Emp_Process
use Environment
use Emp_IO
implicit none
contains
! Функция для вытягивания профессий и их обработки
pure function Process_Occupations_From(EmployeeList) result(OccupationList)
intent(in) :: EmployeeList
type(employee) :: EmployeeList
type(occupation),... | taxnuke/fortranlabs | lab_1_5/src/emp_process.f90 | FORTRAN | mit | 4,835 |
C-----CALCULATION OF THE BOUND-FREE ABSORPTION COEFFICIENT
REAL*4 FUNCTION AHYDBF(DIVTE,WLAM,Z,EMI)
REAL*8 WLAM,WLAMZ
REAL*4 GAUNT(7),GHBF1(5,3),GHBF2(5),DIVTE,Z,EMI
DATA GAUNT/7*1./
DATA GHBF1/
* 1.105,1.101,1.101,1.102,1.099,
* -7.922E-05,-3.290E-05,-1.923E-05... | andycasey/original-oracle | oracle/si/code/ahydbf.f | FORTRAN | mit | 1,952 |
module linearsolvers
implicit none
integer,parameter :: ndf=2 !number of degrees of freedom
integer,parameter :: dimen=1 !dimention of problem
integer,parameter::inp=1 !input file
integer,parameter::out=2 !output file
integer,parameter::msh=3 !mesh file
integer,parameter::bnd=4 !... | amirsmol/finite_element_method_1D_piezoe_electric | driver/linearsolvers.f90 | FORTRAN | mit | 36,918 |
module SubroutineWithArgsPtrMod
use iso_c_binding
implicit none
public :: SubroutineWithArgsPtr
contains
subroutine SubroutineWithArgsPtr(int1, double1, int2, ptr1) bind(c, name="SubroutineWithArgsPtr")
integer(kind=c_int), value :: int1
real*8, intent(in) :: double1
integer, value ... | sharifmarat/fortran_to_c_headers | test/resources/subroutine_with_args/in2.f90 | FORTRAN | mit | 499 |
!**********************************************************************************************************************************
! The HydroDyn and HydroDyn_Types modules make up a template for creating user-defined calculations in the FAST Modularization
! Framework. HydroDyns_Types will be auto-generated based ... | NWTC/FAST | Source/dependencies/HydroDyn/HydroDyn.f90 | FORTRAN | apache-2.0 | 121,489 |
C**********************************************************************
C*** ***
C*** THIS PROGRAM CALCULATES ***
C*** THE TOTAL CROSS-SECTION AND DISTRIBUTIONS ***
C*** FOR SQUARK-ANTISQUARK PROD... | sliem/docker-hep | prospino/on_the_web_10_17_14/Pro2_sq_gl/not_used/totalsb.f | FORTRAN | apache-2.0 | 4,709 |
!COMPILER-GENERATED INTERFACE MODULE: Wed Oct 22 18:41:06 2014
MODULE DGSVJ0__genmod
INTERFACE
SUBROUTINE DGSVJ0(JOBV,M,N,A,LDA,D,SVA,MV,V,LDV,EPS,SFMIN, &
&TOL,NSWEEP,WORK,LWORK,INFO)
INTEGER(KIND=4) :: LWORK
INTEGER(KIND=4) :: LDV
... | jiangmi/DQMC_PAM_dilute | LAPACK/dgsvj0__genmod.f90 | FORTRAN | bsd-2-clause | 955 |
*> \brief \b CSYMV
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CSYMV + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/csymv.f... | jmfranck/pyspecdata | lapack-3.4.0/SRC/csymv.f | FORTRAN | bsd-3-clause | 9,906 |
! $UWHPSC/codes/adaptive_quadrature/openmp2/testquad.f90
! Test the quadrature module.
program main
use omp_lib
use adapquad_mod ! defines adapquad
use functions_mod ! defines g and gint, and gcounter
use evalfunc_mod ! defines evalfunc
real(kind=8) :: a, b, int_approx, int_true, tol, err... | philipwangdk/HPC | uwhpsc/codes/adaptive_quadrature/openmp2/testquad.f90 | FORTRAN | mit | 1,676 |
function nitems(line) result(number)
implicit none
character(*),intent(in) ::line
integer :: number
integer :: icount,lineLen,icmax
! figure out number of numbers seperated by blank in line
lineLen=len(line)
number = 0
icount = 0
icmax = len(line)
icloop: do
icount = icount+1
if... | chsolis/GlobalCurve | utilities/nitems.f90 | FORTRAN | apache-2.0 | 766 |
subroutine foo(a, n, m, b)
implicit none
real, intent(in) :: a(n, m)
integer, intent(in) :: n, m
real, intent(out) :: b(size(a, 1))
integer :: i
do i = 1, size(b)
b(i) = sum(a(i,:))
enddo
end subroutine
subroutine trans(x,y)
implicit none
real, intent(in), dimension(:,:) :: x
real, intent(o... | speedious/Monty-Hall-Game | windows_executable/build/exe.win-amd64-2.7/numpy/f2py/tests/src/size/foo.f90 | FORTRAN | mit | 815 |
program main
use test, only: test_value
use io, only: stdout
use solver, only: solve_dsysv
use misfit
implicit none
integer :: i, j
double precision :: obs(9), pre(9), cov_diag(9), cov(9,9), rms, chi2
obs(1) = 5.79834d0
obs(2) = 28.6228d0
obs(3) = 9.57282d0
obs(4) = 39.1214d0
obs(5) = 38.0307d0
obs(6) = 21.6525d0
... | mherman09/Hdef | src/unit_test_misfit.f90 | FORTRAN | mit | 1,345 |
*> \brief \b CLARF applies an elementary reflector to a general rectangular matrix.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CLARF + dependencies
*> <a href="http://www.netlib.org/cgi-bin/n... | rangsimanketkaew/NWChem | src/lapack/single/clarf.f | FORTRAN | mit | 6,369 |
SUBROUTINE GF (ZK,CO,SI)
C
C GF COMPUTES THE INTEGRAND EXP(JKR)/(KR) FOR NUMERICAL INTEGRATION.
C
COMMON /TMI/ ZPK,RKB2,IJ
ZDK=ZK-ZPK
RK=SQRT(RKB2+ZDK*ZDK)
SI=SIN(RK)/RK
IF (IJ) 1,2,1
1 CO=COS(RK)/RK
RETURN
2 IF (RK.LT..2) GO TO 3
CO=(COS(RK)-1.)/RK
RETU... | ViperScience/ViperNEC | NEC2/src/nec/gf.f | FORTRAN | apache-2.0 | 417 |
PROGRAM FSCORR
PARAMETER (NHX=200)
REAL H(NHX), M(NHX), LSQ(NHX), FUN(NHX), FCORR(NHX)
REAL X(NHX), Y(NHX), Z(NHX)
C
IDEV = 6
SIZE = 8.0
CH = 0.02
C
HMAX = 10.0
DH = 1.0
C
FMAX = 0.5
DF = 0.1
C
PAR = 0.75
C
HWT = 1.0/HMAX
FWT = PAR/FMAX... | google/makani | third_party/xfoil/orrs/src/fscorr.f | FORTRAN | apache-2.0 | 1,725 |
C ZAP: zap a specified range of a spectrum
C
implicit NONE
C
C
C Multi column data are handled. The spectral file is flipped so that the
C pixel order is reversed. The x-column remains unchanged.
C
C
C Parameters:
C outfile == output file name
C infile == input file name
C title ... | CavendishAstrophysics/anmap | spec_tools/sp_zap.f | FORTRAN | bsd-3-clause | 5,102 |
!
! 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_domain
use mod_precision,only:rk => realkind
use mod_spectrum,only:spectrum_type
use mod_spectral_s... | wavebitscientific/wavy | src/tests/unit/test_domain.f90 | FORTRAN | bsd-3-clause | 3,711 |
*> \brief \b DLANGB
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download DLANGB + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlang... | jmfranck/pyspecdata | lapack-3.4.0/SRC/dlangb.f | FORTRAN | bsd-3-clause | 6,229 |
SUBROUTINE loop3_F90(N, x, y, a)
INTEGER i, N
REAL*8 x(N), y(N), a
y = y + a*x
RETURN
END
SUBROUTINE loop3_F90Overhead(N, x, y, a)
INTEGER i, N
REAL*8 x(N), y(N), a
RETURN
END
| MSV-Project/IBAMR | ibtk/third_party/blitz-0.10/benchmarks/loop3f90.f90 | FORTRAN | bsd-3-clause | 247 |
SUBROUTINE ZCHKPS( DOTYPE, NN, NVAL, NNB, NBVAL, NRANK, RANKVAL,
$ THRESH, TSTERR, NMAX, A, AFAC, PERM, PIV, WORK,
$ RWORK, NOUT )
*
* -- LAPACK test routine (version 3.2.1) --
* Craig Lucas, University of Manchester / NAG Ltd.
* -- April 2009
*
* .. Scal... | shengren/magma-1.6.1 | testing/lin/zchkps.f | FORTRAN | bsd-3-clause | 8,465 |
* $Id$
C
C
C
FUNCTION GAUSS3(F,A,B,EPS)
EXTERNAL F
DIMENSION W(12),X(12)
DATA CONST/1.0E-12/
DATA W/0.1012285,.2223810,.3137067,.3623838,.0271525,
& .0622535,0.0951585,.1246290,.1495960,.1691565,
& .1826034,.1894506/
DATA X/0.9602899,.7966665,.5255324,.1834346,.9894009,
& .9... | alisw/AliRoot | TAmpt/AMPT/gauss3.f | FORTRAN | bsd-3-clause | 873 |
subroutine ewfind
c******************************************************************************
c This routine predicts equivalent widths for individual atomic lines
c******************************************************************************
implicit real*8 (a-h,o-z)
include 'Atmos.com'
... | msotov/SPECIES | MOOGFEB2017/Ewfind.f | FORTRAN | mit | 6,777 |
program helloworld
print *, "Hello, world."
end program helloworld
| jschairb/foortran | spec/support/src/helloworld.f90 | FORTRAN | mit | 73 |
great_ne(t1,v1).
great_ne(x1,a1).
great_ne(jj1,ii1).
great_ne(w1,h1).
great_ne(w1,i1).
great_ne(hh1,y1).
great_ne(p1,i1).
great_ne(jj1,c1).
great_ne(ee1,f1).
great_ne(hh1,v1).
great_ne(cc1,i1).
great_ne(b1,a1).
great_ne(ee1,b1).
great_ne(t1,i1).
great_ne(cc1,h1).
great_ne(t1,h1).
great_ne(t1,aa1).
great_ne(t1,f1).
grea... | manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_anime_0.2noisy/test4.f | FORTRAN | apache-2.0 | 600 |
subroutine bdm
c - to vary the number of quadratures
include "paramdef.inc"
integer nquad
common /num_quad/ nquad
real ph,qh,uh
common /sixs_aerbas/ ph(20,nqmax_p),qh(20,nqmax_p),uh(20,nqmax_p)
real phr(20,nqdef_p),qhr(20,nqdef_p),uhr(20,nqdef_p)
c - to vary the number of qu... | orfeotoolbox/OTB | Modules/ThirdParty/6S/src/6SV1.0B/BDM.f | FORTRAN | apache-2.0 | 69,841 |
! ipc_file.f90 --
! Simple method for inter-process communication via file I/O
!
! ipc_file --
! Module for IPC via file I/O
!
! NOTES:
! Start in separet DOS-boxes
! Order of starting important - right now!
!
module ipc_file
use dflib ! Hm, compiler-dependency here!
implicit none
type ipc... | mapmeld/fortran-machine | flibs-0.9/flibs/src/ipc/ipc_file.f90 | FORTRAN | bsd-3-clause | 8,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/applications/ex2ex1v2/ex2_dboeb1.f | FORTRAN | bsd-3-clause | 3,563 |
subroutine calc_curvature_gradient()
! use deriv_data to calculate the gradient and curvature
! it is assumed that calc_chi_sqr has already been called and produced the residuals
! that are used to calculate the gradient.
use h_vars
use h_params ! default
use h_struct
use h_routines, only : expt_fit
implic... | RobinsonLab/GlobalCurve | routines/calc_curvature_gradient.f90 | FORTRAN | apache-2.0 | 2,719 |
! ========================================================================
! <copyright>
! This file is provided under a dual BSD/GPLv2 license. When using or
! redistributing this file, you may do so under either license.
!
! GPL LICENSE SUMMARY
!
! Copyright (c) 2005-2014 Intel Corporation. All rights reserved.
... | shwetasshinde24/Panoply | patched-driver-sdk/customSDK/external/vtune/linux/include/ittnotify.f90 | FORTRAN | apache-2.0 | 22,808 |
*> \brief <b> CHBEVD_2STAGE computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices</b>
*
* @generated from zhbevd_2stage.f, fortran z -> c, Sat Nov 5 23:18:17 2016
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.net... | grisuthedragon/OpenBLAS | lapack-netlib/SRC/chbevd_2stage.f | FORTRAN | bsd-3-clause | 15,607 |
*> \brief \b SDRVRF1
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE SDRVRF1( NOUT, NN, NVAL, THRESH, A, LDA, ARF, WORK )
*
* .. Scalar Arguments ..
* INTEGER ... | grisuthedragon/OpenBLAS | lapack-netlib/TESTING/LIN/sdrvrf1.f | FORTRAN | bsd-3-clause | 8,041 |
!!!!!!!!!!!!!!!!!!!!!!!!!!! Program 2.4 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! !
! Please Note: !
! ... | ucam-cl-dtg/naps-camfort | samples/book/two/code24.f90 | FORTRAN | mit | 2,206 |
program loopELC
c
c May 10, 2001
c
c This program will read in the light curves and parameters specified
c in the 'gridloop.opt' file and generate random sets of parameters and
c compute the chi^2 for each point.
c
c
c UPDATE January 15, 2002
c
c Update the code so that alb1 and alb2 can be adjus... | mrawls/ELCtools | ELC/randomELC.for | FORTRAN | mit | 47,799 |
COMPLEX FUNCTION FBAR(P)
C
C FBAR IS SOMMERFELD ATTENUATION FUNCTION FOR NUMERICAL DISTANCE P
C
COMPLEX Z,ZS,SUM,POW,TERM,P,FJ
DIMENSION FJX(2)
EQUIVALENCE (FJ,FJX)
DATA TOSP/1.128379167/,ACCS/1.E-12/,SP/1.772453851/,FJX/0.,1./
Z=FJ*CSQRT(P)
IF (CABS(Z).GT.3.) GO TO 3
C
C ... | ViperScience/ViperNEC | NEC2/src/nec/fbar.f | FORTRAN | apache-2.0 | 962 |
great(l1,n1).
great(j1,m1).
great(h1,ff1).
great(f1,i1).
great(ii1,b1).
great(d1,p1).
great(p1,ll1).
great(q1,dd1).
great(z1,r1).
great(j1,ll1).
great(c1,z1).
great(e1,i1).
great(dd1,t1).
great(jj1,ff1).
great(o1,ll1).
great(j1,p1).
great(l1,r1).
great(u1,o1).
great(d1,b1).
great(g1,y1).
great(q1,y1).
great(g1,j1).
gre... | manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_choline_noiseless/incremental8/test2.f | FORTRAN | apache-2.0 | 757 |
C av00 01-mar-02 First compile with Gnu77 compiler for windows
C (Thanks to Raymond Anderson for letting me know
C about this compiler and doing initial compilations)
C av01 14-mar-02 Var PI not used in routine GWAVE
C av02 14-mar-02 Sub SECOND already intrinsic function
C av03 15-mar-02 Multiple changes to ... | ViperScience/ViperNEC | F2c/nec2dxs/nec2dxs.f | FORTRAN | apache-2.0 | 293,916 |
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/mrftb1.f | FORTRAN | bsd-2-clause | 3,017 |
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/prelb.f | FORTRAN | bsd-3-clause | 7,863 |
! RUN: %S/test_errors.sh %s %t %f18
module m2
public s2, s4
private s3
contains
subroutine s2
end
subroutine s3
end
subroutine s4
end
end module
module m
use m2
external bar
interface
subroutine foo
end subroutine
end interface
integer :: i
type t1
integer :: c
contains
!E... | google/llvm-propeller | flang/test/Semantics/resolve32.f90 | FORTRAN | apache-2.0 | 2,400 |
C**********************************************************************
C***
C*** THIS ARE THE FUNCTIONS FOR THE SQUARK-SQUARK PROCESS
C***
C**********************************************************************
REAL*8 FUNCTION DSSQQ1(ALPHAS,S,T1,MS,MG,SCA,IFL)
C*** GIVES THE SCALE DEPENDENCE OF VIRTUAL
C*** S... | sliem/docker-hep | prospino/on_the_web_10_17_14/Pro2_sq_gl/matrixss.f | FORTRAN | apache-2.0 | 430,850 |
C Subroutine VQUART
C
C This software is part of the GLOW model. Use is governed by the Open Source
C Academic Research License Agreement contained in the file glowlicense.txt.
C For more information see the file glow.txt.
C
C TGCM routine obtained from C. Ridley, 9/88.
C Modified by Stan Solomon, 11/88, 5/91.
C
C Det... | dpawlows/MGITM | srcGlow/vquart.f | FORTRAN | mit | 1,928 |
module ModExtras
integer, parameter :: GSM_ = 1
integer, parameter :: GSE_ = 2
logical :: north = .true.
integer, parameter :: MaxInputLines=1000
end module ModExtras
| dpawlows/MGITM | util/EMPIRICAL/srcIE/ModExtras.f90 | FORTRAN | mit | 180 |
!
!>input hamiltonian from file
!
subroutine input_hamiltonian(file_name,hop,rvec,nr,no,inflag)
implicit none
integer(4),intent(in):: nr,no,inflag
real(8),intent(out):: rvec(3,nr)
complex(8),intent(out):: hop(nr,no,no)
character(len=*),intent(in):: file_na... | ktszk/ham_input | Fortran/input_ham.f90 | FORTRAN | mit | 3,277 |
function checkStaciPropertyFile(){
if [ ! -f $STACI_HOME/conf/staci.properties ]; then
echo "Error : You need to create conf/staci.properties from conf/staci.properties.template"
exit 0
fi
}
check_docker_dependencies() {
local check_result=0
local supported_docker_version="1.11.1"
local supported_doc... | Praqma/staci | functions/system.f | FORTRAN | mit | 2,290 |
! This file created from test/mpi/f77/coll/alltoallvf.f with f77tof90
! -*- Mode: Fortran; -*-
!
! (C) 2011 by Argonne National Laboratory.
! See COPYRIGHT in top-level directory.
!
program main
use mpi_f08
integer ierr, errs
integer i, ans, size, rank, color
TYPE(MPI_Comm) comm, new... | syftalent/dist-sys-exercises-1 | lec-6/mpi/mpich-3.1.4/test/mpi/f08/coll/alltoallvf08.f90 | FORTRAN | mit | 4,699 |
let Char :* = Int;; /* unicode */
datatype String =
Null of (u:Unit)
| Cons of (x:Char) (r:String)
;;
datatype Regexp =
AnyChar of (u:Unit)
| Alphanum of (u:Unit)
| Kleene of (r:Regexp)
| Concat of (x:Regexp) (y:Regexp)
| Or of (x:Regexp) (y:Regexp)
| Empty of (u:Unit)
;;
let isAlphaNum (c:Char) ... | ucsc-proglang/sage | tests/bad/regexp.5.f | FORTRAN | apache-2.0 | 2,916 |
program volatile_doctest
use vecfor_R8P
type(vector_R8P) :: pt(0:2)
pt(1) = 1 * ex_R8P + 1 * ey_R8P + 1 * ez_R8P
pt(2) = pt(1) + 1
pt(0) = pt(1) / pt(2)
print "(3(F3.1,1X))", abs(pt(0)%x), abs(pt(0)%y), abs(pt(0)%z)
endprogram volatile_doctest | szaghi/VecFor | src/tests/vecfor_R8P/vecfor_R8P-doctest-59.f90 | FORTRAN | bsd-2-clause | 248 |
C COMPUTATION OF SPECIAL FUNCTIONS
C
C Shanjie Zhang and Jianming Jin
C
C Copyrighted but permission granted to use code in programs.
C Buy their book "Computation of Special Functions", 1996, John Wiley & Sons, Inc.
C
C Scipy changes:
C - Compiled into a single source file and ch... | gertingold/scipy | scipy/special/specfun/specfun.f | FORTRAN | bsd-3-clause | 384,413 |
C Copyright (c) 2005-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, a... | nschloe/seacas | packages/seacas/libraries/chaco/tinvit/tinvit.f | FORTRAN | bsd-3-clause | 9,336 |
*> \brief \b CLA_GBRCOND_X computes the infinity norm condition number of op(A)*diag(x) for general banded matrices.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CLA_GBRCOND_X + dependencies
*> <a... | xianyi/OpenBLAS | lapack-netlib/SRC/cla_gbrcond_x.f | FORTRAN | bsd-3-clause | 8,849 |
<ompts:test>
<ompts:testdescription>Test which checks that the omp_get_num_threads returns the correct number of threads. Therefor it counts up a variable in a parallelized section and compars this value with the result of the omp_get_num_threads function.</ompts:testdescription>
<ompts:ompversion>2.0</ompts:ompversion... | dededong/goblin-core | riscv/riscv-omp/testsuite/fortran/omp_get_num_threads.f | FORTRAN | bsd-3-clause | 1,271 |
*> \brief <b> SGGEV3 computes the eigenvalues and, optionally, the left and/or right eigenvectors for GE matrices (blocked algorithm)</b>
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SGGEV3 + depe... | mverleg/1957 | lib/lapack/sggev3.f | FORTRAN | bsd-3-clause | 18,961 |
SUBROUTINE TG01JD( JOB, SYSTYP, EQUIL, N, M, P, A, LDA, E, LDE,
$ B, LDB, C, LDC, NR, INFRED, TOL, 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 find a reduced (controllable... | bgin/MissileSimulation | External/SLICOT/TG01JD.f | FORTRAN | mit | 23,101 |
module metodosLineales
contains
!-------------------------------------------------------------
!--------Friccion1Pto-----------------------------------------
!-------------------------------------------------------------
function friccion1Pto(ksd, Re,semilla_f)
implicit ... | Athesto/Design_Pipes | src/_m2metodosLineales.f90 | FORTRAN | mit | 4,709 |
C MODULE PREPROC
C CONTAINS
C23456789012345678901234567890123456789012345678901234567890123456789012
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
C C
C SUBROUTINE NODINP ... | jgomezc1/WAVES | SOURCE/preproc.for | FORTRAN | mit | 16,709 |
program main
!*****************************************************************************80
!
!! MAIN is the main program for CHEBYSHEV_INTERP_1D_PRB.
!
! Discussion:
!
! CHEBYSHEV_INTERP_1D_PRB tests the CHEBYSHEV_INTERP_1D library.
!
! Licensing:
!
! This code is distributed under the GNU LGPL license.
!
!... | ndarmage/pppack | src/chebyshev_interp_1d/f90/chebyshev_interp_1d_prb.f90 | FORTRAN | mit | 33,818 |
module orthogonalization
use, intrinsic :: iso_fortran_env, only: rk => real64
use prep, only: equals0
implicit none
real(rk), parameter :: GS_MIN = 1.0e-9
contains
subroutine gs_modify(A, n, p)
!classical gs only modifying A to be the end result
!A: n x p n is ... | mingtongh/csfcal | orthogonalization_dispmsg.f90 | FORTRAN | mit | 4,063 |
SUBROUTINE CGBTRF_F95( A, K, M, IPIV, RCOND, NORM, INFO )
!
! -- LAPACK95 interface driver routine (version 3.0) --
! UNI-C, Denmark; Univ. of Tennessee, USA; NAG Ltd., UK
! September, 2000
!
! .. USE STATEMENTS ..
USE LA_PRECISION, ONLY: WP => SP
USE LA_AUXMOD, ONLY: LSAME, ERINFO
USE... | sradanov/flyingpigeon | flyingpigeon/Fsrc/Lapack95/SRC/la_cgbtrf.f90 | FORTRAN | apache-2.0 | 4,016 |
great(bb1,s1).
great(ii1,j1).
great(ii1,h1).
great(e1,cc1).
great(h1,m1).
great(u1,x1).
great(e1,q1).
great(y1,dd1).
great(j1,jj1).
great(z1,bb1).
great(jj1,u1).
great(g1,ee1).
great(c1,o1).
great(u1,m1).
great(hh1,k1).
great(z1,ee1).
great(ii1,cc1).
great(x1,s1).
great(j1,u1).
great(ii1,x1).
great(hh1,v1).
great(jj1,x... | manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_choline_0.1noisyOnTest/test3.f | FORTRAN | apache-2.0 | 971 |
great_rsd(f1,m1).
great_rsd(aa1,k1).
great_rsd(h1,dd1).
great_rsd(kk1,x1).
great_rsd(e1,l1).
great_rsd(u1,ee1).
great_rsd(f1,kk1).
great_rsd(u1,aa1).
great_rsd(q1,x1).
great_rsd(hh1,l1).
great_rsd(t1,q1).
great_rsd(a1,k1).
great_rsd(k1,z1).
great_rsd(ii1,x1).
great_rsd(u1,h1).
great_rsd(e1,g1).
great_rsd(t1,x1).
great_... | manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_scopolamine_noiseless/train3.f | FORTRAN | apache-2.0 | 5,401 |
great_ne(jj1,bb1).
great_ne(z1,p1).
great_ne(bb1,h1).
great_ne(ee1,m1).
great_ne(cc1,b1).
great_ne(dd1,a1).
great_ne(y1,b1).
great_ne(k1,b1).
great_ne(y1,h1).
great_ne(q1,kk1).
great_ne(ee1,hh1).
great_ne(bb1,m1).
great_ne(cc1,dd1).
great_ne(z1,ee1).
great_ne(k1,ii1).
great_ne(kk1,y1).
great_ne(cc1,hh1).
great_ne(kk1,h... | manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_amine_0.3noisyOnTest/test2.f | FORTRAN | apache-2.0 | 749 |
c$Header: /data/petsun4/data1/src_solaris/interp_4dfp/RCS/pbutt1d.f,v 1.2 2011/02/06 08:27:52 avi Exp $
c$Log: pbutt1d.f,v $
c Revision 1.2 2011/02/06 08:27:52 avi
c subroutine pbutt1dbs()
c gcc compatible format statements
c
c Revision 1.1 2011/02/06 07:21:45 avi
c Initial revision
c
subroutine pbutt1d_rcs... | ysu001/PUP | 4dfp/interp_4dfp/pbutt1d.f | FORTRAN | bsd-3-clause | 5,421 |
! This file created from test/mpi/f77/pt2pt/greqf.f with f77tof90
! -*- Mode: Fortran; -*-
!
! (C) 2003 by Argonne National Laboratory.
! See COPYRIGHT in top-level directory.
!
subroutine query_fn( extrastate, status, ierr )
use mpi
integer status(MPI_STATUS_SIZE), ierr
integer (kind=MPI... | gnu3ra/SCC15HPCRepast | INSTALLATION/mpich2-1.4.1p1/test/mpi/f90/pt2pt/greqf90.f90 | FORTRAN | bsd-3-clause | 3,574 |
SUBROUTINE GDSWIZ03(KGDS,IOPT,NPTS,FILL,XPTS,YPTS,RLON,RLAT,NRET,
& LROT,CROT,SROT)
C$$$ SUBPROGRAM DOCUMENTATION BLOCK
C
C SUBPROGRAM: GDSWIZ03 GDS WIZARD FOR LAMBERT CONFORMAL CONICAL
C PRGMMR: IREDELL ORG: W/NMC23 DATE: 96-04-10
C
C ABSTRACT: THIS SUBPROGRAM DECODES TH... | AerodyneLabs/Stratocast | grib2/iplib_hwrf/gdswiz03.f | FORTRAN | bsd-3-clause | 7,591 |
!
!
!
FUNCTION SINDD(ALFA)
implicit NONE
!
! --- Assuming that ALFA is given in DEGREES, it returns the SINE of ALFA
! *********************** GS and FC 11-02-2009 **********************
!
REAL*8, PARAMETER :: PI=3.14159265358979323840D0
REAL*8 SINDD, ALFA, ALFARAD
ALFARAD=ALFA*PI/180D0
SINDD=SIN(ALF... | geodynamics/selen | src/sindd.f90 | FORTRAN | bsd-3-clause | 355 |
subroutine sedist(dslost)
c****************************************************************
c *
c This subroutine is called from SR SEDSEG and creats a re- *
c presentative hillslope profile(sediment load, x-distance, *
c delta x) from overlan... | akrherz/idep | src/wepp2012-src/sedist.for | FORTRAN | mit | 4,262 |
SUBROUTINE four_step_derivs(t,x,f)
USE nrtype
use h_routine_specific_vars
! intent(out): f_plus
IMPLICIT NONE
REAL(SP), INTENT(IN) :: t
REAL(SP), DIMENSION(:), INTENT(IN) :: x
REAL(SP), DIMENSION(:), INTENT(OUT) :: f
! real(sp) :: p_0
! p_0=x(3)+x(4) ! here we assume that sum(x)=1 i.e. x's are no... | RobinsonLab/GlobalCurve | models/physiology/four_step_A_M/four_step_model.f90 | FORTRAN | apache-2.0 | 1,460 |
C Siconos-Numerics, Copyright INRIA 2005-2018.
C Siconos is a program dedicated to modeling, simulation and control
C of non smooth dynamical systems.
C Siconos is a free software; you can redistribute it and/or modify
C it under the terms of the GNU Lesser General Public License as published by
C the Free Software Fo... | fperignon/siconos | externals/netlib/odepack/test/DLSODPK-test.f | FORTRAN | apache-2.0 | 30,429 |
subroutine ludcmp(a,n,np,indx,d)
implicit real*4 (a-h,o-z)
include 'PARAMETER' !por nmax==kn
c parameter (nmax=100,tiny=1.0d-20)
c dimension a(np,np),indx(n),vv(nmax)
parameter (tiny=1.0d-20)
dimension a(np,np),indx(n),vv(kn)
d=1.d0
do 12 i=1,n
aamax=0.d0
... | aasensio/pySIR | pysir/src/ludcmp.f | FORTRAN | mit | 1,693 |
! PR fortran/21730
! { dg-do run }
character*2 a
character*4 b
character*6 c
parameter (a="12")
parameter (b = a)
write (c,'("#",A,"#")') b
if (c .ne. '#12 #') call abort
end
| shaotuanchen/sunflower_exp | tools/source/gcc-4.2.4/gcc/testsuite/gfortran.dg/pr21730.f | FORTRAN | bsd-3-clause | 225 |
! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
! * *
! * copyright (c) 2011 by UCAR *
! * *
! * University Corpora... | jlokimlin/modern_fftpack | test/tsint1.f90 | FORTRAN | mit | 5,366 |
less_toxic(ff1,cc1).
less_toxic(ii1,dd1).
less_toxic(ii1,aa1).
less_toxic(g1,h1).
less_toxic(y1,jj1).
less_toxic(kk1,cc1).
less_toxic(o1,b1).
less_toxic(ii1,cc1).
less_toxic(t1,d1).
less_toxic(r1,w1).
less_toxic(cc1,h1).
less_toxic(ii1,d1).
less_toxic(ee1,h1).
less_toxic(k1,e1).
less_toxic(s1,z1).
less_toxic(ll1,jj1).
... | manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_toxic_0.1noisyOnTest/test8.f | FORTRAN | apache-2.0 | 852 |
C+ENQ_PATH_COMP
subroutine enq_path_comp ( lun, pc_ra, pc_dec, s )
C
C Returns the path compensation centre of a sample file.
C
C Given:
C Sample file Fortran logical unit number.
integer lun
C
C Returned:
C Phase center of path compensators at epoch (I think... | CavendishAstrophysics/postmortem | src/samplib/enq_path_comp.f | FORTRAN | bsd-3-clause | 992 |
! RUN: %S/test_symbols.sh %s %flang %t
!DEF: /main MainProgram
program main
!DEF: /main/t1 DerivedType
type :: t1
!DEF: /main/t1/a1 ObjectEntity INTEGER(4)
integer :: a1
end type
!REF: /main/t1
!DEF: /main/t2 DerivedType
type, extends(t1) :: t2
!DEF: /main/t2/a2 ObjectEntity INTEGER(4)
integer :: a2
end ... | endlessm/chromium-browser | third_party/llvm/flang/test/Semantics/symbol06.f90 | FORTRAN | bsd-3-clause | 1,776 |
!
! This file is released under terms of BSD license
! See LICENSE file for more information
!
!
! Simple program to test the loop-fusion directive with collapse clause
!
PROGRAM LOOP_FUSION
CALL clawloop
END
SUBROUTINE clawloop
IMPLICIT NONE
INTEGER :: i
INTEGER :: j
INTEGER :: k
INTEGER :: iend = 2
IN... | clementval/claw-compiler | test/loops/hoist_cleanup_clause_for_both_openacc_and_openmp/original_code.f90 | FORTRAN | bsd-2-clause | 938 |
*> \brief \b SLAQR3 performs the orthogonal similarity transformation of a Hessenberg matrix to detect and deflate fully converged eigenvalues from a trailing principal submatrix (aggressive early deflation).
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.n... | buffer51/OpenBLAS | lapack-netlib/SRC/slaqr3.f | FORTRAN | bsd-3-clause | 21,345 |
!--------------------------------------------------------------------------------------
!
!Copyright (C) 2014 TopCoder Inc., All Rights Reserved.
!
!--------------------------------------------------------------------------------------
!----------------------------------------------------------------------------------... | NREL/OpenWARP | source/NemohImproved/Nemoh/Solver/Core/M_SOLVER.f90 | FORTRAN | apache-2.0 | 2,780 |
!
! 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 | RT/init_Ac.f90 | FORTRAN | apache-2.0 | 4,699 |
SUBROUTINE DLALS0( ICOMPQ, NL, NR, SQRE, NRHS, B, LDB, BX, LDBX,
$ PERM, GIVPTR, GIVCOL, LDGCOL, GIVNUM, LDGNUM,
$ POLES, DIFL, DIFR, Z, K, C, S, WORK, INFO )
*
* -- LAPACK routine (instrumented to count ops, version 3.0) --
* Univ. of Tennessee, Univ. of Califor... | yaowee/libflame | lapack-test/lapack-timing/LIN/LINSRC/dlals0.f | FORTRAN | bsd-3-clause | 13,656 |
! path: $Source: /storm/rc1/cvsroot/rc/rrtmg_sw/src/rrtmg_sw_reftra.f90,v $
! author: $Author: mike $
! revision: $Revision: 1.5 $
! created: $Date: 2009/05/22 22:22:22 $
module rrtmg_sw_reftra
! --------------------------------------------------------------------------
! | ... | jswanljung/CliMT | src/radiation/rrtm/src/rrtmg_sw/gcm_model/src/rrtmg_sw_reftra.f90 | FORTRAN | bsd-3-clause | 11,299 |
module STDIntVectorModule
!> @file STDIntVector.f90
!> Provides a class and methods that mimic a C++ `std::vector<int>` object.
!>
!> @author Peter Bosler, Sandia National Laboratories Center for Computing Research
!>
!>
!> @defgroup STDIntVector STDIntVector
!> @brief Mimics the dynamically allocated C++ `std::vect... | pbosler/lpm-v2 | src/STDIntVector.f90 | FORTRAN | mit | 7,622 |
c---------------------------------------------------------------------
c---------------------------------------------------------------------
subroutine z_solve
c---------------------------------------------------------------------
c---------------------------------------------------------------------
c-----... | rahlk/Parallel-Systems | src/hw3/PMPI/NPB3.3/NPB3.3-SER/SP/z_solve.f | FORTRAN | mit | 12,849 |
allocate(places(2,52))
places(:,1) = (/ 0.7213445798d0, 0.3459242577d0 /)
places(:,2) = (/ 0.7419394650d0, 0.0265290046d0 /)
places(:,3) = (/ 0.8414232324d0, 0.2857103986d0 /)
places(:,4) = (/ 0.9407324668d0, 0.4811872748d0 /)
places(:,5) = (/ 0.8874999246d0, 0.0759218225d0 /)
places(:,6) = (/ 0.7653268770d0, 0.3204424... | danielpecak/salesman | fortran/data/eu.f | FORTRAN | mit | 2,728 |
subroutine daxpy(n,da,dx,incx,dy,incy)
c
c constant times a vector plus a vector.
c uses unrolled loops for increments equal to one.
c jack dongarra, linpack, 3/11/78.
c
double precision dx(1),dy(1),da
integer i,incx,incy,ix,iy,m,mp1,n
c
if(n.le.0)return
if (da .eq. 0.0d0) retu... | AdamPI314/SOHR | fortran_lib/math.f | FORTRAN | mit | 14,943 |
SUBROUTINE SEMGET (ROOT,POS, SYMB)
C GET A MEMBER OF THE PARSED PRODUCTION
C GF 16.07.1980
C
INCLUDE 'PARS.f'
INCLUDE 'STKS.f'
INCLUDE 'SYMS.f'
INCLUDE 'TRAS.f'
INTEGER*2 I
= ,ROOT ! -> 1ST MEMBER OF THE PARSED PRODUCTION
= ,POS ! NUMBER OF THE DES... | gfis/jextra | legacy/bofor_2005/SEMGET.f | FORTRAN | apache-2.0 | 940 |
great_rsd(p1,ee1).
great_rsd(g1,dd1).
great_rsd(e1,x1).
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).
great_rsd(q1,c1).
great_rsd(aa1,x1).
great_rsd(dd1,x1).
gr... | manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_scopolamine_noiseless/incremental1/train2.f | FORTRAN | apache-2.0 | 541 |
!STARTOFREGISTRYGENERATEDFILE 'OpenFOAM_Types.f90'
!
! WARNING This file is generated automatically by the FAST registry.
! Do not edit. Your changes to this file will be lost.
!
! FAST Registry
!***************************************************************************************************************************... | OpenFAST/OpenFAST | modules/openfoam/src/OpenFOAM_Types.f90 | FORTRAN | apache-2.0 | 239,371 |
SUBROUTINE DGELSX_F95( A, B, RANK, JPVT, RCOND, INFO )
!
! -- LAPACK95 interface driver routine (version 3.0) --
! UNI-C, Denmark; Univ. of Tennessee, USA; NAG Ltd., UK
! September, 2000
!
! .. USE STATEMENTS ..
USE LA_PRECISION, ONLY: WP => DP
USE LA_AUXMOD, ONLY: ERINFO
USE F77_LAPACK, ONLY: G... | sradanov/flyingpigeon | flyingpigeon/Fsrc/Lapack95/SRC/la_dgelsx.f90 | FORTRAN | apache-2.0 | 6,238 |
*> \brief \b CERRVX
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE CERRVX( PATH, NUNIT )
*
* .. Scalar Arguments ..
* CHARACTER*3 PATH
* INTEGER... | jmfranck/pyspecdata | lapack-3.4.0/TESTING/LIN/cerrvx.f | FORTRAN | bsd-3-clause | 31,064 |
SUBROUTINE SLARFT( DIRECT, STOREV, N, K, V, LDV, TAU, T, LDT )
IMPLICIT NONE
*
* -- LAPACK auxiliary routine (version 3.2) --
* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
* November 2006
*
* .. Scalar Arguments ..
CHARACTER DIRECT, STOREV
INTEGER ... | joao-lima/plasma-kaapi | f2c/slarft.f | FORTRAN | bsd-3-clause | 8,530 |
*+ graphic_default_frame_opt
subroutine graphic_default_frame_opt( opt, s )
C ----------------------------------------------
C
C Setup default frame options
C
C Given:
C frame opt structure
integer opt(*)
C
C Updated:
C error status
integer s
C
C Setup default line style options.
C-... | CavendishAstrophysics/anmap | graphic_lib/graphic_default_frame_opt.f | FORTRAN | bsd-3-clause | 1,337 |
C
C
*+ uv_posconv
subroutine uv_posconv(map_pos,dat_pos)
C --------------------------------------
C
C Return position in pixel coordinates
C
C Input
C MAP_POS - I4(4) - position in UV
C
C Returned
C DAT_POS - I4(4) - position in pixel coords.
C
C Performs a sta... | CavendishAstrophysics/anmap | image_lib/uv_posconv.f | FORTRAN | bsd-3-clause | 653 |
c =================================================
subroutine cellave2(blockno,xlow,ylow,dx,dy,wl)
c =================================================
implicit none
double precision xlow, ylow, dx, dy, wl
integer blockno
integer i, iv
external fss, fc_zeroin, fdisc
... | ForestClaw/forestclaw | applications/paper/transport_2d_annulus/cellave2.f | FORTRAN | bsd-2-clause | 6,198 |
MODULE subspace_diag_variables
implicit none
PRIVATE
PUBLIC :: MB_diag, Hsub, Vsub, mat_block &
,NBLK1, NBLK2, zero, one, TYPE_MAIN
include 'mpif.h'
integer,allocatable :: mat_block(:,:)
#ifdef _DRSDFT_
integer,parameter :: TYPE_MAIN = MPI_REAL8
real(8),allocatable :: Hsub(:,:), Vsub(:,:)
... | j-iwata/RSDFT | src/subspace_diag_variables.f90 | FORTRAN | apache-2.0 | 601 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.