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
SUBROUTINE CGERFS_F95(A, AF, IPIV, B, X, TRANS, FERR, BERR, 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: ERINFO, LSAME USE F77_LA...
sradanov/flyingpigeon
flyingpigeon/Fsrc/Lapack95/SRC/la_cgerfs.f90
FORTRAN
apache-2.0
6,547
!COMPILER-GENERATED INTERFACE MODULE: Wed Oct 22 18:41:25 2014 MODULE ZCOPY__genmod INTERFACE SUBROUTINE ZCOPY(N,ZX,INCX,ZY,INCY) INTEGER(KIND=4) :: N COMPLEX(KIND=8) :: ZX(*) INTEGER(KIND=4) :: INCX COMPLEX(KIND=8) :: ZY(*) ...
jiangmi/DQMC_PAM_dilute
BLAS/zcopy__genmod.f90
FORTRAN
bsd-2-clause
449
program main use mpi implicit none integer :: ierr, rank, size call MPI_INIT(ierr) call MPI_COMM_RANK(MPI_COMM_WORLD, rank, ierr) call MPI_COMM_SIZE(MPI_COMM_WORLD, size, ierr) print *, "Hello, world! I am process ", rank, " of ", size call MPI_FINALIZE(ierr) end program main
shawfdong/hyades
codes/mpi_hello.f90
FORTRAN
bsd-3-clause
296
*> \brief \b CQRT12 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * REAL FUNCTION CQRT12( M, N, A, LDA, S, WORK, LWORK, * RWORK ) * * .. Scalar...
grisuthedragon/OpenBLAS
lapack-netlib/TESTING/LIN/cqrt12.f
FORTRAN
bsd-3-clause
5,922
*> \brief \b CGETC2 computes the LU factorization with complete pivoting of the general n-by-n matrix. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CGETC2 + dependencies *> <a href="http://www....
mverleg/1957
lib/lapack/cgetc2.f
FORTRAN
bsd-3-clause
6,037
C VERSION 2 DOES NOT USE EISPACK C C ------------------------------------------------------------------ C SUBROUTINE DNLASO(OP, IOVECT, N, NVAL, NFIG, NPERM, * NMVAL, VAL, NMVEC, VEC, NBLOCK, MAXOP, MAXJ, WORK, * IND, IERR) C INTEGER N, NVAL, NFIG, NPERM, NMVAL, NMVEC, NBLOCK, * MA...
biotrump/ITK
Modules/ThirdParty/VNL/src/vxl/v3p/netlib/laso/dnlaso.f
FORTRAN
apache-2.0
27,019
!!!!!!!!!!!!!!!!!!!!!!!!!! Program 12.4 !!!!!!!!!!!!!!!!!!!!!!!!!! ! ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! ! Please Note: ...
ucam-cl-dtg/naps-camfort
samples/booku/twelve/code124.f90
FORTRAN
mit
2,524
SUBROUTINE UDS_SPEC_COPY( D, S ) !*********************************************************************** !* Copies UDS Specifications !* !* Language: Fortran !* !* Author: Stuart G. Mentzer !* !* Date: 1999/08/20 !*********************************************************************** ! Headers INC...
DeadParrot/NHTSA-Tools
src/lib/uds_scpy.for
FORTRAN
mit
580
SUBROUTINE md_inpt(iseed,tstep,nstep,nequl,nprnt,ntype,ncons, $ consatm,nbond,bondatm,nshel,shelatm,lveloc) implicit none include 'p_input.inc' include 'p_array.inc' include 'cm_atom.inc' include 'cm_latt.inc' include 'cm_temp.inc' include 'cm_ewld.inc' in...
rangsimanketkaew/NWChem
src/smd/graveyard/smd-original/md_inpt.f
FORTRAN
mit
13,525
less_toxic(kk1,p1). less_toxic(ee1,i1). less_toxic(n1,h1). less_toxic(n1,cc1). less_toxic(r1,d1). less_toxic(bb1,jj1). less_toxic(w1,u1). less_toxic(x1,e1). less_toxic(cc1,v1). less_toxic(n1,i1). less_toxic(j1,h1). less_toxic(n1,aa1). less_toxic(cc1,h1). less_toxic(kk1,aa1). less_toxic(r1,dd1). less_toxic(o1,c1). less_...
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_toxic_noiseless/incremental6/test4.f
FORTRAN
apache-2.0
509
MODULE bb_module implicit none PRIVATE PUBLIC :: construct_bb PUBLIC :: calc_bb real(8),PUBLIC :: bb(3,3) CONTAINS SUBROUTINE construct_bb(aa) implicit none real(8),intent(IN) :: aa(3,3) real(8) :: Vaa,PI2 PI2 = 2.d0*acos(-1.d0) Vaa = aa(1,1)*aa(2,2)*aa(3,3)+aa(1,2)*aa(2,3)*aa(3,1) ...
j-iwata/RSDFT
src/bb_module.f90
FORTRAN
apache-2.0
1,834
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/incremental4/train3.f
FORTRAN
apache-2.0
3,123
subroutine SolMFG (y, ac, yold, acold, & x, & iBC, BC, res, & BDiag, HBrg, eBrg, & yBrg, Rcos, Rsin, iper, & ilwork, shp, shgl,...
SCOREC/phasta
phSolver/compressible/solmfg.f
FORTRAN
bsd-3-clause
10,765
! This file is part of fortran_quaternion ! Author: Pierre de Buyl http://pdebuyl.be/ ! License: BSD 3-clause program test_base use quaternion use tester implicit none type(tester_t) :: test double precision :: q1(4), q2(4), q3(4) call test%init() write(*,*) 'Testing the basic relations i**2=-1, etc' ...
pdebuyl/fortran_quaternion
test/test_base.f90
FORTRAN
bsd-3-clause
1,835
!> !! @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
test/fortran_interface/ezcu_test_fortran.f90
FORTRAN
bsd-3-clause
2,025
! tree_struct.f90 -- ! Module that implements a general tree structure in Fortran 90 ! ! General information: ! The tree is stored via a derived type TREE_DATA. A tree can ! have an arbitrary number of nodes, each of which can again ! have an arbitrary number of subnodes and so on. ! The data type for a ...
paulromano/xml-fortran
src/tree_struct.f90
FORTRAN
bsd-3-clause
17,557
SUBROUTINE DLARPC( N, T, X, LDX, XOLD, LDXOLD, WRK, KASE, ISEED) * * .. Scalar Arguments .. INTEGER N, T, LDX, LDXOLD, KASE, ISEED(4) * .. * .. Array Arguments .. DOUBLE PRECISION WRK( * ), X( LDX, * ), XOLD( LDXOLD, * ) * .. * * Purpose * ======= * * DLARPC looks for a...
cran/expoTree
src/dlarpc.f
FORTRAN
bsd-3-clause
3,250
*> \brief <b> CGGES 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 CGGES + dependencies ...
mverleg/1957
lib/lapack/cgges.f
FORTRAN
bsd-3-clause
19,239
SUBROUTINE ALAESM( PATH, OK, NOUT ) * * -- LAPACK test routine (version 3.1) -- * Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. * November 2006 * * .. Scalar Arguments .. LOGICAL OK CHARACTER*3 PATH INTEGER NOUT * .. * * Purpose * ...
EmergentOrder/clmagma
testing/lin/alaesm.f
FORTRAN
bsd-3-clause
1,209
*> \brief \b SLAMCH * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * REAL FUNCTION SLAMCH( CMACH ) * * .. Scalar Arguments .. * CHARACTER CMACH * .. *...
yxiong/xyMatlabUtils-release
xyCppUtils/ThirdParty/eigen/lapack/slamch.f
FORTRAN
mit
5,261
!> @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. !> !> @param vec !> The vector real values to be sorted. !> !> @author Arin R. Bratt !> @date 11/07/2014 pure subrout...
arinrb/bsort
src/interchange_sort_dec_real.f90
FORTRAN
apache-2.0
806
C Copyright (c) 2007-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 provi...
nschloe/seacas
packages/seacas/applications/mapvar/getbnd.f
FORTRAN
bsd-3-clause
4,384
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/tpmain.f
FORTRAN
bsd-3-clause
5,151
SUBROUTINE allocate_l3_output_variables(local_error) USE SAO_L3_variables_mod, ONLY:input, out_grid, out_ndim, L3_output_L2, & L3_output_CTM, errmsg IMPLICIT NONE ! --------------------- ! Input/Output variable ! --------------------- INTEGER*4 :: local_error ! --------------- ! Local variabl...
ggonzalezabad/L3_project
src/allocate_l3_output_variables.f90
FORTRAN
mit
3,203
!=============================== speed_of_sound ==============================80 !> !! Calculates and returns the speed of sound given the pressure and density. !< !=============================================================================80 pure function speed_of_sound( p, rho ) use set_precision, only : dp ...
cwj5/UnitTesting
fortran_pFUnit/src/functions/speed_of_sound.f90
FORTRAN
mit
519
C This file is part of ComputeBoundaryInput C C Copyright (C) 2015, Elena Tolkova C For conditions of distri...
Delta-function/cliffs-src
cmpboundary/InterpolateOntoBndr.f
FORTRAN
bsd-2-clause
1,471
module SVoronoiGen2_mod use dc_types use dc_message, only: & & MessageNotify use VectorSpace_mod use SphericalCoord_mod use PolyMesh_mod implicit none private integer :: vorVxNum integer :: siteNum integer, allocatable :: vrVxvrVxG(:,:) integer, allocatable :: vrVxvrRCG(:,:) logical, ...
ywkawai/Dennou-OGCM
libsrc/mesh/SVoronoiGen2_mod.f90
FORTRAN
mit
17,073
SUBROUTINE ODRRK( N, IW, GL, GU, $ D, E2, PIVMIN, RELTOL, W, WERR, INFO) IMPLICIT NONE * * -- LAPACK auxiliary routine (version 3.2) -- * -- LAPACK is a software package provided by Univ. of Tennessee, -- * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd.....
petschow/mr3smp
SRC/LAPACK/odrrk.f
FORTRAN
bsd-3-clause
4,727
module hsmooth_mod implicit none integer :: m_polar = -1 double precision, dimension(:), allocatable :: x0_polar,y0_polar double precision, dimension(:), allocatable :: r0_polar,r1_polar integer, dimension(:), allocatable :: n_polar double precision eps_disk contains subroutine allocate_p...
ForestClaw/forestclaw
applications/elliptic/poisson/hsmooth.f90
FORTRAN
bsd-2-clause
2,882
subroutine defcolor (icolor) c****************************************************************************** c This routine decides on whether to call for a black & white hardcopy c plot or a colorful screen plot c****************************************************************************** inclu...
alexji/moog17scat
Defcolor.f
FORTRAN
mit
849
program prog dimension nums(2) equivalence (nums(1), n1), (nums(2), n2) n1 = 12 n2 = 34 write(6, *) nums nums(1) = 56 nums(2) = 78 write(6, *) n1 write(6, *) n2 end
hickerson/bbn
fable/fable_sources/fable/test/valid/equivalence_08.f
FORTRAN
mit
231
PROGRAM numint IMPLICIT none INTEGER NMAX PARAMETER (NMAX=100000) REAL*8 x(NMAX),f(NMAX),fint(NMAX),dx CHARACTER*30 ifile,ofile LOGICAL ex INTEGER i,ntot C---- C Get file names from command line C---- write(0,*) 'WARNING: NUMINT HAS NOT BEEN TESTED AT ALL!' ...
mherman09/Hdef
src/numint.f
FORTRAN
mit
2,787
subroutine hgstd2 (hgs,s) c implicit double precision (a-h,o-z) dp common/range/mft,mlt,lft,llt,nftm1 dimension hgs(*),s(44,1) !$OMP PARALLEL DO do 10 i=lft,llt s(1,i) =s(1,i) +hgs(i) s(3,i) =s(3,i) +hgs(i) s(4,i) =s(4,i) -hgs(i) ...
imohame/hex
src/hgstd2.f
FORTRAN
mit
849
! !=====NOTES============================================================= ! ! program for testing FORTCONT subroutines on some vector fields ! defined in the module VECFIELDS ! ! At the time, FORTCONT can be used only for 1 parameter ! continuation. More specificly, it is a set of predictor-corrector ! (PC) methods. !...
MartinIsoz/FORTCONT
testfortcont.f90
FORTRAN
bsd-3-clause
12,180
*======================================================================= * * WCSLIB 4.19 - an implementation of the FITS WCS standard. * Copyright (C) 1995-2013, 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...
cdeil/kapteyn-mirror
src/wcslib-4.19/Fortran/test/ttab2.f
FORTRAN
bsd-3-clause
9,328
subroutine pondhr(j,k) !! ~ ~ ~ PURPOSE ~ ~ ~ !! this subroutine routes water and sediment through ponds !! and computes evaporation and seepage from the ponds !! ~ ~ ~ INCOMING VARIABLES ~ ~ ~ !! name |units |definition !! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~...
grmpfhmbl/swatmodel-trusty64
src/pondhr.f
FORTRAN
cc0-1.0
13,809
REAL FUNCTION SDSDOT( N, B, X, INCX, Y, INCY ) REAL B INTEGER INCX,INCY,N REAL X(*), Y(*) REAL ZERO PARAMETER ( ZERO = 0.0E0 ) REAL TEMP IF( N.GT.0 ) THEN CALL SDSDOT_SUB( N, B, X, INCX, Y, INCY, TEMP ) ...
d-tk/FLENS
flens/blas/interface/blas/dot/sdsdot.f
FORTRAN
bsd-3-clause
415
*> \brief \b DSPGST * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DSPGVX + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dspgv...
LighthouseHPC/lighthouse
src/Dlighthouse/static/Doxygen/lapack/dspgvx.f
FORTRAN
mit
13,024
!-------------------------------------------------------------------------------------- ! ! Copyright 2014 Ecole Centrale de Nantes, 1 rue de la Noë, 44300 Nantes, France ! ! Licensed under the Apache License, Version 2.0 (the "License"); ! you may not use this file except in compliance with the License. ! You ...
coderReview/Nemoh
Solver/Core/OUTPUT.f90
FORTRAN
apache-2.0
3,598
! ! Copyright 2017 SALMON 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 t...
jenkins-diana/test001
src/GCEED/modules/readbox_rt.f90
FORTRAN
apache-2.0
2,651
SUBROUTINE DLAEBZ( IJOB, NITMAX, N, MMAX, MINP, NBMIN, ABSTOL, $ RELTOL, PIVMIN, D, E, E2, NVAL, AB, C, MOUT, $ NAB, WORK, IWORK, INFO ) * * -- LAPACK auxiliary routine (instrum. to count ops. version 3.0) -- * Univ. of Tennessee, Univ. of California Berkeley, NA...
yaowee/libflame
lapack-test/lapack-timing/EIG/EIGSRC/dlaebz.f
FORTRAN
bsd-3-clause
21,256
*> \brief \b ZDRVAB * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE ZDRVAB( DOTYPE, NM, MVAL, NNS, * NSVAL, THRESH, NMAX, A, AFAC, B, * ...
grisuthedragon/OpenBLAS
lapack-netlib/TESTING/LIN/zdrvab.f
FORTRAN
bsd-3-clause
13,265
! path: $Source: /storm/rc1/cvsroot/rc/rrtmg_sw/src/rrtmg_sw_taumol.f90,v $ ! author: $Author: mike $ ! revision: $Revision: 1.5 $ ! created: $Date: 2009/05/22 22:22:22 $ module rrtmg_sw_taumol ! -------------------------------------------------------------------------- ! | ...
jswanljung/CliMT
src/radiation/rrtm/src/rrtmg_sw/gcm_model/src/rrtmg_sw_taumol.f90
FORTRAN
bsd-3-clause
63,387
!------------------------------------------------------------------------------- ! Copyright (c) 2019 FrontISTR Commons ! This software is released under the MIT License, see LICENSE.txt !------------------------------------------------------------------------------- !> \brief This module contains functions to set disp...
FrontISTR/FrontISTR
fistr1/src/analysis/dynamic/transit/dynamic_mat_ass_bc.f90
FORTRAN
mit
11,137
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !> A distributed array module. MODULE DistributedArrayModule USE mpi USE iso_c_binding IMPLICIT NONE PRIVATE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !> A datatype that wraps distributed dy...
william-dawson/Basic-Fortran-Wrapping
Source/Fortran/DistributedArrayModule.f90
FORTRAN
mit
3,543
c -*- Fortran -*- c c ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c c Lithomop3d by Charles A. Williams c Copyright (c) 2003-2005 Rensselaer Polytechnic Institute c c Permission is hereby granted, free of charge, to any person obtaining c a copy of this software and associated docu...
geodynamics/lithomop
lithomop3d/liblithomop3d/mat_11.f
FORTRAN
mit
10,632
!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ! % ! Copyright (C) 2015 Adrian Martinez Vargas % ! % ! This software may be m...
opengeostat/pygslib
for_code/variograms.f90
FORTRAN
mit
68,500
subroutine clawpack46_set_block(blockno) implicit none integer blockno integer blockno_com common /comblock/ blockno_com blockno_com = blockno end integer function fc2d_clawpack46_get_block() implicit none integer blockno_com common /comblock/ block...
ForestClaw/forestclaw
src/solvers/fc2d_clawpack4.6/fortran_source/clawpack46_block.f
FORTRAN
bsd-2-clause
557
subroutine SHReadCHAMP(filename, cilm, lmax, gm, r0_pot, error) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! This program will read the file format of spherical harmonic ! coefficients used by the CHAMP/GRACE group into standard arrays for ! of Cilm and the error. ! ! Ca...
pletnes/SHTOOLS
src/SHReadCHAMP.f90
FORTRAN
bsd-3-clause
3,065
program test_driver use num_types use enumeration_utilities implicit none character(80) fname, title, sfname, dummy real(dp), dimension(3,3) :: pLV, sLV integer, dimension(3,3) :: SNF, L real(dp), pointer :: aBas(:,:), dset(:,:) integer, pointer :: aTyp(:), pLabel(:,:), HNF(:,:,:) integer :: LatDim, match real(dp) :: ...
msg-byu/enumlib
aux_src/find_structure_in_list.f90
FORTRAN
mit
1,050
subroutine e3wmlt (shp, shg, WdetJ, & ri, rmi, rl, & rml, stiff, EGmass ) c c---------------------------------------------------------------------- c c Up to now most of the terms have not been multiplied by the c shape function from the weig...
SCOREC/phasta
phSolver/compressible/e3wmlt.f
FORTRAN
bsd-3-clause
15,317
*> \brief \b ZGETRF2 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * RECURSIVE SUBROUTINE ZGETRF2( M, N, A, LDA, IPIV, INFO ) * * .. Scalar Arguments .. * INTEGER ...
mverleg/1957
lib/lapack/zgetrf2.f
FORTRAN
bsd-3-clause
7,154
DOUBLE PRECISION FUNCTION DQRT12( M, N, A, LDA, S, WORK, LWORK ) * * -- LAPACK test routine (version 3.1.1) -- * Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. * January 2007 * * .. Scalar Arguments .. INTEGER LDA, LWORK, M, N * .. * .. Array Arguments .. ...
maxhutch/magma
testing/lin/dqrt12.f
FORTRAN
bsd-3-clause
4,591
!> Module holding basic KIND parameters MODULE kind_params_mod IMPLICIT none PUBLIC !> Douple precision kind parameter INTEGER, PARAMETER :: wp = SELECTED_REAL_KIND(12,307) END MODULE kind_params_mod
arturocastro/portable-performance
previous_work/GOcean_shallow_benchmark_v1.0/psykal_vanilla/kind_params_mod.f90
FORTRAN
mit
211
program prog character*(3) buf33 character*(2) buf4(2) integer*4 k, l, m(2) integer ios, i character*(2) buf write(buf, '(a2)') "12" read(buf, fmt='(a3)', iostat=ios, end=10, err=20) buf33 write(*,*) ios .lt. 0, ios .eq. 0, ios .gt. 0, '"', buf33, '"' read(...
hickerson/bbn
fable/fable_sources/fable/test/valid/read_iostat_end_err_2.f
FORTRAN
mit
1,148
c -*- Fortran -*- c c~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c c Lithomop3d by Charles A. Williams c Copyright (c) 2003-2005 Rensselaer Polytechnic Institute c c Permission is hereby granted, free of charge, to any person obtaining c a copy of this software and associated documentati...
geodynamics/lithomop
lithomop3d/liblithomop3d/unused/rtsafe.f
FORTRAN
mit
4,023
Module netcdf4_nc_interfaces ! Fortran interfaces to netCDF4 C functions using FORTRAN 2003 C ! Interoperability features. These interfaces are for the base ! netCDF C routines in the libsrc4 directory and the results from ! running CPP on the fort-xxx.c routines to get the cfortran.h ! generated interfaces ! Writte...
sradanov/flyingpigeon
flyingpigeon/Fsrc/Netcdf_fortran/fortran/module_netcdf4_nc_interfaces.f90
FORTRAN
apache-2.0
39,444
program build_cubist_model integer, parameter :: dx=3750, dy=3750 real :: latn(dx,dy), dtrad(dx,dy), day(dx,dy), night(dx,dy) real :: dtime(dx,dy), lai(dx,dy), terrain(dx,dy) character(len=400) :: precip_fn, fmax_fn, terrain_fn, daylst_fn, nightlst_fn character(len=400) :: lai_fn, dtime_fn, out_fn real :: predict(dx,d...
bucricket/projectMASviirs
source/predict_dtrad/final_dtrad_p500.f90
FORTRAN
bsd-3-clause
6,076
*> \brief \b ZERRGG * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE ZERRGG( PATH, NUNIT ) * * .. Scalar Arguments .. * CHARACTER*3 PATH * INTEGER ...
grisuthedragon/OpenBLAS
lapack-netlib/TESTING/EIG/zerrgg.f
FORTRAN
bsd-3-clause
50,902
subroutine setupmodel ! Definir el modelo a partir de input.txt use gloVars use modelVars use sourceVars use fitting use resultVars implicit none ! variables auxiliares: logical :: lexist character(21) :: time,auxtx CHARACTER(len=400) :: path real :: H, ALF, BET, RO integer :: J,i real*8 :: BEALF,frac,minBeta,k1_3,kmax...
marshallcoz/Green_DWN_2D
setupmodel.f90
FORTRAN
mit
13,196
! ! -- MAGMA (version 1.0.0) -- ! Univ. of Tennessee, Knoxville ! Univ. of California, Berkeley ! Univ. of Colorado, Denver ! October 2012 ! ! @generated c Wed Oct 24 00:32:43 2012 ! #define PRECISION_c module magma_cfortran use magma_param, only: sizeof_complex implicit none !---- Fo...
mauro-belgiovine/belgiovi-clmagma
control/magma_cfortran.f90
FORTRAN
mit
17,863
SUBROUTINE XML0 (SUBRN, SUBRS, SUBRE) C TRACE OUTPUT VIA XML ELEMENTS C 2005-05-06 GEORG FISCHER C INCLUDE 'PARS.f' CHARACTER*16 SUBRN ! NAME OF THE SUBROUTINE INTEGER*2 PARASK = ,SUBRS ! FIRST POSITION IN 'SUBR' = ,SUBRE ! LAST POSITION IN 'SUBR' = ,A1 ...
gfis/jextra
legacy/bofor_2005/XMLIZE.f
FORTRAN
apache-2.0
3,492
program volatile_doctest use vecfor_R16P type(vector_R16P) :: pt pt = ex_R16P + ey_R16P + ez_R16P print "(L1)", 1._R8P /= pt endprogram volatile_doctest
szaghi/VecFor
src/tests/vecfor_R16P/vecfor_R16P-doctest-103.f90
FORTRAN
bsd-2-clause
155
! Fortran module for interacting with the ParaView CoProcessor ! loosely based on: ! ParaView-3.14.1-Source/CoProcessing/Adaptors/FortranAdaptors/PhastaAdaptor/phastaadaptor.f ! -- Changed for SESE ! Subroutine determines if coprocessing needed during the ! current simulation step or not, and if so, calls the coproce...
openmichigan/PSNM
KleinGordon/Programs/KleinGordon3dMpiFFTParaView/KGadaptor.f90
FORTRAN
bsd-2-clause
2,268
program range implicit none integer i, imax parameter (imax = 3) real a(0:imax), b(0:imax) != stencil readOnce, pointed(dim=1) :: b a(:) = b(:) end program
dorchard/camfort
samples/stencils/expected/range.f90
FORTRAN
apache-2.0
163
*> \brief \b CGEMM * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE CGEMM(TRANSA,TRANSB,M,N,K,ALPHA,A,LDA,B,LDB,BETA,C,LDC) * * .. Scalar Arguments .. * COMPLEX A...
kortschak/OpenBLAS
lapack-netlib/BLAS/SRC/cgemm.f
FORTRAN
bsd-3-clause
14,288
*> \brief \b DLAKF2 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE DLAKF2( M, N, A, LDA, B, D, E, Z, LDZ ) * * .. Scalar Arguments .. * INTEGER LDA, ...
grisuthedragon/OpenBLAS
lapack-netlib/TESTING/MATGEN/dlakf2.f
FORTRAN
bsd-3-clause
4,272
! 8-JUL-09 mrharper: added Lindemann reactions ! 6/25/08 gmagoon: removed comments for debugging/timing ! 5/14/08 gmagoon: filename: call_dasslAUTOdebug.f90 (includes output used ! for debugging) ! 4/25/08 gmagoon: changed name from CALL_DASPK (sic) to CALL_DASSLAUTO ! to indicate that this version requires changes to ...
enochd/RMG-Java
source/dassl/call_dasslAUTO.f90
FORTRAN
mit
25,902
SUBROUTINE ZSQRT(AR, AI, BR, BI) C***BEGIN PROLOGUE ZSQRT C***REFER TO ZBESH,ZBESI,ZBESJ,ZBESK,ZBESY,ZAIRY,ZBIRY C C DOUBLE PRECISION COMPLEX SQUARE ROOT, B=CSQRT(A) C C***ROUTINES CALLED ZABS C***END PROLOGUE ZSQRT DOUBLE PRECISION AR, AI, BR, BI, ZM, DTHETA, DPI, DRT DOUBLE PRECISION ZABS ...
pweil-/origin
vendor/gonum.org/v1/gonum/mathext/internal/amos/amoslib/zsqrt.f
FORTRAN
apache-2.0
1,202
c----------------------------------------------------------------------- c\BeginDoc c c\Name: ssgets c c\Description: c Given the eigenvalues of the symmetric tridiagonal matrix H, c computes the NP shifts AMU that are zeros of the polynomial of c degree NP which filters out components of the unwanted eigenvectors...
mcflugen/roms-lite
src/roms/Lib/ARPACK/SRC/ssgets.f
FORTRAN
mit
7,393
SUBROUTINE MB02RD( TRANS, N, NRHS, H, LDH, IPIV, B, LDB, INFO ) C C SLICOT RELEASE 5.5. C C Copyright (c) 2002-2012 NICONET e.V. C C PURPOSE C C To solve a system of linear equations C H * X = B or H' * X = B C with an upper Hessenberg N-by-N matrix H using the LU C fac...
bgin/MissileSimulation
External/SLICOT/MB02RD.f
FORTRAN
mit
5,324
great_ne(jj1,ii1). great_ne(m1,ii1). great_ne(ee1,v1). great_ne(jj1,m1). great_ne(p1,k1). great_ne(p1,b1). great_ne(u1,i1). great_ne(v1,y1). great_ne(t1,f1). great_ne(bb1,i1). great_ne(z1,ff1). great_ne(q1,i1). great_ne(z1,dd1). great_ne(hh1,i1). great_ne(kk1,ii1). great_ne(ff1,a1). great_ne(z1,jj1). great_ne(jj1,bb1)....
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_anime_noiseless/train9.f
FORTRAN
apache-2.0
5,487
SUBROUTINE DM_WFLT ( iflno, isword, nword, rdata, iret ) C************************************************************************ C* DM_WFLT * C* * C* This subroutine writes real data to a DM file. * C* * C* DM_WFLT ( IFLNO, ISWORD, NWORD, RDATA, IRET ) * C* * C* Input parameters:...
sgdecker/pygempak
dmwflt.f
FORTRAN
apache-2.0
5,059
module mod1 !$claw end module mod1 module mod2 end module mod2 module mod3 use mod2 end module mod3 program p1 use mod2 use mod_undefined end program p1
clementval/claw-compiler
driver/unittests/res/build/sanity_check/input/undefined_module.f90
FORTRAN
bsd-2-clause
168
!################################################################################### ! ! 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/ffv_vbc_outer_face.f90
FORTRAN
bsd-2-clause
6,617
! RUN: %B/test/Semantics/test_errors.sh %s %flang %t !Test for checking data constraints, C882-C887 module m1 type person integer :: age character(len=25) :: name end type integer, parameter::digits(5) = ( /-11,-22,-33,44,55/ ) integer ::notConstDigits(5) = ( /-11,-22,-33,44,55/ ) real, parameter::num...
endlessm/chromium-browser
third_party/llvm/flang/test/Semantics/data01.f90
FORTRAN
bsd-3-clause
1,768
module options_interface use icar_constants, only : kMAX_STRING_LENGTH, kMAX_STORAGE_VARS use options_types, only : parameter_options_type, physics_type, mp_options_type, lt_options_type, & block_options_type, adv_options_type, lsm_option...
gutmann/icar
src/objects/options_h.f90
FORTRAN
mit
3,103
subroutine harvkillop !! ~ ~ ~ PURPOSE ~ ~ ~ !! this subroutine performs the harvest and kill operation !! ~ ~ ~ INCOMING VARIABLES ~ ~ ~ !! name |units |definition !! ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ !! auto_eff(:) |none |...
grmpfhmbl/swatmodel-trusty64
src/harvkillop.f
FORTRAN
cc0-1.0
21,000
!! !! @HEADER !! !!!!********************************************************************** !! !! Zoltan Toolkit for Load-balancing, Partitioning, Ordering and Coloring !! Copyright 2012 Sandia Corporation !! !! Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, !! the U.S. Govern...
nschloe/seacas
packages/zoltan/src/fdriver/farg_typical.f
FORTRAN
bsd-3-clause
2,345
*> \brief \b CSPT02 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE CSPT02( UPLO, N, NRHS, A, X, LDX, B, LDB, RWORK, * RESID ) * * .. Scalar A...
grisuthedragon/OpenBLAS
lapack-netlib/TESTING/LIN/cspt02.f
FORTRAN
bsd-3-clause
5,449
subroutine saxpy(n,sa,sx,incx,sy,incy) c c constant times a vector plus a vector. c uses unrolled loop for increments equal to one. c jack dongarra, linpack, 3/11/78. c real sx(1),sy(1),sa integer i,incx,incy,ix,iy,m,mp1,n c if(n.le.0)return if (sa .eq. 0.0) return if(inc...
mcflugen/roms-lite
src/roms/Lib/ARPACK/BLAS/saxpy.f
FORTRAN
mit
1,142
subroutine radsetup C GCM2.0 Feb 2003 C C PURPOSE: C Bundle the new radiation code setup subroutines and call C this one subroutine from main, where the three included files C are also listed. Quantities are passed between this driver C and the radiation code via common (in radcommon.h)...
jsbj/climt
src/radiation/nrc/src/radsetup.f
FORTRAN
bsd-3-clause
2,083
*> \brief \b ZLARZB applies a block reflector or its conjugate-transpose to a general matrix. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ZLARZB + dependencies *> <a href="http://www.netlib.or...
mverleg/1957
lib/lapack/zlarzb.f
FORTRAN
bsd-3-clause
9,550
*> \brief \b DLAR1V computes the (scaled) r-th column of the inverse of the submatrix in rows b1 through bn of the tridiagonal matrix LDLT - λI. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DLAR...
rangsimanketkaew/NWChem
src/lapack/double/dlar1v.f
FORTRAN
mit
14,834
program prog parameter(num=2) do ix=1,num write(6, *) ix enddo end
hickerson/bbn
fable/fable_sources/fable/test/valid/do_ix_num.f
FORTRAN
mit
105
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ! File diplantS.f90 ! ! This is a variable time problem. ! The problem in Bolza form: ! min tf ! subject to: ! y1(dot) = y2 ! y2(dot) = u ! ! y1(0...
snopt/snctrl
examples/diplantS.f90
FORTRAN
mit
7,873
c----------------------------------------------------------------------- c\BeginDoc c c\Name: psneigh c c Message Passing Layer: MPI c c\Description: c Compute the eigenvalues of the current upper Hessenberg matrix c and the corresponding Ritz estimates given the current residual norm. c c\Usage: c call psneigh c ...
mcflugen/roms-lite
src/roms/Lib/ARPACK/PARPACK/SRC/MPI/psneigh.f
FORTRAN
mit
10,624
PROGRAM SCTPL4 C C Minor update to the SGI version of SCTPL C Written by A.S. NEALIS 6 JUNE 1991 C Minor refactoring and editing to compile C using gfortran by David W. Wright 2013 C C ENHANCEMENTS FROM SCTPL3: C INCREASE MAX NUMBER OF POINTS TO 512 C MORE THAN ONE SET OF PLOTS PER GRAPH C ENTER MODEL AND EXPTAL...
dww100/sct
src/sctpl.f
FORTRAN
apache-2.0
7,532
program volatile_doctest use vecfor_R8P type(vector_R8P) :: pt pt = ex_R8P + ey_R8P + ez_R8P print "(L1)", pt < 4._R8P endprogram volatile_doctest
szaghi/VecFor
src/tests/vecfor_R8P/vecfor_R8P-doctest-119.f90
FORTRAN
bsd-2-clause
149
double precision function psi(xp,yp,zp,t) implicit none double precision xp,yp,zp,t double precision r2, revs_per_s double precision pi, pi2 common /compi/ pi, pi2 revs_per_s = 0.5d0 c # annulus : Solid body rotation r2 = xp**2 + yp**2 psi = 0.5d0*pi2*revs_p...
ForestClaw/forestclaw
applications/clawpack/advection/2d/annulus/psi.f
FORTRAN
bsd-2-clause
575
! ! -- MAGMA (version 2.1.0) -- ! Univ. of Tennessee, Knoxville ! Univ. of California, Berkeley ! Univ. of Colorado, Denver ! @date August 2016 ! ! @generated from testing/testing_zgetrf_f.f90, normal z -> d, Tue Aug 30 09:39:19 2016 ! program testing_dgetrf_f use magma extern...
maxhutch/magma
testing/testing_dgetrf_f.f90
FORTRAN
bsd-3-clause
2,986
! RUN: %S/test_modfile.sh %s %f18 %t ! Resolution of generic names in expressions. ! Test by using generic function in a specification expression that needs ! to be written to a .mod file. ! Resolve based on number of arguments module m1 interface f pure integer(8) function f1(x) real, intent(in) :: x ...
endlessm/chromium-browser
third_party/llvm/flang/test/Semantics/modfile32.f90
FORTRAN
bsd-3-clause
6,611
*> \brief <b> DSPSVX computes the solution to system of linear equations A * X = B for OTHER matrices</b> * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DSPSVX + dependencies *> <a href="http://w...
jmfranck/pyspecdata
lapack-3.4.0/SRC/dspsvx.f
FORTRAN
bsd-3-clause
13,237
*> \brief \b ZGBBRD * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ZGBBRD + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zgbbrd.f...
buffer51/OpenBLAS
lapack-netlib/SRC/zgbbrd.f
FORTRAN
bsd-3-clause
17,676
*> \brief \b CTRSEN * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CTRSEN + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/ctrsen.f...
buffer51/OpenBLAS
lapack-netlib/SRC/ctrsen.f
FORTRAN
bsd-3-clause
13,853
! {dg-do run } ! Vector subscripts, ranks and shapes of initialization expressions (PRs 29393, ! 29630 and 29679) program test implicit none integer :: i, j integer, parameter :: a(4,4,4) = reshape([ (i,i=1,64) ], [4,4,4]) integer, parameter :: v(4) = [4, 1, 3, 2] integer :: b1(3,3) = a(1:3, 2, 2:...
shaotuanchen/sunflower_exp
tools/source/gcc-4.2.4/gcc/testsuite/gfortran.dg/initialization_2.f90
FORTRAN
bsd-3-clause
830
*> \brief \b SSPGST * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SSPGST + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/sspgs...
mverleg/1957
lib/lapack/sspgst.f
FORTRAN
bsd-3-clause
8,277
MODULE MOD_ETLRAY CONTAINS SUBROUTINE ETLRAY(U,Z,OPA,OPAL,ETA,ETAL,XJLMEAN,RADIUS,ND,NP,JP,P, $ UB,GA,H,QQ,S,V,VA,VB,VELO,GRADI,PP, $ BMHO,BMNO,BMHI,BMNI,BCORE,DBDR, $ XJCIND,ELEVEL,LOW, $ PHI,PWEIGHT,NFL...
rtagirov/nessy
src/etlray.for
FORTRAN
mit
10,232
! ! 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/False.f
FORTRAN
mit
1,399
!!<summary>Provides functionality to track multiple order parameters in a !!thermodynamic monte carlo simultion. Provides access to a single public !!type cluster_tracker that tracks the correlations for one or more clusters !!across mulitple iterations of the simulation.</summary> module monte_orderparam use ce_typ...
rosenbrockc/fortpy
tests/isense/edits/docstring.f90
FORTRAN
mit
16,606