repo_name
stringlengths
7
81
path
stringlengths
4
224
copies
stringclasses
221 values
size
stringlengths
4
7
content
stringlengths
975
1.04M
license
stringclasses
15 values
nicamdc-dev/nicamdc
src/nhm/driver/prg_driver-dc.f90
1
11037
!------------------------------------------------------------------------------- ! !+ Program driver ! !------------------------------------------------------------------------------- program prg_driver !----------------------------------------------------------------------------- ! !++ Description: ! Th...
bsd-2-clause
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/reference/cgemvf.f
50
10127
SUBROUTINE CGEMVF ( TRANS, M, N, ALPHA, A, LDA, X, INCX, $ BETA, Y, INCY ) * .. Scalar Arguments .. COMPLEX ALPHA, BETA INTEGER INCX, INCY, LDA, M, N CHARACTER*1 TRANS * .. Array Arguments .. COMPLEX A( LDA, * ), X( * )...
bsd-3-clause
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/SRC/cpbequ.f
29
6687
*> \brief \b CPBEQU * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CPBEQU + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/cpbeq...
bsd-3-clause
astrofrog/fortranlib
templates/type_var2d_pdf2d_template.f90
1
7899
! ------------------------------------------------------------------------------ ! Copyright (c) 2009-13, Thomas P. Robitaille ! ! All rights reserved. ! ! Redistribution and use in source and binary forms, with or without ! modification, are permitted provided that the following conditions are met: ! ! * Redistributi...
bsd-2-clause
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/SRC/zsysvxx.f
5
27072
*> \brief <b> ZSYSVXX computes the solution to system of linear equations A * X = B for SY matrices</b> * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ZSYSVXX + dependencies *> <a href="http://ww...
bsd-3-clause
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/SRC/dsytri_rook.f
22
13375
*> \brief \b DSYTRI_ROOK * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DSYTRI_ROOK + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_rou...
bsd-3-clause
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/LIN/cerrsy.f
24
13750
*> \brief \b CERRSY * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE CERRSY( PATH, NUNIT ) * * .. Scalar Arguments .. * CHARACTER*3 PATH * INTEGER...
bsd-3-clause
nicjhan/MOM5
src/preprocessing/river_regrid/river_regrid.f90
7
88253
program river_regrid !----------------------------------------------------------------------- ! GNU General Public License ! ! This program is free software; you can redistribute it and/or modify it a...
gpl-2.0
astrofrog/fortranlib
templates/lib_statistics_template.f90
1
4531
! Statistics ! ! ------------------------------------------------------------------------------ ! Copyright (c) 2009-13, Thomas P. Robitaille ! ! All rights reserved. ! ! Redistribution and use in source and binary forms, with or without ! modification, are permitted provided that the following conditions are met: ! ! ...
bsd-2-clause
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/LIN/derrtr.f
32
17462
*> \brief \b DERRTR * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE DERRTR( PATH, NUNIT ) * * .. Scalar Arguments .. * CHARACTER*3 PATH * INTEGER...
bsd-3-clause
nicjhan/MOM5
src/land_lad2/land_data.F90
10
28721
module land_data_mod use mpp_mod , only : mpp_get_current_pelist, mpp_pe use constants_mod , only : PI use mpp_domains_mod , only : domain2d, mpp_get_compute_domain, & mpp_define_layout, mpp_define_domains, mpp_define_io_domain, & mpp_get_current_ntile, mpp_get_tile_id, CYCLIC_GLOBAL_DOMAIN, ...
gpl-2.0
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/SRC/slatps.f
24
24381
*> \brief \b SLATPS solves a triangular system of equations with the matrix held in packed storage. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SLATPS + dependencies *> <a href="http://www.net...
bsd-3-clause
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/SRC/ssysvx.f
28
14207
*> \brief <b> SSYSVX computes the solution to system of linear equations A * X = B for SY matrices</b> * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SSYSVX + dependencies *> <a href="http://www....
bsd-3-clause
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/SRC/zunmr3.f
24
8053
*> \brief \b ZUNMR3 multiplies a general matrix by the unitary matrix from a RZ factorization determined by ctzrzf (unblocked algorithm). * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ZUNMR3 + de...
bsd-3-clause
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/reference/chemvf.f
50
10919
SUBROUTINE CHEMVF ( UPLO, N, ALPHA, A, LDA, X, INCX, $ BETA, Y, INCY ) * .. Scalar Arguments .. COMPLEX ALPHA, BETA INTEGER INCX, INCY, LDA, N CHARACTER*1 UPLO * .. Array Arguments .. COMPLEX A( LDA, * ), X( * ), Y( * )...
bsd-3-clause
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/MATGEN/dlaran.f
33
4113
*> \brief \b DLARAN * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * DOUBLE PRECISION FUNCTION DLARAN( ISEED ) * * .. Array Arguments .. * INTEGER ISEED( 4 ) *...
bsd-3-clause
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/LIN/derrab.f
32
3749
*> \brief \b DERRAB * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE DERRAB( NUNIT ) * * .. Scalar Arguments .. * INTEGER NUNIT * .. * * *> ...
bsd-3-clause
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/SRC/slarre.f
24
31997
*> \brief \b SLARRE given the tridiagonal matrix T, sets small off-diagonal elements to zero and for each unreduced block Ti, finds base representations and eigenvalues. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \...
bsd-3-clause
lofar-astron/PyBDSF
src/port3/d7egr.f
2
4152
SUBROUTINE D7EGR(N,INDROW,JPNTR,INDCOL,IPNTR,NDEG,IWA,BWA) INTEGER N INTEGER INDROW(1),JPNTR(1),INDCOL(1),IPNTR(1),NDEG(N),IWA(N) LOGICAL BWA(N) C ********** C C SUBROUTINE D7EGR C C GIVEN THE SPARSITY PATTERN OF AN M BY N MATRIX A, C THIS SUBROUTINE DETERMINES THE DEGREE SEQUENC...
gpl-3.0
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/SRC/chptrf.f
29
20757
*> \brief \b CHPTRF * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CHPTRF + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/chptr...
bsd-3-clause
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/SRC/cgetri.f
29
7421
*> \brief \b CGETRI * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download CGETRI + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/cgetr...
bsd-3-clause
nicjhan/MOM5
src/mom5/ocean_param/gotm-4.0/util/diff_face.F90
10
4290
#include"cppdefs.h" !----------------------------------------------------------------------- !BOP ! ! !ROUTINE: Diffusion schemes --- grid faces\label{sec:diffusionFace} ! ! !INTERFACE: subroutine diff_face(N,dt,cnpar,h,Bcup,Bcdw,Yup,Ydw,nuY,Lsour,Qsour,Y) ! ! !DESCRIPTION: ! ! !USES: use util, only : D...
gpl-2.0
pyramania/scipy
scipy/interpolate/fitpack/fpcuro.f
148
2492
subroutine fpcuro(a,b,c,d,x,n) c subroutine fpcuro finds the real zeros of a cubic polynomial c p(x) = a*x**3+b*x**2+c*x+d. c c calling sequence: c call fpcuro(a,b,c,d,x,n) c c input parameters: c a,b,c,d: real values, containing the coefficients of p(x). c c output parameters: c x : real arra...
bsd-3-clause
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/SRC/dlaqsb.f
24
6377
*> \brief \b DLAQSB scales a symmetric/Hermitian band matrix, using scaling factors computed by spbequ. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DLAQSB + dependencies *> <a href="http://www...
bsd-3-clause
shernshiou/CarND
Term3/01-CarND-Path-Planning-Project/src/Eigen-3.3/lapack/zlarf.f
281
6278
*> \brief \b ZLARF * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ZLARF + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zlarf.f...
mit
zakki/lsd_slam_windows
thirdparty/eigen-3.2.5/lapack/zlarf.f
281
6278
*> \brief \b ZLARF * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ZLARF + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zlarf.f...
gpl-3.0
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/SRC/dstevr.f
5
19011
*> \brief <b> DSTEVR computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices</b> * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DSTEVR + dependencies *> <a...
bsd-3-clause
scarrazza/apfel
src/DIS/integrandspDIS.f
1
2680
************************************************************************ * * integrandspDIS.f: * * This functions return the integrands need to compute the polarised DIS * structure functions. * In order to wrap it in a form that can be fed to the integration * function DGAUSS, it is an explicit fu...
gpl-3.0
anshumang/lammps-analytics
lib/linalg/lsame.f
74
3146
*> \brief \b LSAME * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * LOGICAL FUNCTION LSAME(CA,CB) * * .. Scalar Arguments .. * CHARACTER CA,CB * .. * * *> \par Pu...
gpl-2.0
rgwan/gcc
gcc/testsuite/gfortran.dg/contained_3.f90
136
1216
! { dg-do run } ! Tests the fix for PR33897, in which gfortran missed that the ! declaration of 'setbd' in 'nxtstg2' made it external. Also ! the ENTRY 'setbd' would conflict with the external 'setbd'. ! ! Contributed by Michael Richmond <michael.a.richmond@nasa.gov> ! MODULE ksbin1_aux_mod CONTAINS SUBROUTINE nxts...
gpl-2.0
scarrazza/apfel
src/DIS/g1total.f
1
2851
************************************************************************ * * g1total.f: * * This function returns the value of the inclusive structure function * g1. * ************************************************************************ function g1total(x) * implicit none ** * Input Vari...
gpl-3.0
jrper/fluidity
femtools/Intersection_finder.F90
1
28108
#include "fdebug.h" module intersection_finder_module use fldebug use quadrature use elements use parallel_tools use data_structures use sparse_tools use fields_data_types use fields_base use adjacency_lists use linked_lists use fields_allocates use parallel_fields use transform_elements #ifdef HAVE_LIBSUPERMESH use ...
lgpl-2.1
emb-team/loongson-gccgo
gcc/testsuite/gfortran.dg/typebound_operator_15.f90
141
1943
! { dg-do run } ! ! PR fortran/53255 ! ! Contributed by Reinhold Bader. ! ! Before TYPE(ext)'s .tr. wrongly called the base type's trace ! instead of ext's trace_ext. ! module mod_base implicit none private integer, public :: base_cnt = 0 type, public :: base private real :: r(2,2) = reshape( (/ 1.0, ...
gpl-2.0
rgwan/gcc
gcc/testsuite/gfortran.dg/gomp/pr29759.f90
179
1030
! PR fortran/29759 ! { dg-do compile } PROGRAM test_omp !$OMP PARALLEL & !$OMP NUM_THREADS(2) !$OMP END PARALLEL !$OMP PARALLEL & !$OMP & NUM_THREADS(2) !$OMP END PARALLEL !$OMP PARALLEL & ! !$OMP NUM_THREADS(2) !$OMP END PARALLEL !$OMP PARALLEL & ! !$OMP & NUM_THREADS(2) !$OMP END PARALLEL !$OMP PARALLEL & ! { ...
gpl-2.0
itsimbal/gcc.cet
gcc/testsuite/gfortran.dg/elemental_optional_args_6.f90
9
1652
! { dg-do run } ! { dg-options "-Wpedantic" } ! ! PR fortran/53692 ! ! Check that the nonabsent arrary is used for scalarization: ! Either the NONOPTIONAL one or, if there are none, any array. ! ! Based on a program by Daniel C Chen ! Program main implicit none integer :: arr1(2), arr2(2) arr1 = [ 1, 2 ] arr2 =...
gpl-2.0
CapeDrew/DITK
Modules/ThirdParty/Netlib/src/netlib/slatec/d9gmit.f
48
2597
*DECK D9GMIT DOUBLE PRECISION FUNCTION D9GMIT (A, X, ALGAP1, SGNGAM, ALX) C***BEGIN PROLOGUE D9GMIT C***SUBSIDIARY C***PURPOSE Compute Tricomi's incomplete Gamma function for small C arguments. C***LIBRARY SLATEC (FNLIB) C***CATEGORY C7E C***TYPE DOUBLE PRECISION (R9GMIT-S, D9GMIT-D) C***KEYW...
apache-2.0
emb-team/loongson-gccgo
gcc/testsuite/gfortran.dg/char_result_8.f90
188
1068
! Related to PR 15326. Compare functions that return string pointers with ! functions that return strings. ! { dg-do run } program main implicit none character (len = 30), target :: string call test (f1 (), 30) call test (f2 (50), 50) call test (f3 (), 30) call test (f4 (70), 70) call indirect (100) c...
gpl-2.0
sriki18/scipy
scipy/linalg/src/id_dist/src/idd_house.f
100
6886
c this file contains the following user-callable routines: c c c routine idd_house calculates the vector and scalar c needed to apply the Householder tranformation reflecting c a given vector into its first component. c c routine idd_houseapp applies a Householder matrix to a vector. c c c...
bsd-3-clause
rgwan/gcc
libgfortran/generated/_exp_r10.F90
47
1474
! Copyright (C) 2002-2015 Free Software Foundation, Inc. ! Contributed by Paul Brook <paul@nowt.org> ! !This file is part of the GNU Fortran 95 runtime library (libgfortran). ! !GNU libgfortran is free software; you can redistribute it and/or !modify it under the terms of the GNU General Public !License as publishe...
gpl-2.0
Gd58/gcc
gcc/testsuite/gfortran.dg/g77/f77-edit-t-in.f
166
1151
C Test Fortran 77 T edit descriptor for input C (ANSI X3.9-1978 Section 13.5.3.2) C C Origin: David Billinghurst <David.Billinghurst@riotinto.com> C C { dg-do run } C { dg-options "-std=legacy" } C integer i,j real a,b,c,d,e character*32 in in = '1234 8' read(in,'(T3,I1)') i ...
gpl-2.0
rgwan/gcc
gcc/testsuite/gfortran.dg/g77/f77-edit-t-in.f
166
1151
C Test Fortran 77 T edit descriptor for input C (ANSI X3.9-1978 Section 13.5.3.2) C C Origin: David Billinghurst <David.Billinghurst@riotinto.com> C C { dg-do run } C { dg-options "-std=legacy" } C integer i,j real a,b,c,d,e character*32 in in = '1234 8' read(in,'(T3,I1)') i ...
gpl-2.0
rgwan/gcc
libgfortran/generated/_sqrt_r10.F90
47
1479
! Copyright (C) 2002-2015 Free Software Foundation, Inc. ! Contributed by Paul Brook <paul@nowt.org> ! !This file is part of the GNU Fortran 95 runtime library (libgfortran). ! !GNU libgfortran is free software; you can redistribute it and/or !modify it under the terms of the GNU General Public !License as publishe...
gpl-2.0
Gd58/gcc
gcc/testsuite/gfortran.dg/ieee/large_3.F90
46
3667
! { dg-do run } ! { dg-additional-options "-ffree-line-length-none" } ! { dg-additional-options "-mfp-trap-mode=sui" { target alpha*-*-* } } ! ! Use dg-additional-options rather than dg-options to avoid overwriting the ! default IEEE options which are passed by ieee.exp and necessary. use ieee_features use ieee_ex...
gpl-2.0
sriki18/scipy
scipy/special/cdflib/cdfchi.f
109
6534
SUBROUTINE cdfchi(which,p,q,x,df,status,bound) C********************************************************************** C C SUBROUTINE CDFCHI( WHICH, P, Q, X, DF, STATUS, BOUND ) C Cumulative Distribution Function C CHI-Square distribution C C C Functio...
bsd-3-clause
mingwpy/scipy
scipy/special/cdflib/cdfchi.f
109
6534
SUBROUTINE cdfchi(which,p,q,x,df,status,bound) C********************************************************************** C C SUBROUTINE CDFCHI( WHICH, P, Q, X, DF, STATUS, BOUND ) C Cumulative Distribution Function C CHI-Square distribution C C C Functio...
bsd-3-clause
itsimbal/gcc.cet
gcc/testsuite/gfortran.dg/where_operator_assign_1.f90
136
2356
! { dg-do compile } ! Tests the fix for PR30407, in which operator assignments did not work ! in WHERE blocks or simple WHERE statements. This is the test provided ! by the reporter. ! ! Contributed by Dominique d'Humieres <dominiq@lps.ens.fr> !==========================================================================...
gpl-2.0
rgwan/gcc
gcc/testsuite/gfortran.dg/pr58968.f
113
3439
C PR rtl-optimization/58968.f C { dg-do compile { target powerpc*-*-*} } C { dg-options "-mcpu=power7 -O3 -w -ffast-math -funroll-loops" } SUBROUTINE MAKTABS(IW,SOME,LBOX1,LBOX2,LBOX3,NSPACE,NA,NB, * LBST,X, * NX,IAMA,IAMI,IBMA,IBMI,MNUM,IDIM,MSTA,IBO, * IDSYM,ISYM...
gpl-2.0
itsimbal/gcc.cet
gcc/testsuite/gfortran.dg/pr58968.f
113
3439
C PR rtl-optimization/58968.f C { dg-do compile { target powerpc*-*-*} } C { dg-options "-mcpu=power7 -O3 -w -ffast-math -funroll-loops" } SUBROUTINE MAKTABS(IW,SOME,LBOX1,LBOX2,LBOX3,NSPACE,NA,NB, * LBST,X, * NX,IAMA,IAMI,IBMA,IBMI,MNUM,IDIM,MSTA,IBO, * IDSYM,ISYM...
gpl-2.0
PHASTA/phasta
phSolver/incompressible/e3ql.f
5
9269
subroutine e3ql (yl, dwl, shp, shgl, & xl, ql, xmudmi, & sgn ) c c---------------------------------------------------------------------- c c This routine computes the local diffus...
bsd-3-clause
PHASTA/phasta
phSolver/AMG/ramg_control.f
5
10834
!********************************************************* ! ramg control ! Control AMG preparation/solve process ! will have dynamic control (based on solver vecters) !********************************************************* subroutine ramg_control(colm,rowp,lhsK,lhsP, & ...
bsd-3-clause
itsimbal/gcc.cet
gcc/testsuite/gfortran.fortran-torture/compile/pr39937.f
181
1152
SUBROUTINE DTREVC( SIDE, HOWMNY, SELECT, N, T, LDT, VL, LDVL, VR, $ LDVR, MM, M, WORK, INFO ) DOUBLE PRECISION T( LDT, * ), VL( LDVL, * ), VR( LDVR, * ), $ WORK( * ) DOUBLE PRECISION X( 2, 2 ) CALL DLALN2( .FALSE., 1, 1, SMIN, ONE, T( J, J ), ...
gpl-2.0
emb-team/loongson-gccgo
gcc/testsuite/gfortran.dg/graphite/pr38953.f90
159
6495
! { dg-options "-O3 -fgraphite-identity" } MODULE MAIN1 INTEGER , PARAMETER :: IFMAX = 40 , IKN = 85 , ISTRG = 132 , & & IERRN = 170 , ILEN_FLD = 80 CHARACTER PATH*2 , PPATH*2 , KEYWRD*8 , PKEYWD*8 , KEYWD*8 , & & KTYPE*5 , RUNST*1 DIMENSION F...
gpl-2.0
itsimbal/gcc.cet
libgomp/testsuite/libgomp.fortran/lastprivate2.f90
182
3274
program lastprivate integer :: i, k common /c/ i, k !$omp parallel num_threads (4) call test1 !$omp end parallel if (i .ne. 21 .or. k .ne. 20) call abort !$omp parallel num_threads (4) call test2 !$omp end parallel if (i .ne. 64 .or. k .ne. 61) call abort !$omp parallel num_threads (4) call test...
gpl-2.0
emb-team/loongson-gccgo
gcc/testsuite/gfortran.dg/assumed_rank_7.f90
135
1674
! { dg-do run } ! ! PR fortran/48820 ! ! Handle type/class for assumed-rank arrays ! ! FIXME: Passing a CLASS to a CLASS has to be re-enabled. implicit none type t integer :: i end type class(T), allocatable :: ac(:,:) type(T), allocatable :: at(:,:) integer :: i allocate(ac(2:3,2:4)) allocate(at(2:3,2:4)) i = 0 c...
gpl-2.0
jrper/fluidity
femtools/tests/test_supermesh_shapes_ac.F90
4
6107
! Copyright (C) 2006 Imperial College London and others. ! ! Please see the AUTHORS file in the main source directory for a full list ! of copyright holders. ! ! Prof. C Pain ! Applied Modelling and Computation Group ! Department of Earth Science and Engineeringp ! Imperial College London ! ! ...
lgpl-2.1
Gd58/gcc
gcc/testsuite/gfortran.dg/interface_3.f90
155
1587
! { dg-do compile } ! Tests the fix for PR20880, which was due to failure to the failure ! to detect the USE association of a nameless interface for a ! procedure with the same name as the encompassing scope. ! ! Contributed by Joost VandeVondele <jv244@cam.ac.uk> ! ! Modified for PR fortran/34657 ! module test_mod in...
gpl-2.0
jrper/fluidity
libmba2d/minim.f
7
4425
C************************************************************* C MINIMIZATION OF THE NONLINEAR FUNCTIONAL FUNC(U) C IN GIVEN DIRECTION ZZ C************************************************************* Subroutine minim( C group(F) & nU, U, ZZ, Lamda1, Lamda2, fMin, U1, & icnt, rMove,...
lgpl-2.1
Gd58/gcc
gcc/testsuite/gfortran.dg/vect/fast-math-vect-8.f90
56
2073
! { dg-do compile } ! { dg-require-effective-target vect_float } ! { dg-require-visibility "" } module solv_cap implicit none public :: init_solve integer, parameter, public :: dp = 4 real(kind=dp), private :: Pi, Mu0, c0, eps0 logical, private :: UseFFT, UsePreco real(kind=dp), private :: D1,...
gpl-2.0
itsimbal/gcc.cet
gcc/testsuite/gfortran.dg/operator_4.f90
155
2879
! PR 17711 : Verify error message text meets operator in source ! { dg-do compile } MODULE mod_t type :: t integer :: x end type INTERFACE OPERATOR(==) MODULE PROCEDURE t_eq END INTERFACE INTERFACE OPERATOR(/=) MODULE PROCEDURE t_ne END INTERFACE INTERFACE OPERATOR(>) MODULE PROCEDURE ...
gpl-2.0
PHASTA/phasta
phSolver/incompressible/asbflx.f
5
3233
subroutine AsBFlx (u, y, ac, & x, shpb, & shglb, ienb, iBCB, & BCB, invflx, flxres, & flxLHS, flxnrm, xKebe ) c c-----------------------------...
bsd-3-clause
CapeDrew/DITK
Modules/ThirdParty/VNL/src/vxl/v3p/netlib/lapack/complex16/zgebal.f
44
9063
SUBROUTINE ZGEBAL( JOB, N, A, LDA, ILO, IHI, SCALE, INFO ) * * -- LAPACK routine (version 3.0) -- * Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., * Courant Institute, Argonne National Lab, and Rice University * June 30, 1999 * * .. Scalar Arguments .. CHARACTER JOB ...
apache-2.0
mingwpy/scipy
scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/snaupd.f
103
29700
c\BeginDoc c c\Name: snaupd c c\Description: c Reverse communication interface for the Implicitly Restarted Arnoldi c iteration. This subroutine computes approximations to a few eigenpairs c of a linear operator "OP" with respect to a semi-inner product defined by c a symmetric positive semi-definite real matrix...
bsd-3-clause
Gd58/gcc
gcc/testsuite/gfortran.dg/array_function_3.f90
155
1631
! { dg-do compile } ! PR fortran/36167 ! This used to cause an ICE because of a missing array spec after interface ! mapping. ! Contributed by Frank Muldoon <fmuldoo@me.lsu.edu> module communication_tools contains !******************************************************************************* function overlap_1...
gpl-2.0
sriki18/scipy
scipy/interpolate/fitpack/fppogr.f
148
14234
subroutine fppogr(iopt,ider,u,mu,v,mv,z,mz,z0,r,s,nuest,nvest, * tol,maxit,nc,nu,tu,nv,tv,c,fp,fp0,fpold,reducu,reducv,fpintu, * fpintv,dz,step,lastdi,nplusu,nplusv,lasttu,nru,nrv,nrdatu, * nrdatv,wrk,lwrk,ier) c .. c ..scalar arguments.. integer mu,mv,mz,nuest,nvest,maxit,nc,nu,nv,lastdi,n...
bsd-3-clause
jrper/fluidity
femtools/Streamfunction.F90
4
10968
! Copyright (C) 2010 Imperial College London and others. ! ! Please see the AUTHORS file in the main source directory for a full list ! of copyright holders. ! ! Prof. C Pain ! Applied Modelling and Computation Group ! Department of Earth Science and Engineering ! Imperial College London ! ! ...
lgpl-2.1
jrper/fluidity
assemble/Advection_Diffusion_CG.F90
2
66149
! Copyright (C) 2006 Imperial College London and others. ! ! Please see the AUTHORS file in the main source directory for a full list ! of copyright holders. ! ! Prof. C Pain ! Applied Modelling and Computation Group ! Department of Earth Science and Engineering ! Imperial College ...
lgpl-2.1
jrper/fluidity
tools/fldiagnostics.F90
5
3179
! Offline vtu diagnostics tools ! ! James Maddison #include "fdebug.h" subroutine fldiag_add_diag(input_name_, input_name_len, & & output_name_, output_name_len, & & outfield_name_, outfield_name_len, & & meshfield_name_, meshfield...
lgpl-2.1
emb-team/loongson-gccgo
gcc/testsuite/gfortran.dg/argument_checking_5.f90
174
1121
! { dg-do compile } ! ! PR fortran/30940 program test implicit none interface subroutine foobar(x) integer,dimension(4) :: x end subroutine foobar subroutine arr(y) integer,dimension(1,2,1,2) :: y end subroutine arr end interface integer a(3), b(5) call foobar(a) ! { dg-warning "contains too few elem...
gpl-2.0
davidinouye/lpmrf
mexcode/eigen/lapack/zladiv.f
280
2364
*> \brief \b ZLADIV * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ZLADIV + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zladi...
mit
emb-team/loongson-gccgo
gcc/testsuite/gfortran.dg/dummy_procedure_7.f90
136
1291
! { dg-do run } ! ! PR fortran/52022 ! module check integer, save :: icheck = 0 end module check module t implicit none contains subroutine sol(cost) use check interface function cost(p) result(y) double precision,dimension(:) :: p double precision,dimension(:)...
gpl-2.0
rgwan/gcc
gcc/testsuite/gfortran.dg/bound_simplification_5.f90
48
2258
! { dg-do run } ! { dg-additional-options "-fcoarray=single -fdump-tree-original" } ! ! Check that {L,U}{,CO}BOUND intrinsics are properly simplified. ! implicit none type :: t integer :: c end type t type(t) :: d(3:8) = t(7) type(t) :: e[5:9,-1:*] type(t) :: h(3), j(4), k(0) !Test full arrays vs s...
gpl-2.0
Gd58/gcc
gcc/testsuite/gfortran.dg/pr66311.f90
54
2211
! { dg-do run } ! { dg-additional-options "-fno-range-check -w" } ! ! Check that we can print large constants ! ! "-fno-range-check -w" is used so the testcase compiles even with targets ! that don't support large integer kinds. program test use iso_fortran_env, only : ikinds => integer_kinds implicit none ! La...
gpl-2.0
itsimbal/gcc.cet
gcc/testsuite/gfortran.dg/defined_operators_1.f90
34
1995
! { dg-do compile } ! { dg-options "-std=legacy" } ! Tests the fix for PR27122, in which the requirements of 12.3.2.1.1 ! for defined operators were not enforced. ! ! Based on PR test by Thomas Koenig <tkoenig@gcc.gnu.org> ! module mymod interface operator (.foo.) module procedure foo_0 module procedure f...
gpl-2.0
emb-team/loongson-gccgo
libgomp/testsuite/libgomp.fortran/allocatable12.f90
102
2433
! { dg-do run } integer, allocatable :: a, b(:), c(:,:) logical :: l if (allocated (a) .or. allocated (b) .or. allocated (c)) call abort !$omp parallel private (a, b, c, l) l = .false. if (allocated (a) .or. allocated (b) .or. allocated (c)) call abort !$omp single allocate (a, b(6:9), c(3, 8:9)) a = 4...
gpl-2.0
sriki18/scipy
scipy/special/cdflib/alngam.f
133
3399
DOUBLE PRECISION FUNCTION alngam(x) C********************************************************************** C C DOUBLE PRECISION FUNCTION ALNGAM(X) C double precision LN of the GAMma function C C C Function C C C Returns the natural logarithm of GAMMA(X). C C C...
bsd-3-clause
jrper/fluidity
error_measures/tests/test_match_up_ellipsoids.F90
6
1338
subroutine test_match_up_ellipsoids use gradation_metric use unittest_tools implicit none real, dimension(3, 3) :: vec_P, vec_Q real, dimension(3) :: val_P, val_Q integer, dimension(3) :: perm_P, perm_Q logical :: fail vec_P(1, :) = (/0.00000000000000000000E+00, 0.36972895530693085375E-01, -0.99931...
lgpl-2.1
fabm-model/code
src/models/aed/aed_zoop_utils.F90
3
5432
!############################################################################### !# # !# aed_zoop_utils.F90 # !# ...
gpl-2.0
scarrazza/apfel
src/FTDY/src/writecDY.f
2
1634
************************************************************************ * * writecDY.f: * * It writes to disk the the Drell-Yan hard cross section * ************************************************************************ subroutine writecDY(outputfile) * implicit none * include "../commons/m...
gpl-3.0
CapeDrew/DITK
Modules/ThirdParty/VNL/src/vxl/v3p/netlib/laso/dnlaso.f
24
27019
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...
apache-2.0
mingwpy/scipy
scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dnconv.f
141
4085
c----------------------------------------------------------------------- c\BeginDoc c c\Name: dnconv c c\Description: c Convergence testing for the nonsymmetric Arnoldi eigenvalue routine. c c\Usage: c call dnconv c ( N, RITZR, RITZI, BOUNDS, TOL, NCONV ) c c\Arguments c N Integer. (INPUT) c Num...
bsd-3-clause
rgwan/gcc
gcc/testsuite/gfortran.dg/alloc_comp_basics_1.f90
46
3630
! { dg-do run } ! { dg-options "-fdump-tree-original" } ! ! Check some basic functionality of allocatable components, including that they ! are nullified when created and automatically deallocated when ! 1. A variable goes out of scope ! 2. INTENT(OUT) dummies ! 3. Function results ! ! ! Contributed by Erik Edelmann <...
gpl-2.0
itsimbal/gcc.cet
gcc/testsuite/gfortran.dg/coarray_27.f90
155
1163
! { dg-do compile } ! { dg-options "-fcoarray=single" } ! ! Coarray/coindex checks for MOVE_ALLOC ! integer, allocatable :: a(:), b(:)[:,:], c(:)[:,:] type t integer, allocatable :: d(:) end type t type(t) :: x[*] class(t), allocatable :: y[:], z[:], u call move_alloc (A, b) ! { dg-error "must have the same corank...
gpl-2.0
Gd58/gcc
libgomp/testsuite/libgomp.oacc-fortran/pset-1.f90
72
4225
! { dg-do run } program test implicit none integer, allocatable :: a1(:) integer, allocatable :: b1(:) integer, allocatable :: c1(:) integer, allocatable :: b2(:,:) integer, allocatable :: c3(:,:,:) allocate (a1(5)) if (.not.allocated (a1)) call abort() a1 = 10 !$acc parallel copy(a1(1:5)) a1(...
gpl-2.0
emb-team/loongson-gccgo
gcc/testsuite/gfortran.fortran-torture/execute/math.f90
174
2443
! Program to test mathematical intrinsics subroutine dotest (n, val4, val8, known) implicit none real(kind=4) val4, known real(kind=8) val8 integer n if (abs (val4 - known) .gt. 0.001) call abort if (abs (real (val8, kind=4) - known) .gt. 0.001) call abort end subroutine subroutine dotestc (n, val4,...
gpl-2.0
emb-team/loongson-gccgo
libgomp/testsuite/libgomp.fortran/omp_orphan.f
221
1188
C****************************************************************************** C FILE: omp_orphan.f C DESCRIPTION: C OpenMP Example - Parallel region with an orphaned directive - Fortran C Version C This example demonstrates a dot product being performed by an orphaned C loop reduction construct. Scoping of t...
gpl-2.0
rgwan/gcc
gcc/testsuite/gfortran.dg/pr63778.f
92
1542
! { dg-do compile } ! { dg-options "-O3 -ffast-math" } SUBROUTINE ZUNG2L( M, N, K, A, LDA, TAU, WORK, INFO ) COMPLEX*16 A( LDA, * ), TAU( * ), WORK( * ) IF( M.LT.0 ) THEN END IF CALL ZLARF( 'LEFT', M-N+II, II-1, A( 1, II ), 1, TAU( I ), A, $ LDA, WORK ) ...
gpl-2.0
jrper/fluidity
tools/triangle2vtu.F90
5
2829
! Copyright (C) 2006 Imperial College London and others. ! ! Please see the AUTHORS file in the main source directory for a full list ! of copyright holders. ! ! Prof. C Pain ! Applied Modelling and Computation Group ! Department of Earth Science and Engineering ! Imperial College London ! ! amc...
lgpl-2.1
mingwpy/scipy
scipy/linalg/src/id_dist/src/iddr_asvd.f
128
3181
c this file contains the following user-callable routines: c c c routine iddr_aid computes the SVD, to a specified rank, c of an arbitrary matrix. This routine is randomized. c c ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc c c c c subroutine iddr_asvd(m,n,a,krank,w,...
bsd-3-clause
jrper/fluidity
femtools/CV_Faces.F90
5
53047
! Copyright (C) 2006 Imperial College London and others. ! ! Please see the AUTHORS file in the main source directory for a full list ! of copyright holders. ! ! Prof. C Pain ! Applied Modelling and Computation Group ! Department of Earth Science and Engineering ! Imperial College London ! ! ...
lgpl-2.1
Gd58/gcc
gcc/testsuite/gfortran.dg/coarray_lock_3.f90
155
3087
! { dg-do compile } ! { dg-options "-fcoarray=single" } ! ! ! LOCK/LOCK_TYPE checks ! subroutine extends() use iso_fortran_env type t end type t type, extends(t) :: t2 ! { dg-error "coarray component, parent type .t. shall also have one" } type(lock_type), allocatable :: c(:)[:] end type t2 end subroutine extends m...
gpl-2.0
itsimbal/gcc.cet
gcc/testsuite/gfortran.dg/dec_structure_13.f90
29
1276
! { dg-do compile } ! { dg-options "-fdec-structure" } ! ! Verify that the comparisons in gfc_compare_derived_types can correctly ! match nested anonymous subtypes. ! subroutine sub0 (u) structure /t/ structure sub integer i end structure endstructure record /t/ u u.sub.i = 0 end subroutine sub0 ...
gpl-2.0
brodeau/sosie
src/mod_akima_2d.f90
1
28268
MODULE MOD_AKIMA_2D !!----------------------------------------------------------------- !! A Method Of Bivariate Interpolation And Smooth !! Surface Fitting Based On Local Procedures !! !! Hiroshi AKIMA, 1974 !! !! author={Akima, H.}, !! title={A Meth...
gpl-3.0
Gd58/gcc
gcc/testsuite/gfortran.dg/parameter_array_init_2.f90
171
1056
! { dg-do run } ! { dg-options "-std=gnu" } ! suppress the warning about line 15 ! Thrashes the fix for PR29400, where the scalar initializers ! were not expanded to arrays with the appropriate shape. ! ! Contributed by Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> ! integer,parameter :: i(1,1) = 0, j(2) = 42 ...
gpl-2.0
itsimbal/gcc.cet
gcc/testsuite/gfortran.dg/complex_read.f90
174
1314
! { dg-do run { target fd_truncate } } ! Test of the fix to the bug in NIST fm906.for. ! Contributed by Paul Thomas <pault@gcc.gnu.org> ! program complex_read complex :: a open (10, status="scratch") ! Test that we have not broken the one line form. write (10, *) " ( 0.99 , 9.9 )" rewind (10) ...
gpl-2.0
rgwan/gcc
libgomp/testsuite/libgomp.fortran/allocatable9.f90
102
6972
! { dg-do run } integer, allocatable :: a, b(:), c(:,:) logical :: l if (allocated (a) .or. allocated (b) .or. allocated (c)) call abort !$omp parallel private (a, b, c) if (allocated (a) .or. allocated (b) .or. allocated (c)) call abort allocate (a, b(-7:-1), c(2:3, 3:5)) if (.not.allocated (a)) call abor...
gpl-2.0
jrper/fluidity
femtools/tests/test_scalar_field_view.F90
7
1136
subroutine test_scalar_field_view use fields use state_module use vtk_interfaces use unittest_tools implicit none type(state_type) :: state type(scalar_field), pointer :: x integer :: stat logical :: allocated logical :: fail call vtk_read_state("data/pseudo2d.vtu", state) x => extract_scalar...
lgpl-2.1
jrper/fluidity
sediments/Sediment_Diagnostics.F90
4
32168
! Copyright (C) 2006-2009 Imperial College London and others. ! ! Please see the AUTHORS file in the main source directory for a full list ! of copyright holders. ! ! Prof. C Pain ! Applied Modelling and Computation Group ! Department of Earth Science and Engineering ! Imperial College London !...
lgpl-2.1
itsimbal/gcc.cet
gcc/testsuite/gfortran.dg/namelist_39.f90
166
1339
! { dg-do run } ! PR33421 and PR33253 Weird quotation of namelist output of character arrays ! Test case from Toon Moone, adapted by Jerry DeLisle <jvdelisle@gcc.gnu.org> ! Long names used to test line_buffer feature is working. program test implicit none character(len=45) :: b012345678901234567890123456789012345678...
gpl-2.0
emb-team/loongson-gccgo
gcc/testsuite/gfortran.dg/namelist_39.f90
166
1339
! { dg-do run } ! PR33421 and PR33253 Weird quotation of namelist output of character arrays ! Test case from Toon Moone, adapted by Jerry DeLisle <jvdelisle@gcc.gnu.org> ! Long names used to test line_buffer feature is working. program test implicit none character(len=45) :: b012345678901234567890123456789012345678...
gpl-2.0
emb-team/loongson-gccgo
gcc/testsuite/gfortran.dg/gomp/udr8.f90
100
15353
! { dg-do compile } ! { dg-options "-fmax-errors=1000 -fopenmp" } module m contains function fn1 (x, y) integer, intent(in) :: x, y integer :: fn1 fn1 = x + 2 * y end function subroutine sub1 (x, y) integer, intent(in) :: y integer, intent(out) :: x x = y end subroutine function fn2 (...
gpl-2.0