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 SGET32
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE SGET32( RMAX, LMAX, NINFO, KNT )
*
* .. Scalar Arguments ..
* INTEGER KNT, LMAX, N... | buffer51/OpenBLAS | lapack-netlib/TESTING/EIG/sget32.f | FORTRAN | bsd-3-clause | 18,248 |
<ompts:test>
<ompts:testdescription>Test which checks the omp parallel do reduction directive with all its options.</ompts:testdescription>
<ompts:ompversion>2.0</ompts:ompversion>
<ompts:directive>omp parallel do reduction</ompts:directive>
<ompts:testcode>
INTEGER FUNCTION <ompts:testcode:functionname>par_do_re... | dededong/goblin-core | riscv/riscv-omp/testsuite/fortran/par_do_reduction.f | FORTRAN | bsd-3-clause | 11,647 |
SUBROUTINE FTEST(DATA1,N1,DATA2,N2,F,PROB)
DIMENSION DATA1(N1),DATA2(N2)
CALL AVEVAR(DATA1,N1,AVE1,VAR1)
CALL AVEVAR(DATA2,N2,AVE2,VAR2)
IF(VAR1.GT.VAR2)THEN
F=VAR1/VAR2
DF1=N1-1
DF2=N2-1
ELSE
F=VAR2/VAR1
DF1=N2-1
DF2=N1-1
ENDIF
... | bamford/astrobamf | nr/fortran/ftest.for | FORTRAN | mit | 449 |
program F_cum
!===============================================================================
! Outputs values of the cumulative F distribution F(x;m,n)
use statistical
implicit none
integer,parameter :: rs = 8
real(rs) :: x
integer :: m,n
character(len=80) :: arg
if (command_argument_count(... | anowacki/seismo-fortran | test_statistical/F_cum.f90 | FORTRAN | mit | 621 |
subroutine dqc25c(f,a,b,c,result,abserr,krul,neval,fid)
c***begin prologue dqc25c
c***date written 810101 (yymmdd)
c***revision date 830518 (yymmdd)
c***category no. h2a2a2,j4
c***keywords 25-point clenshaw-curtis integration
c***author piessens,robert,appl. math. & progr. div. - k.u.leuven
c ... | cpmech/gosl | num/qpck/dqc25c.f | FORTRAN | bsd-3-clause | 6,010 |
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/mport2.f | FORTRAN | bsd-3-clause | 3,299 |
! $UWHPSC/codes/lapack/random/randomsys2.f90
program randomsys2
implicit none
real(kind=8), dimension(:),allocatable :: x,b
real(kind=8), dimension(:,:),allocatable :: a
real(kind=8) :: err
integer :: i, info, lda, ldb, nrhs, n
integer, dimension(:), allocatable :: ipiv
! initialize rando... | philipwangdk/HPC | uwhpsc/codes/lapack/random/randomsys2.f90 | FORTRAN | mit | 1,201 |
PROGRAM TSTFFT
C
C * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
C
C VERSION 4 APRIL 1985
C
C A TEST DRIVER FOR
C A PACKAGE OF FORTRAN SUBPROGRAMS FOR THE FAST FOURIER
C TRANSFORM OF PERIODIC AND OTHER SYMMETRIC SEQUENCES
C
... | djhaxton/CooleyTukeyMPI | DFFTPACK/test.f | FORTRAN | apache-2.0 | 12,271 |
*> \brief \b SGET53
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE SGET53( A, LDA, B, LDB, SCALE, WR, WI, RESULT, INFO )
*
* .. Scalar Arguments ..
* INTEGER ... | grisuthedragon/OpenBLAS | lapack-netlib/TESTING/EIG/sget53.f | FORTRAN | bsd-3-clause | 7,074 |
SUBROUTINE DSYEV( JOBZ, UPLO, N, A, LDA, W, WORK, LWORK, INFO )
*
* -- LAPACK driver routine (version 3.2) --
* -- LAPACK is a software package provided by Univ. of Tennessee, --
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
* November 2006
*
* .. Scalar Arguments ..
... | alexurba/cftb | src/libsrc/lapack/SRC/dsyev.f | FORTRAN | mit | 6,625 |
MODULE numerics
!
! Module for numerics parameters
!
!
CHARACTER(LEN=10) :: ODE_solver='boris' ! numerical scheme used
INTEGER :: ndim_tracer=3,rk_iter=0
!
END MODULE numerics
| alexbovet/fastpart | src/numerics_mod.f90 | FORTRAN | mit | 198 |
!-------------------------------------------------------------------------------
! Copyright (c) 2019 FrontISTR Commons
! This software is released under the MIT License, see LICENSE.txt
!-------------------------------------------------------------------------------
!> \brief Adaptive Mesh Refinement
!C
!C***
!C*** h... | FrontISTR/FrontISTR | hecmw1/src/operations/adaptation/hecmw_adapt_grid_smooth.f90 | FORTRAN | mit | 16,260 |
! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
! . .
! . S T A P 9 0 .
! . .
! . AN I... | HaoguangYang/OpenSTAP | src/elements/shell8Q.f90 | FORTRAN | mit | 13,878 |
program backward
implicit none
integer :: i, N, k
real :: x, h
real, external :: f
h = 0.5
N = 1. / h
! backward Euler method for f(x,t) = -100x + 100t + 101
x = 1.01
write(*,*)0., x
do i=1,N
x = (x + h * (100. * i * h + 101.)) / (1. + 100. * h)
write(*,*)i * h,... | rekka/intro-fortran-2016 | lec06/backward.f90 | FORTRAN | mit | 347 |
module http_response_codes
integer, parameter :: RESPONSE_OK = 200
integer, parameter :: RESPONSE_CREATED = 201
integer, parameter :: RESPONSE_NO_CONTENT = 204
integer, parameter :: RESPONSE_UNAUTHORIZED = 401
integer, parameter :: RESPONSE_FORBIDDEN = 403
integer, parameter ... | bceverly/FABS | http_response_codes.f90 | FORTRAN | bsd-3-clause | 436 |
*> \brief \b CGESC2
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CGESC2 + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/cgesc... | jmfranck/pyspecdata | lapack-3.4.0/SRC/cgesc2.f | FORTRAN | bsd-3-clause | 5,427 |
! $UWHPSC/codes/fortran/arraypassing5.f90
module arraypassing_module
contains
subroutine setvals(a)
! subroutine that sets values in an array a of length 3.
implicit none
real(kind=8), intent(inout) :: a(3)
integer i
do i = 1,3
a(i) = 5.
enddo
end subroutine setvals
end module ar... | philipwangdk/HPC | uwhpsc/codes/fortran/arraypassing5.f90 | FORTRAN | mit | 655 |
program t
do 100 i=1,2
print '(a)','i'
do 100 j=1,2
100 print '(a)','term'
end program t
| thender/ppp | tests/t0105r/t.f90 | FORTRAN | apache-2.0 | 105 |
!> -----------------------
!! Provides a timer object that can be used to monitor how long sections of code are taking
!!
!! Similar functionality can be gained from a profiling system, but sometimes profiling is too much detail
!!
!! Note that the current implementation utilizes the fortran CPU_time function. This fu... | gutmann/coarray_icar | src/objects/timer_interface.f90 | FORTRAN | mit | 3,099 |
module driver
use sps_vars; use sps_utils
implicit none
save
!f2py intent(hide) pset
type(PARAMS) :: pset
!f2py intent(hide) ocompsp
type(COMPSPOUT), dimension(ntfull) :: ocompsp
integer :: is_setup=0
!f2py intent(hide) has_ssp
integer, dimension(nz) :: has_ssp=0
!f2py intent(hide) has_ssp_a... | ajmendez/python-fsps | fsps/fsps.f90 | FORTRAN | mit | 13,646 |
subroutine calc_electron_temperature(iBlock)
use ModSizeGitm
use ModGITM
use ModPlanet
use ModRates
use ModEUV
use ModSources, only: eEuvHeating,JouleHeating
use ModConstants
use ModTime, only: CurrentTime
implicit none
integer, external :: jday
integer, intent(in) :: iBlock
integer :: i,j,... | dpawlows/MGITM | src/calc_electron_temperature.Earth.f90 | FORTRAN | mit | 24,705 |
great(jj1,m1).
great(dd1,aa1).
great(kk1,bb1).
great(aa1,p1).
great(j1,s1).
great(s1,t1).
great(ii1,o1).
great(cc1,x1).
great(c1,b1).
great(kk1,t1).
great(y1,cc1).
great(ii1,b1).
great(b1,m1).
great(y1,kk1).
great(u1,aa1).
great(h1,o1).
great(p1,ll1).
great(w1,t1).
great(ii1,h1).
great(d1,a1).
great(ii1,k1).
great(d1,r... | manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_choline_0.3noisy/test7.f | FORTRAN | apache-2.0 | 964 |
less_toxic(ff1,d1).
less_toxic(s1,w1).
less_toxic(ee1,v1).
less_toxic(u1,c1).
less_toxic(dd1,f1).
less_toxic(f1,c1).
less_toxic(bb1,p1).
less_toxic(i1,p1).
less_toxic(k1,v1).
less_toxic(cc1,t1).
less_toxic(ee1,c1).
less_toxic(ll1,t1).
less_toxic(kk1,w1).
less_toxic(ii1,dd1).
less_toxic(m1,d1).
less_toxic(bb1,f1).
less_... | manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_toxic_noiseless/incremental3/train9.f | FORTRAN | apache-2.0 | 2,332 |
!**********************************************************************************************************************************
! 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 (the "Lic... | OpenFAST/OpenFAST | modules/nwtc-library/src/SysIVF_Labview.f90 | FORTRAN | apache-2.0 | 19,592 |
!|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
module hmix_aniso
!BOP
! !MODULE: hmix_aniso
!
! !DESCRIPTION:
! This module contains routines for computing horizontal friction
! terms from the divergence of a stress derived from the
! rate-of-strain tensor; the stress is anisotropic in gene... | app-on-mic/POP-2.0.1-opt | bench01opt_cpu_n1t1p1/compile/hmix_aniso.f90 | FORTRAN | bsd-2-clause | 48,787 |
c$Header: /data/petsun4/data1/src_solaris/imglin/RCS/stretchout.f,v 1.1 2010/03/03 01:28:53 avi Exp $
c$Log: stretchout.f,v $
c Revision 1.1 2010/03/03 01:28:53 avi
c Initial revision
c
subroutine stretchout(t)
real*4 t(4,4)
real*4 g(3,3),w(3,3),q(3,3),wt(3,3),a(3,3),b(3,3)
do 1 i=1,3
... | ysu001/PUP | 4dfp/imglin/stretchout.f | FORTRAN | bsd-3-clause | 663 |
*> \brief \b SLARRR
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SLARRR + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/slarr... | jmfranck/pyspecdata | lapack-3.4.0/SRC/slarrr.f | FORTRAN | bsd-3-clause | 5,797 |
c
subroutine readin(un,num,min,max,name)
c
c parameter:
c un - the file unit
c num - number read
c min - min allowed
c max - max allowed
c
character*12 name
integer num, max, min, un
c
call eatcom(un)
c
c num=number of scenarios
c
read (u... | akrherz/idep | src/wepp2010.1/readin.for | FORTRAN | mit | 639 |
*> \brief \b CDRVLS
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE CDRVLS( DOTYPE, NM, MVAL, NN, NVAL, NNS, NSVAL, NNB,
* NBVAL, NXVAL, THRESH, TST... | grisuthedragon/OpenBLAS | lapack-netlib/TESTING/LIN/cdrvls.f | FORTRAN | bsd-3-clause | 31,848 |
C***********************************************************************
C
PROGRAM SHAW
C
C THIS IS THE DRIVER FOR THE SHAW MODEL (VERSION 2.3.6)
C
C Last Modified: September 27, 2004
C
C DEVELOPED BY: GERALD N. FLERCHINGER
C USDA - ARS
C 800 PARK BLVD., ... | lancekim/GSCR | SHAW/Code/Shaw23.for | FORTRAN | mit | 353,241 |
INTEGER FUNCTION FV_POSN( FILE_NAME )
!***********************************************************************
!* Finds Start Position of File Name Version
!*
!* Language: Fortran
!*
!* Author: Stuart G. Mentzer
!*
!* Date: 1999/08/20
!***********************************************************************
... | DeadParrot/NHTSA-Tools | src/lib/fv_posn.for | FORTRAN | mit | 1,421 |
module mconstants
implicit none
integer,parameter :: wp=selected_real_kind(15)
public :: pi,pi2,twopi
public :: hbarc
private
!mathematical constants
real(wp), parameter :: pi = 3.14159265358979_wp
real(wp), parameter :: pi2 = 9.86960440108936_wp
real(wp), parameter :: twopi = 6.28318530717958_wp
!physics consta... | CompPhysics/ThesisProjects | doc/MSc/msc_students/former/SeanMiller/Thesis/Codes/CCD_prototype/CCD/Systems/NLO2opt/constants.f90 | FORTRAN | cc0-1.0 | 393 |
! vim : tw=72 ts=2 sw=2
! vec3d.f90
! Implements for 3D vectors.
! Coded by jungerstein.
! Except for the licence, it is kind to contact me
! if the codes are involved in your original research.
module vec3d
type vec3
double precision :: x
double precision :: y
double precision :: z
end type vec3
... | jungerstein/plasmaPhyLib | dataType/vec3d.f90 | FORTRAN | apache-2.0 | 2,424 |
C+cal_make_type
C
SUBROUTINE cal_make_type( cf_lun, src_num, s )
C Calculates the current calibration in the cal record
C
C Given:
C Calibration file unit number - must be open for write.
integer cf_lun
C Calibration source number - should be closed, closed on ex... | CavendishAstrophysics/postmortem | src/calsys/cal_make_type.f | FORTRAN | bsd-3-clause | 9,235 |
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/epslon.f | FORTRAN | bsd-3-clause | 3,163 |
! RUN: %B/test/Semantics/test_errors.sh %s %flang %t
! Invalid operand types when user-defined operator is available
module m1
type :: t
end type
interface operator(==)
logical function eq_tt(x, y)
import :: t
type(t), intent(in) :: x, y
end
end interface
interface operator(+)
logical ... | endlessm/chromium-browser | third_party/llvm/flang/test/Semantics/resolve63.f90 | FORTRAN | bsd-3-clause | 6,393 |
*> \brief \b SGER
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE SGER(M,N,ALPHA,X,INCX,Y,INCY,A,LDA)
*
* .. Scalar Arguments ..
* REAL ALPHA
* INTEGER INC... | kortschak/OpenBLAS | lapack-netlib/BLAS/SRC/sger.f | FORTRAN | bsd-3-clause | 5,572 |
*> \brief \b CTPT01
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE CTPT01( UPLO, DIAG, N, AP, AINVP, RCOND, RWORK, RESID )
*
* .. Scalar Arguments ..
* CHARA... | ryanrhymes/openblas | lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/LIN/ctpt01.f | FORTRAN | bsd-3-clause | 5,835 |
function relerror_c(A,B) result(E)
complex(kind=8), intent(in) :: A(:)
complex(kind=8), intent(in) :: B(:)
real(kind=8) :: E
E = maxval(abs(A - B))/maxval(abs(B))
end function relerror_c | buvoli/ETDSDC | Fortran/tools/functions/relerror_c.f90 | FORTRAN | mit | 191 |
great(e1,o1).
great(x1,n1).
great(r1,kk1).
great(cc1,aa1).
great(aa1,n1).
great(h1,d1).
great(b1,p1).
great(aa1,m1).
great(d1,q1).
great(ii1,u1).
great(g1,cc1).
great(u1,b1).
great(d1,r1).
great(g1,m1).
great(p1,m1).
great(ii1,cc1).
great(k1,dd1).
great(j1,s1).
great(ff1,o1).
great(a1,b1).
great(kk1,m1).
great(ii1,bb1)... | manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_choline_0.2noisyOnTest/train10.f | FORTRAN | apache-2.0 | 8,623 |
great_rsd(p1,ee1).
great_rsd(g1,dd1).
great_rsd(e1,x1).
great_rsd(e1,f1).
great_rsd(t1,m1).
great_rsd(u1,t1).
great_rsd(w1,dd1).
great_rsd(p1,m1).
great_rsd(p1,h1).
great_rsd(ee1,g1).
great_rsd(ee1,dd1).
great_rsd(f1,hh1).
great_rsd(w1,m1).
great_rsd(u1,q1).
great_rsd(q1,ee1).
great_rsd(cc1,dd1).
great_rsd(f1,g1).
grea... | manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_scopolamine_noiseless/incremental6/train7.f | FORTRAN | apache-2.0 | 3,234 |
!STARTOFREGISTRYGENERATEDFILE 'IfW_FFWind_Base_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/inflowwind/src/IfW_FFWind_Base_Types.f90 | FORTRAN | apache-2.0 | 32,066 |
C***********************************************************************
C Module: xoper.f
C
C Copyright (C) 2000 Mark Drela
C
C This program is free software; you can redistribute it and/or modify
C it under the terms of the GNU General Public License as published by
C the Free Software Foundation; ... | google/makani | third_party/xfoil/src/xoper.f | FORTRAN | apache-2.0 | 88,378 |
!COMPILER-GENERATED INTERFACE MODULE: Wed Oct 22 18:41:06 2014
MODULE DLASWP__genmod
INTERFACE
SUBROUTINE DLASWP(N,A,LDA,K1,K2,IPIV,INCX)
INTEGER(KIND=4) :: LDA
INTEGER(KIND=4) :: N
REAL(KIND=8) :: A(LDA,*)
INTEGER(KIND=4) ::... | jiangmi/DQMC_PAM_dilute | LAPACK/dlaswp__genmod.f90 | FORTRAN | bsd-2-clause | 532 |
!!--- WARNING ---
!! Please don't edit or change this file
!! It was automatically generated during ./configure
MODULE mod_configure
IMPLICIT NONE
CHARACTER(len = 32), PARAMETER :: VERSION = '0.0.4_MPI'
CHARACTER(len = 64), PARAMETER :: APPNAME = '3Ddiffusion'
CHARACTER(len = 256), PARAMETER :... | ngrigri/3Ddiffusion_MPI | src/mod_configure.f90 | FORTRAN | bsd-3-clause | 393 |
*> \brief \b SGGHD3
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SGGHRD + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/sgghd3.f... | grisuthedragon/OpenBLAS | lapack-netlib/SRC/sgghd3.f | FORTRAN | bsd-3-clause | 31,950 |
*> \brief \b CLA_HERFSX_EXTENDED improves the computed solution to a system of linear equations for Hermitian indefinite matrices by performing extra-precise iterative refinement and provides error bounds and backward error estimates for the solution.
*
* =========== DOCUMENTATION ===========
*
* Online html documenta... | kortschak/OpenBLAS | lapack-netlib/SRC/cla_herfsx_extended.f | FORTRAN | bsd-3-clause | 25,981 |
*> \brief \b SLAUUM computes the product UUH or LHL, where U and L are upper or lower triangular matrices (blocked algorithm).
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SLAUUM + dependencies ... | mverleg/1957 | lib/lapack/slauum.f | FORTRAN | bsd-3-clause | 6,471 |
*> \brief \b DCHKBK
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE DCHKBK( NIN, NOUT )
*
* .. Scalar Arguments ..
* INTEGER NIN, NOUT
* ..
*... | ryanrhymes/openblas | lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/EIG/dchkbk.f | FORTRAN | bsd-3-clause | 4,033 |
!
! A unit testing library for Fortran
!
! The MIT License
!
! Copyright 2011-2016 Andrey Pudov
!
! Permission is hereby granted, free of charge, to any person obtaining a copy
! of this software and associated documentation files (the 'Software'), to deal
! in the Software without restriction, including without limita... | andreypudov/Unit | src/conditions/NotNull.f | FORTRAN | mit | 2,385 |
MODULE psv_initrho_module
use pseudopot_module, only: cdd_coef, ippform, file_ps
use parallel_module, only: myrank
implicit none
PRIVATE
PUBLIC :: read_coef_psv_initrho
integer :: max_ngauss
! integer :: iswitch_initrho = 0
include 'mpif.h'
CONTAINS
! SUBROUTINE read_psv_initrho( Nelement, rank,... | j-iwata/RSDFT | src/psv_initrho_module.f90 | FORTRAN | apache-2.0 | 3,133 |
subroutine rg(nm,n,a,wr,wi,matz,z,iv1,fv1,ierr)
c
integer n,nm,is1,is2,ierr,matz
double precision a(nm,n),wr(n),wi(n),z(nm,n),fv1(n)
integer iv1(n)
c
c this subroutine calls the recommended sequence of
c subroutines from the eigensystem subroutine package (eispack)
c to find ... | RayRuizhiLiao/ITK_4D | Modules/ThirdParty/VNL/src/vxl/v3p/netlib/eispack/rg.f | FORTRAN | apache-2.0 | 2,702 |
MODULE fermi_module
use bberf_module
implicit none
PRIVATE
PUBLIC :: read_fermi,ekbt,calc_fermi &
,efermi, Eentropy, read_oldformat_fermi
real(8) :: ekbt, efermi, Eentropy
integer :: mb1,mb2,kinteg
integer :: nsetocc,isetocc(2)
real(8) :: setocc(20)
logical :: first_time = .true.
re... | j-iwata/RSDFT | src/fermi_mp_module.f90 | FORTRAN | apache-2.0 | 7,451 |
module mod21
!$claw ignore
implicit none
!$claw end ignore
end module mod21
module mod22
!$claw ignore
implicit none
!$claw end ignore
end module mod22
module mod23
use mod22
!$claw verbatim integer, parameter x = 2
end module mod23
module mod_no_claw2
use mod21
end module mod_no_claw2
pro... | clementval/claw-compiler | driver/tests/res/source_reassembly/input/2.f90 | FORTRAN | bsd-2-clause | 448 |
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/sint1i.f | FORTRAN | bsd-2-clause | 1,123 |
C LAST UPDATE 16/03/89
C+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
C
SUBROUTINE SORT (XDATA,YDATA,NCHAN,MODE)
IMPLICIT NONE
C
C Purpose: Sorts the contents of two arrays. One determined by
C mode, is placed in ascending order, the other follows
C
REAL ... | scattering-central/CCP13 | otoko/src/sort.f | FORTRAN | bsd-3-clause | 1,618 |
module quadrature
contains
real(kind=8) function trapezoid(f, a, b, n)
! Estimate the integral of f(x) from a to b using the
! Trapezoid Rule with n points.
! Input:
! f: the function to integrate
! a: left endpoint
! b: right endpoint
! n: number of points to use
! Retu... | philipwangdk/HPC | uwhpsc/2013/solutions/homework4/quadrature.f90 | FORTRAN | mit | 1,531 |
subroutine trudamp (linnum)
c*************************************************************************
c This routine calculates damping parameters for lines that have
c accurately known laboratory damping parameters
c THE USER IS WARNED THAT THESE FORMULAE ARE OLD AND NOT EASILY
c DEFENDED; THE... | JNMcLane/MoogPy | MoogSource/Trudamp.f | FORTRAN | mit | 4,625 |
! ============================================================================
! "Read_Archive_Map" reads a sky map from a binary table in a FITS file. The
! map consists of two columns in the table; the first contains temperature
! and the second contains N_Obs.
!
! Arguments:
! FileName Character The FITS filena... | xyh-cosmo/ClassMC | source/wmap_likelihood_v5/read_archive_map.f90 | FORTRAN | mit | 2,284 |
*> \brief \b SLALSA computes the SVD of the coefficient matrix in compact form. Used by sgelsd.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SLALSA + dependencies
*> <a href="http://www.netlib.org... | buffer51/OpenBLAS | lapack-netlib/SRC/slalsa.f | FORTRAN | bsd-3-clause | 15,581 |
*> \brief \b SQRT04
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE SQRT04(M,N,NB,RESULT)
*
* .. Scalar Arguments ..
* INTEGER M, N, NB, LDT
* .. Return va... | buffer51/OpenBLAS | lapack-netlib/TESTING/LIN/sqrt04.f | FORTRAN | bsd-3-clause | 6,614 |
! RUN: not %f18 -funparse-with-symbols %s 2>&1 | FileCheck %s
! CHECK: Label '30' is not a branch target
! CHECK: Control flow use of '30'
! CHECK: Label '10' is not in scope
! CHECK: Label '20' was not found
! CHECK: Label '60' was not found
subroutine sub00(n,m)
30 format (i6,f6.2)
if (n .eq. m) then
10 print *... | google/llvm-propeller | flang/test/Semantics/label07.f90 | FORTRAN | apache-2.0 | 407 |
*> \brief \b SSPTRF
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SSPTRF + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/ssptrf.f... | grisuthedragon/OpenBLAS | lapack-netlib/SRC/ssptrf.f | FORTRAN | bsd-3-clause | 18,899 |
*> \brief \b DTGSEN
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download DTGSEN + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dtgse... | mverleg/1957 | lib/lapack/dtgsen.f | FORTRAN | bsd-3-clause | 29,547 |
*> \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... | ryanrhymes/openblas | lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/LIN/sdrvrf1.f | FORTRAN | bsd-3-clause | 8,070 |
SUBROUTINE QSIMP(FUNC,A,B,S)
PARAMETER (EPS=1.E-6, JMAX=20)
OST=-1.E30
OS= -1.E30
DO 11 J=1,JMAX
CALL TRAPZD(FUNC,A,B,ST,J)
S=(4.*ST-OST)/3.
IF (ABS(S-OS).LT.EPS*ABS(OS)) RETURN
OS=S
OST=ST
11 CONTINUE
PAUSE 'Too many steps.'
END
| bamford/astrobamf | nr/fortran/qsimp.for | FORTRAN | mit | 315 |
great(k1,g1).
great(v1,p1).
great(h1,d1).
great(z1,q1).
great(hh1,w1).
great(ff1,aa1).
great(q1,u1).
great(e1,jj1).
great(hh1,d1).
great(g1,t1).
great(e1,s1).
great(ff1,ll1).
great(s1,ll1).
great(jj1,r1).
great(d1,u1).
great(d1,jj1).
great(d1,q1).
great(f1,cc1).
great(y1,ll1).
great(aa1,t1).
great(a1,i1).
great(hh1,ll1... | manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_choline_noiseless/train5.f | FORTRAN | apache-2.0 | 8,713 |
great_rsd(p1,t1).
great_rsd(w1,u1).
great_rsd(p1,ee1).
great_rsd(kk1,x1).
great_rsd(a1,hh1).
great_rsd(e1,f1).
great_rsd(w1,m1).
great_rsd(w1,x1).
great_rsd(a1,x1).
great_rsd(t1,z1).
great_rsd(t1,ff1).
great_rsd(f1,ii1).
great_rsd(aa1,hh1).
great_rsd(aa1,x1).
great_rsd(g1,dd1).
great_rsd(v1,t1).
great_rsd(aa1,l1).
grea... | manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_scopolamine_0.3noisyOnTest/test7.f | FORTRAN | apache-2.0 | 484 |
program strings
implicit none
character(*) :: mystring01a
character(16) :: mystring01b
character(len=*) :: mystring02a
character(len=16) :: mystring02b
character(len=*, kind=c_char) :: mystring03a
character(len=16, kind=c_char) :: mystring03b
character :: mystring04a(*)
character :: mystring04b(16)
... | mbdevpl/open-fortran-parser-xml | test/examples/strings.f90 | FORTRAN | apache-2.0 | 523 |
!< Test without FOODIE with the integration of Euler 1D PDEs system by OpenMP paradigm.
program integrate_euler_1D_openmp_no_foodie
!-----------------------------------------------------------------------------------------------------------------------------------
!< Test without FOODIE with the integration of Euler 1D... | jacobwilliams/FOODIE | src/tests/parallel/euler-1D-openmp-no-foodie/euler-1D-openmp_no_foodie.f90 | FORTRAN | bsd-2-clause | 14,048 |
C Copyright(C) 2014-2017 National Technology & Engineering Solutions of
C Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
C NTESS, the U.S. Government retains certain rights in this software.
C
C Redistribution and use in source and binary forms, with or without
C modification, ar... | nschloe/seacas | packages/seacas/applications/fastq/rmesh.f | FORTRAN | bsd-3-clause | 9,271 |
*+ iocmd_enqvar
subroutine iocmd_enqvar( name, value, s )
C -----------------------------------------
C
C Enquire a value from the name table
C
C Given:
C name of variable
character*(*) name
C Returned:
C value for the variable
character*(*) value
C
C Updated:
C error status
... | CavendishAstrophysics/anmap | anm_lib/iocmd_enqvar.f | FORTRAN | bsd-3-clause | 881 |
*> \brief <b> CGGESX 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 CGGESX + dependencies
*... | kortschak/OpenBLAS | lapack-netlib/SRC/cggesx.f | FORTRAN | bsd-3-clause | 23,584 |
../../../ipstatic/blk_mem_gen_v8_3_1/simulation/blk_mem_gen_v8_3.vhd
../../../../FPGA-Z.srcs/sources_1/ip/FrameBuffer/sim/FrameBuffer.vhd
| dries007/Basys3 | FPGA-Z/FPGA-Z.ip_user_files/sim_scripts/FrameBuffer/xsim/filelist.f | FORTRAN | mit | 138 |
*> \brief \b DORMRQ
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download DORMRQ + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dormr... | mverleg/1957 | lib/lapack/dormrq.f | FORTRAN | bsd-3-clause | 9,582 |
*> \brief \b SLASDQ computes the SVD of a real bidiagonal matrix with diagonal d and off-diagonal e. Used by sbdsdc.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SLASDQ + dependencies
*> <a href="... | grisuthedragon/OpenBLAS | lapack-netlib/SRC/slasdq.f | FORTRAN | bsd-3-clause | 12,889 |
*> \brief \b ZGEQRT2 computes a QR factorization of a general real or complex matrix using the compact WY representation of Q.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download ZGEQRT2 + dependencies... | mverleg/1957 | lib/lapack/zgeqrt2.f | FORTRAN | bsd-3-clause | 6,300 |
!* Purpose
!* =======
!* Likelihood calculation
subroutine likelihood(time, datum, sigma, &
P, K, ecc, omega, t0, vsys, vel, lhood, nt, np)
implicit none
!f2py intent(in) time(nt)
!f2py intent(in) datum(nt)
!f2py intent(in) sigma(nt)
!f2py intent(inout) vel(nt)
!f2py intent(in) P(np)
!f2py... | j-faria/OPEN | OPEN/multinest/likelihood.f90 | FORTRAN | mit | 1,280 |
SUBROUTINE ZPOTF2( UPLO, N, A, LDA, 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 ..
CHARACTER UPLO
... | alexurba/cftb | src/libsrc/lapack/SRC/zpotf2.f | FORTRAN | mit | 5,275 |
subroutine trispline(f,x,y,z,n1,n2,n3,t1,t2,t3,fx,fy,fxy)
!subroutine trispline(f,x,y,z,n1,n2,n3,t1,t2,t3,fx,fy,fz,fxy,fxz,fyz,fxyz)
! constructs interpolation coefficients for a periodic
! function f evaluated on a
! three dimensional grid (x,y,z) with size n1 x n2 x n3.
! t1,t2,t3 are the periods.
i... | rangsimanketkaew/NWChem | src/nwpw/gw/Transfer/trispline.f90 | FORTRAN | mit | 5,902 |
!> @ingroup interchange_sort_dec
!>
!> @brief
!> Run an interchange sort on a vector of real values.
!>
!> @details
!> Run a decending on a vector of real values to sort them in the specified order.The vector of intergers map is permuted in the same way that the vector vec is permuted to be sorted. It is important ... | arinrb/bsort | src/interchange_sort_dec_map_real.f90 | FORTRAN | apache-2.0 | 1,623 |
module flib_sax
!
! Stub module to gather all the functionality needed by the user
!
! In future m_dictionary and m_converters could be exported by
! other parts of a more general fortran library.
!
! m_xml_error is necessary in order to use a custom error handler.
!
use m_dictionary
use m_xml_parser
use m_converters... | rscircus/xmlf90 | sax/flib_sax.f90 | FORTRAN | bsd-3-clause | 367 |
C LAST UPDATE 27/01/97
C+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
C
SUBROUTINE DRAGON(CELL,CSTAR,PHIZ,PHIX,ISGP,DMAX,DELR,DELZ,
& IHKL,DRZ,NMAX,NPTS)
IMPLICIT NONE
C
C ------
C DRAGON
C ... | scattering-central/CCP13 | software/guifix/DRAGON.f | FORTRAN | bsd-3-clause | 97,959 |
subroutine load_uv(irec,ut,vt,wt)
use global, only : Nx,Ny,Nz,Nrecs,fns,path2uvw,fn_UVEL,fn_VVEL,fn_WVEL
implicit none
integer*4, intent(in) :: irec
real*4, dimension(0:Nx,0:Ny-1,0:Nz-1), intent(out) :: ut,vt,wt
!character(255), parameter :: path2uvw='/mdata4/mmazloff/SOSE/ITERS/SO6_Iter100/'
!... | jinbow/Octopus | test/src.mitgcm/load_uvw_sose_iter100.f90 | FORTRAN | mit | 1,377 |
*> \brief \b STFSM solves a matrix equation (one operand is a triangular matrix in RFP format).
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download STFSM + dependencies
*> <a href="http://www.netlib.org/... | kortschak/OpenBLAS | lapack-netlib/SRC/stfsm.f | FORTRAN | bsd-3-clause | 34,695 |
*> \brief \b ZDRVSY_RK
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE ZDRVSY_RK( DOTYPE, NN, NVAL, NRHS, THRESH, TSTERR,
* NMAX, A, AFAC, E, AIN... | xianyi/OpenBLAS | lapack-netlib/TESTING/LIN/zdrvsy_rk.f | FORTRAN | bsd-3-clause | 17,006 |
*> \brief \b ZHET22
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE ZHET22( ITYPE, UPLO, N, M, KBAND, A, LDA, D, E, U, LDU,
* V, LDV, TAU, WORK, R... | ryanrhymes/openblas | lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/EIG/zhet22.f | FORTRAN | bsd-3-clause | 8,476 |
*> \brief \b IZAMAX
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* INTEGER FUNCTION IZAMAX(N,ZX,INCX)
*
* .. Scalar Arguments ..
* INTEGER INCX,N
* ..
* .. ... | rangsimanketkaew/NWChem | src/blas/double/izamax.f | FORTRAN | mit | 2,400 |
! Copyright (C) 2011
! Free Software Foundation, Inc.
! This file is part of the gtk-fortran GTK+ Fortran Interface library.
! This is free software; you can redistribute it and/or modify
! it under the terms of the GNU General Public License as published by
! the Free Software Foundation; either version 3, or (at yo... | jshahbazi/fortran-gui-demo | gtk_src/gtk-hl-menu.f90 | FORTRAN | mit | 16,637 |
great_ne(jj1,kk1).
great_ne(y1,b1).
great_ne(ee1,y1).
great_ne(hh1,v1).
great_ne(bb1,v1).
great_ne(m1,h1).
| manoelfranca/cilppp | foldsCreator/files/datasets/alzheimer_anime_noiseless/incremental2/test6.f | FORTRAN | apache-2.0 | 107 |
module qinit_module
use amr_module, only: rinfinity
implicit none
save
logical :: module_setup = .false.
! Type of q initialization
integer, public :: qinit_type
! Work array
real(kind=8), private, allocatable :: qinit(:)
! Geometry
real(kind=8) :: x_low_qinit
r... | ForestClaw/forestclaw | src/solvers/fc2d_geoclaw/geolib_source/qinit_module.f90 | FORTRAN | bsd-2-clause | 11,258 |
*> \brief \b SLAR2V
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SLAR2V + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/slar2... | jmfranck/pyspecdata | lapack-3.4.0/SRC/slar2v.f | FORTRAN | bsd-3-clause | 4,036 |
! test_libdate.f90 --
! Simple tests for the libdate module
!
program test_diff
use libdate
implicit none
type(DATETYPE) :: date1, date2, date3
integer :: i
logical :: found
character(len=20) :: datestring
date1 = datetype( 2008, 1, 1, 0, 0 ) ! 1 january 2008, ... | mapmeld/fortran-machine | flibs-0.9/flibs/tests/computing/test_libdate.f90 | FORTRAN | bsd-3-clause | 1,281 |
!-------------------------------------------------------------
! Copyright (c) 2013-2013 Kawai Yuta. All rights reserved.
!-------------------------------------------------------------
!> @brief a template module
!!
!! @author Kawai Yuta
!!
!!
module GridSet_mod
! モジュール引用; Use statements
!
!* gtool5
use d... | ywkawai/Dennou-OGCM | model/old/sogcm/setup/GridSet_mod.f90 | FORTRAN | mit | 7,167 |
SUBROUTINE loop18_F90(N, x, a, b, u, v)
INTEGER i, N
REAL*8 x(N), a(N), b(N), u, v
x = (u+a)*(v+b)
RETURN
END
SUBROUTINE loop18_F90Overhead(N, x, a, b, u, v)
INTEGER i, N
REAL*8 x(N), a(N), b(N), u, v
RETURN
END
| MSV-Project/IBAMR | ibtk/third_party/blitz-0.10/benchmarks/loop18f90.f90 | FORTRAN | bsd-3-clause | 283 |
*> \brief <b> CHESV computes the solution to system of linear equations A * X = B for HE matrices</b>
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CHESV + dependencies
*> <a href="http://www.netli... | xianyi/OpenBLAS | lapack-netlib/SRC/chesv.f | FORTRAN | bsd-3-clause | 8,424 |
*> \brief \b CLAUU2 computes the product UUH or LHL, where U and L are upper or lower triangular matrices (unblocked algorithm).
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CLAUU2 + dependencies
... | xianyi/OpenBLAS | lapack-netlib/SRC/clauu2.f | FORTRAN | bsd-3-clause | 5,922 |
PROGRAM ZBLAT3
*
* Test program for the COMPLEX*16 Level 3 Blas.
*
* The program must be driven by a short data file. The first 13 records
* of the file are read using list-directed input, the last 9 records
* are read using the format ( A12,L2 ). An annotated example of a data
* file can be obtaine... | hpanderson/OpenBLAS | ctest/c_zblat3.f | FORTRAN | bsd-3-clause | 100,462 |
*> \brief \b CLAQR0 computes the eigenvalues of a Hessenberg matrix, and optionally the matrices from the Schur decomposition.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CLAQR0 + dependencies ... | mverleg/1957 | lib/lapack/claqr0.f | FORTRAN | bsd-3-clause | 25,076 |
*> \brief \b SCKCSD
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE SCKCSD( NM, MVAL, PVAL, QVAL, NMATS, ISEED, THRESH,
* MMAX, X, XF, U1, U2, V1T... | ryanrhymes/openblas | lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/EIG/sckcsd.f | FORTRAN | bsd-3-clause | 11,782 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.