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 |
|---|---|---|---|---|---|
pnedunuri/scipy | scipy/optimize/minpack/chkder.f | 127 | 4892 | subroutine chkder(m,n,x,fvec,fjac,ldfjac,xp,fvecp,mode,err)
integer m,n,ldfjac,mode
double precision x(n),fvec(m),fjac(ldfjac,n),xp(n),fvecp(m),
* err(m)
c **********
c
c subroutine chkder
c
c this subroutine checks the gradients of m nonlinear functions
c in n var... | bsd-3-clause |
tkelman/OpenBLAS | lapack-netlib/TESTING/LIN/schksp.f | 32 | 17764 | *> \brief \b SCHKSP
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE SCHKSP( DOTYPE, NN, NVAL, NNS, NSVAL, THRESH, TSTERR,
* NMAX, A, AFAC, AINV, B... | bsd-3-clause |
tkelman/OpenBLAS | lapack-netlib/SRC/cunm2r.f | 24 | 7532 | *> \brief \b CUNM2R multiplies a general matrix by the unitary matrix from a QR factorization determined by cgeqrf (unblocked algorithm).
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CUNM2R + de... | bsd-3-clause |
blue236/gcc | libgfortran/generated/_acosh_r16.F90 | 47 | 1484 | ! 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 |
aamaricci/DMFTtools | src/.module_archive/greenfunx_deallocate_gf.f90 | 1 | 2066 | subroutine deallocate_matsubara_gf(fgk)
type(matsubara_gf),intent(inout) :: fgk
deallocate(fgk%iw,fgk%tau)
fgk%status=.false.
end subroutine deallocate_matsubara_gf
subroutine deallocate_matsubara_gf_(fgk)
type(matsubara_gf),intent(inout) :: fgk(:)
integer :: i,L1
L1=size(fgk,1)
d... | lgpl-3.0 |
sigma-random/gcc | gcc/testsuite/gfortran.dg/gomp/sharing-3.f90 | 162 | 1080 | ! { dg-do compile }
! { dg-options "-fopenmp" }
subroutine foo (vara, varb, varc, vard, n)
integer :: n, vara(n), varb(*), varc(:), vard(6), vare(6)
vare(:) = 0
!$omp parallel default(none) shared(vara, varb, varc, vard, vare)
!$omp master
vara(1) = 1
varb(1) = 1
varc(1) = 1
vard(1) =... | gpl-2.0 |
sigma-random/gcc | gcc/testsuite/gfortran.dg/no_arg_check_2.f90 | 20 | 6079 | ! { dg-do run }
! { dg-options "-fdump-tree-original" }
!
! PR fortran/39505
!
! Test NO_ARG_CHECK
! Copied from assumed_type_2.f90
!
module mod
use iso_c_binding, only: c_loc, c_ptr, c_bool
implicit none
interface my_c_loc
function my_c_loc1(x) bind(C)
import c_ptr
!GCC$ attributes NO_ARG_CHECK :: x
... | gpl-2.0 |
geodynamics/relax | src/friction3d.f90 | 1 | 15252 | !-----------------------------------------------------------------------
! Copyright 2007, 2008, 2009 Sylvain Barbot
!
! This file is part of RELAX
!
! RELAX 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, eit... | gpl-3.0 |
tkelman/OpenBLAS | lapack-netlib/SRC/zspsvx.f | 28 | 13208 | *> \brief <b> ZSPSVX 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 ZSPSVX + dependencies
*> <a href="http://w... | bsd-3-clause |
blue236/gcc | gcc/testsuite/gfortran.dg/auto_char_pointer_array_result_1.f90 | 188 | 1056 | ! { dg-do run }
! Tests the fixes for PR25597 and PR27096.
!
! This test combines the PR testcases.
!
character(10), dimension (2) :: implicit_result
character(10), dimension (2) :: explicit_result
character(10), dimension (2) :: source
source = "abcdefghij"
explicit_result = join_1(source)
if (any (explici... | gpl-2.0 |
sigma-random/gcc | gcc/testsuite/gfortran.dg/char_result_5.f90 | 188 | 2864 | ! Related to PR 15326. Test calls to string functions whose lengths
! depend on various types of scalar value.
! { dg-do run }
pure function select (selector, iftrue, iffalse)
logical, intent (in) :: selector
integer, intent (in) :: iftrue, iffalse
integer :: select
if (selector) then
select = iftrue
el... | gpl-2.0 |
tkelman/OpenBLAS | lapack-netlib/TESTING/LIN/zpbt01.f | 32 | 7476 | *> \brief \b ZPBT01
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE ZPBT01( UPLO, N, KD, A, LDA, AFAC, LDAFAC, RWORK,
* RESID )
*
* .. Scal... | bsd-3-clause |
blue236/gcc | gcc/testsuite/gfortran.dg/iso_fortran_env_1.f90 | 136 | 1193 | ! { dg-do run }
module iso_fortran_env
real :: x
end module iso_fortran_env
subroutine bar
use , intrinsic :: iso_fortran_env
implicit none
if (file_storage_size /= 8) call abort
if (character_storage_size /= 8) call abort
if (all (numeric_storage_size /= [ 8, 16, 32, 64, 128])) call abort
if (input_uni... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ncarg2d/src/libncarg/velvct/vvdata.f | 1 | 19378 | C
C $Id: vvdata.f,v 1.15 2008-07-27 00:17:35 haley Exp $
C
C Copyright (C) 2000
C University Corporation for Atmospheric Research
C All Rights Reserved
C
C The use of this Software is governed by a License ... | gpl-2.0 |
LeChuck42/or1k-gcc | libgfortran/generated/_sqrt_c10.F90 | 35 | 1489 | ! Copyright (C) 2002-2014 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 |
FRidh/scipy | scipy/linalg/src/id_dist/src/idzr_aid.f | 128 | 4815 | c this file contains the following user-callable routines:
c
c
c routine idzr_aid computes the ID, to a specified rank,
c of an arbitrary matrix. This routine is randomized.
c
c routine idzr_aidi initializes routine idzr_aid.
c
c
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc... | bsd-3-clause |
likev/ncl | ncl_ncarg_src/external/lapack/dgesc2.f | 43 | 3700 | SUBROUTINE DGESC2( N, A, LDA, RHS, IPIV, JPIV, SCALE )
*
* -- LAPACK auxiliary 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 ..
INTEGER ... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ncarg2d/src/examples/econpa/cpex01.f | 1 | 14391 |
PROGRAM CPEX01
C
C Define the error file, the Fortran unit number, the workstation type,
C and the workstation ID to be used in calls to GKS routines.
C
C PARAMETER (IERRF=6, LUNIT=2, IWTYPE=1, IWKID=1) ! NCGM
C PARAMETER (IERRF=6, LUNIT=2, IWTYPE=8, IWKID=1) ! X Windows
C PARAMETER (IE... | gpl-2.0 |
LeChuck42/or1k-gcc | gcc/testsuite/gfortran.dg/integer_exponentiation_5.F90 | 136 | 1741 | ! { dg-do run { xfail spu-*-* } }
! FAILs on SPU because of invalid result of 1.0/0.0 inline code
! { dg-options "-fno-range-check" }
! { dg-add-options ieee }
module mod_check
implicit none
interface check
module procedure check_i8
module procedure check_i4
module procedure check_r8
module procedu... | gpl-2.0 |
acquaman/acquaman | source/Eigen/blas/ztbmv.f | 184 | 12662 | SUBROUTINE ZTBMV(UPLO,TRANS,DIAG,N,K,A,LDA,X,INCX)
* .. Scalar Arguments ..
INTEGER INCX,K,LDA,N
CHARACTER DIAG,TRANS,UPLO
* ..
* .. Array Arguments ..
DOUBLE COMPLEX A(LDA,*),X(*)
* ..
*
* Purpose
* =======
*
* ZTBMV performs one of the matrix-vector operations
*
* x := ... | gpl-3.0 |
likev/ncl | ncl_ncarg_src/ngmath/src/lib/gridpack/cssgrid/cssgprnt.f | 1 | 5183 | C
C $Id: cssgprnt.f,v 1.5 2008-07-27 03:10:08 haley Exp $
C
C Copyright (C) 2000
C University Corporation for Atmospheric Research
C All Rights Reserved
C
C The use of this Software is governed by a License Agree... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/lapack/dlarfx.f | 16 | 17734 | SUBROUTINE DLARFX( SIDE, M, N, V, TAU, C, LDC, WORK )
*
* -- LAPACK auxiliary routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* February 29, 1992
*
* .. Scalar Arguments ..
CHARACTER ... | gpl-2.0 |
marshallward/mom | src/land_lad2/canopy_air/canopy_air.F90 | 9 | 22473 | ! ============================================================================
! canopy air
! ============================================================================
module canopy_air_mod
#include "../shared/debug.inc"
#include "../shared/concat.inc"
#ifdef INTERNAL_FILE_NML
use mpp_mod, only: input_nml_file
#el... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/lapack/slasq6.f | 5 | 4813 | SUBROUTINE SLASQ6( I0, N0, Z, PP, DMIN, DMIN1, DMIN2, DN,
$ DNM1, DNM2 )
*
* -- LAPACK auxiliary routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* October 31, 1999
*
* .. S... | gpl-2.0 |
FRidh/scipy | scipy/special/amos/zuni2.f | 157 | 8752 | SUBROUTINE ZUNI2(ZR, ZI, FNU, KODE, N, YR, YI, NZ, NLAST, FNUL,
* TOL, ELIM, ALIM)
C***BEGIN PROLOGUE ZUNI2
C***REFER TO ZBESI,ZBESK
C
C ZUNI2 COMPUTES I(FNU,Z) IN THE RIGHT HALF PLANE BY MEANS OF
C UNIFORM ASYMPTOTIC EXPANSION FOR J(FNU,ZN) WHERE ZN IS Z*I
C OR -Z*I AND ZN IS IN THE RIGHT HALF... | bsd-3-clause |
likev/ncl | ncl_ncarg_src/ncarg2d/src/fundamental/fgks/fgkgpm.f | 1 | 5523 |
PROGRAM FGKGPM
C
C Define the error file, the Fortran unit number, the workstation type,
C and the workstation ID to be used in calls to GKS routines.
C
C PARAMETER (IERRF=6, LUNIT=2, IWTYPE=1, IWKID=1) ! NCGM
C PARAMETER (IERRF=6, LUNIT=2, IWTYPE=8, IWKID=1) ! X Windows
C PARAMETER (IERRF=6, L... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ni/src/lib/nfpfort/plotgrids_var.f90 | 1 | 3331 | subroutine plotgrids_var(fname,plotvar)
implicit none
! Parameters
integer, parameter :: MAX_DOMAINS = 21
integer, parameter :: NVAR = 19
! Variables
integer :: i, j, funit, io_form_geogrid
integer :: interval_seconds
real, dimension(MAX_DOMAINS) :: parent_grid_ratio, parent_id, ixdim, jydim... | gpl-2.0 |
LeChuck42/or1k-gcc | gcc/testsuite/gfortran.dg/g77/19990826-1.f | 210 | 8631 | c { dg-do compile }
* Date: Tue, 24 Aug 1999 12:25:41 +1200 (NZST)
* From: Jonathan Ravens <ravens@whio.gns.cri.nz>
* To: gcc-bugs@gcc.gnu.org
* Subject: g77 bug report
* X-UIDL: a0bf5ecc21487cde48d9104983ab04d6
! This fortran source will not compile - if the penultimate elseif block is 0
! included then the message a... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/lapack/dgelq2.f | 15 | 3401 | SUBROUTINE DGELQ2( M, N, A, LDA, TAU, WORK, INFO )
*
* -- LAPACK routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* February 29, 1992
*
* .. Scalar Arguments ..
INTEGER INFO, LDA,... | gpl-2.0 |
mtrbean/scipy | scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/zsortc.f | 162 | 8112 | c\BeginDoc
c
c\Name: zsortc
c
c\Description:
c Sorts the Complex*16 array in X into the order
c specified by WHICH and optionally applies the permutation to the
c Double precision array Y.
c
c\Usage:
c call zsortc
c ( WHICH, APPLY, N, X, Y )
c
c\Arguments
c WHICH Character*2. (Input)
c 'LM' -> s... | bsd-3-clause |
nealkruis/kiva | vendor/eigen-da9b4e14c255/lapack/clarfb.f | 273 | 23424 | *> \brief \b CLARFB
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CLARFB + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/clarf... | gpl-3.0 |
CompPhysics/ThesisProjects | doc/MSc/msc_students/former/SeanMiller/Thesis/Codes/CCD_prototype/CCD/eigen3/lapack/clarfb.f | 273 | 23424 | *> \brief \b CLARFB
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CLARFB + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/clarf... | cc0-1.0 |
LeChuck42/or1k-gcc | gcc/testsuite/gfortran.dg/alloc_comp_assign_10.f90 | 136 | 1944 | ! { dg-do run }
!
! Test the fix for PR39879, in which gfc gagged on the double
! defined assignment where the rhs had a default initialiser.
!
! Contributed by David Sagan <david.sagan@gmail.com>
!
module test_struct
interface assignment (=)
module procedure tao_lat_equal_tao_lat
end interface
type bunch_par... | gpl-2.0 |
marshallward/mom | src/shared/horiz_interp/horiz_interp_bicubic.F90 | 6 | 29322 | module horiz_interp_bicubic_mod
use mpp_mod, only: mpp_error, FATAL, stdout, mpp_pe, mpp_root_pe
use fms_mod, only: write_version_number
use horiz_interp_type_mod, only: horiz_interp_type
use constants_mod, only: PI
implicit none
! This module delivers methods for bicu... | gpl-2.0 |
marshallward/mom | src/ocean_shared/generic_tracers/generic_miniBLING.F90 | 9 | 216944 | !----------------------------------------------------------------
! <CONTACT EMAIL="Eric.Galbraith@mcgill.ca"> Eric D. Galbraith
! </CONTACT>
!
! <CONTACT EMAIL="GFDL.Climate.Model.Info@noaa.gov"> John P. Dunne
! </CONTACT>
!
! <CONTACT EMAIL="GFDL.Climate.Model.Info@noaa.gov"> Anand Gnanandesikan
! </CONTACT>
!
! <CON... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/blas/strsm.f | 16 | 12281 | SUBROUTINE STRSM ( SIDE, UPLO, TRANSA, DIAG, M, N, ALPHA, A, LDA,
$ B, LDB )
* .. Scalar Arguments ..
CHARACTER*1 SIDE, UPLO, TRANSA, DIAG
INTEGER M, N, LDA, LDB
REAL ALPHA
* .. Array Arguments ..
REAL A( LDA, * )... | gpl-2.0 |
marshallward/mom | src/accessom_coupler/ocean_solo.F90 | 1 | 30326 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! !!
!! GNU General Public License !!
!! !!
!! This file is part of the Flex... | gpl-2.0 |
marshallward/mom | src/land_lad2/shared/nf_utils/nf_utils.F90 | 10 | 1040 | module nf_utils_mod
use nfu_mod ! netcdf utilities
use nfc_mod ! netcdf utilities for compressed files
implicit none
private
! ==== public interfaces =====================================================
! export stuff from nfu_mod
public :: nfu_inq_dim, nfu_inq_var, nfu_inq_att
public :: nfu_def_dim, nfu_def_var
pu... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/sphere3.1_dp/ivrtes.f | 1 | 14743 | c
c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c . .
c . copyright (c) 1998 by UCAR .
c . .
c . University Corporation for Atmospheric ... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ncarg2d/src/libncarg/wmap/wmdrrg.f | 1 | 5927 | C
C $Id: wmdrrg.f,v 1.10 2008-07-27 00:17:36 haley Exp $
C
C Copyright (C) 2000
C University Corporation for Atmospheric Research
C All Rights Reserved
C
C The use of this Software is governed by a License Agreem... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ncarg2d/src/libncarg/plotchar/pcrset.f | 1 | 2344 | C
C $Id: pcrset.f,v 1.4 2008-07-27 00:17:20 haley Exp $
C
C Copyright (C) 2000
C University Corporation for Atmospheric Research
C All Rights Reserved
C
C The use of this Software is governed by a License Agreeme... | gpl-2.0 |
mtrbean/scipy | scipy/optimize/minpack/dpmpar.f | 155 | 5790 | double precision function dpmpar(i)
integer i
c **********
c
c Function dpmpar
c
c This function provides double precision machine parameters
c when the appropriate set of data statements is activated (by
c removing the c from column 1) and all other data statements are
c rendered in... | bsd-3-clause |
wilfeli/DMGameBasic | ExternalTools/Eigen/lapack/dlarf.f | 273 | 6167 | *> \brief \b DLARF
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download DLARF + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlarf.f... | mit |
likev/ncl | ncl_ncarg_src/external/lapack/dsysv.f | 3 | 5969 | SUBROUTINE DSYSV( UPLO, N, NRHS, A, LDA, IPIV, B, LDB, WORK,
$ LWORK, INFO )
*
* -- LAPACK driver routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* June 30, 1999
*
* .. Scal... | gpl-2.0 |
mtrbean/scipy | scipy/odr/odrpack/d_lpk.f | 109 | 39771 | *DCHEX
SUBROUTINE DCHEX(R,LDR,P,K,L,Z,LDZ,NZ,C,S,JOB)
C***BEGIN PROLOGUE DCHEX
C***DATE WRITTEN 780814 (YYMMDD)
C***REVISION DATE 820801 (YYMMDD)
C***CATEGORY NO. D7B
C***KEYWORDS CHOLESKY DECOMPOSITION,DOUBLE PRECISION,EXCHANGE,
C LINEAR ALGEBRA,LINPACK,MATRIX,POSITIVE DEFINITE
C***AUTHOR ... | bsd-3-clause |
LeChuck42/or1k-gcc | gcc/testsuite/gfortran.dg/string_length_2.f90 | 63 | 1844 | ! { dg-do run }
! { dg-options "-fdump-tree-original" }
! Test that all string length calculations are
! optimized away.
program main
character (len=999) :: c
character (len=5) :: unit
unit = ' '
read (unit=unit,fmt='(I5)') i ! Hide from optimizers
j = 7
c = '123456789'
if (len(c( 3 : ... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/sphere3.1_dp/divec.f | 1 | 12716 | c
c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c . .
c . copyright (c) 1998 by UCAR .
c . .
c . University Corporation for Atmospheric ... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/lapack/dlarrb.f | 4 | 8656 | SUBROUTINE DLARRB( N, D, L, LD, LLD, IFIRST, ILAST, SIGMA, RELTOL,
$ W, WGAP, WERR, WORK, IWORK, INFO )
*
* -- LAPACK auxiliary routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* ... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/lapack/zheevr.f | 3 | 18695 | SUBROUTINE ZHEEVR( JOBZ, RANGE, UPLO, N, A, LDA, VL, VU, IL, IU,
$ ABSTOL, M, W, Z, LDZ, ISUPPZ, WORK, LWORK,
$ RWORK, LRWORK, IWORK, LIWORK, INFO )
*
* -- LAPACK driver routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* ... | gpl-2.0 |
marshallward/mom | src/shared/diag_manager/diag_grid.F90 | 6 | 44090 | #include <fms_platform.h>
MODULE diag_grid_mod
! <CONTACT EMAIL="seth.underwood@noaa.gov">
! Seth Underwood
! </CONTACT>
! <HISTORY SRC="http://www.gfdl.noaa.gov/fms-cgi-bin/cvsweb.cgi/FMS/" />
! <OVERVIEW>
! <TT>diag_grid_mod</TT> is a set of procedures to work with the
! model's global grid to al... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/sphere3.1_dp/vhsgs.f | 1 | 48891 | c
c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c . .
c . copyright (c) 1998 by UCAR .
c . .
c . University Corporation for Atmospheric ... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/sphere3.1_dp/vrtec.f | 1 | 12833 | c
c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c . .
c . copyright (c) 1998 by UCAR .
c . .
c . University Corporation for Atmospheric ... | gpl-2.0 |
FRidh/scipy | scipy/special/amos/dgamln.f | 178 | 8597 | DOUBLE PRECISION FUNCTION DGAMLN(Z,IERR)
C***BEGIN PROLOGUE DGAMLN
C***DATE WRITTEN 830501 (YYMMDD)
C***REVISION DATE 830501 (YYMMDD)
C***CATEGORY NO. B5F
C***KEYWORDS GAMMA FUNCTION,LOGARITHM OF GAMMA FUNCTION
C***AUTHOR AMOS, DONALD E., SANDIA NATIONAL LABORATORIES
C***PURPOSE TO COMPUTE THE LOGARIT... | bsd-3-clause |
marshallward/mom | src/ice_sis/mask.F90 | 11 | 4147 | !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~!
! mask_mod reads the land/sea mask from netCDF file - Mike Winton (Michael.Winton)!
!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~!
module mask_mod
use rot_mod, only: rot_intrp_sclr
use fms_mod, only: er... | gpl-2.0 |
marshallward/mom | src/atmos_spectral/tools/spec_mpp.F90 | 10 | 5361 | module spec_mpp_mod
!Balaji (V.Balaji)
!This module holds the data for the domains used by the spectral transform module
!This is the version for the transpose method
use fms_mod, only: mpp_pe, mpp_root_pe, mpp_npes, write_version_number, mpp_error, FATAL
use mpp_domains_mod, only: mpp_domains_init, domai... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ncarg2d/src/libncarg_gks/bwi/gputps.f | 1 | 3257 | C
C $Id: gputps.f,v 1.7 2008-07-27 00:21:06 haley Exp $
C
C Copyright (C) 2000
C University Corporation for Atmospheric Research
C All Rights Reserved
C
C The use of this Software is governed by a License Agreeme... | gpl-2.0 |
jcarlson23/lammps | lib/linalg/dlacn2.f | 7 | 5862 | SUBROUTINE DLACN2( N, V, X, ISGN, EST, KASE, ISAVE )
*
* -- 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..--
* November 2006
*
* .. Scalar Arguments ..
INTE... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ncarg2d/src/libncarg/srface/draws.f | 1 | 5308 | C
C $Id: draws.f,v 1.6 2008-07-27 00:17:25 haley Exp $
C
C Copyright (C) 2000
C University Corporation for Atmospheric Research
C All Rights Reserved
C
C The use of this Software is governed by a License Agreement.
C
SUBROUTINE DRAWS (MX1,MY1,MX2,MY2,IDRAW,IMARK)
C
C THIS ROU... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/lapack/dlantr.f | 7 | 8868 | DOUBLE PRECISION FUNCTION DLANTR( NORM, UPLO, DIAG, M, N, A, LDA,
$ WORK )
*
* -- LAPACK auxiliary routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* October 31, 1992
*
* .. S... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ngmath/src/examples/eshgrid/shex03.f | 1 | 3063 |
PROGRAM SHEX03
C
C Create a tube-shaped isosurface.
C
C The number of input data points.
C
PARAMETER (NDATA=1000)
C
C The number of output data points in the X coordinate direction.
C
PARAMETER (NX=21)
C
C The number of output data points in the Y coordinate direction.
C
PARAMETER (NY=31)
C... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/lapack/cgetc2.f | 2 | 4327 | SUBROUTINE CGETC2( N, A, LDA, IPIV, JPIV, INFO )
*
* -- LAPACK auxiliary 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 ..
INTEGER INFO, ... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ncarg2d/src/libncarg/pwritx/pwritx.f | 1 | 47925 | C
C $Id: pwritx.f,v 1.7 2009-08-06 20:55:14 fred Exp $
C
C Copyright (C) 2000
C University Corporation for Atmospheric Research
C All Rights Reserved
C
C The use of this Software is governed by a License Agreemen... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/sphere3.1_dp/shagc.f | 1 | 26520 | c
c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
c . .
c . copyright (c) 1998 by UCAR .
c . .
c . University Corporation for Atmospheric ... | gpl-2.0 |
TApplencourt/quantum_package | src/determinants/fock_diag.irp.f | 1 | 2944 | subroutine build_fock_tmp(fock_diag_tmp,det_ref,Nint)
use bitmasks
implicit none
BEGIN_DOC
! Build the diagonal of the Fock matrix corresponding to a generator
! determinant. $F_{00}$ is $\langle i|H|i \rangle = E_0$.
END_DOC
integer, intent(in) :: Nint
integer(bit_kind), intent(in) :: det_ref(N... | gpl-3.0 |
mtrbean/scipy | scipy/integrate/odepack/xerrwv.f | 155 | 5250 | subroutine xerrwv (msg, nmes, nerr, level, ni, i1, i2, nr, r1, r2)
integer msg, nmes, nerr, level, ni, i1, i2, nr,
1 i, lun, lunit, mesflg, ncpw, nch, nwds
double precision r1, r2
dimension msg(nmes)
c-----------------------------------------------------------------------
c subroutines xe... | bsd-3-clause |
marshallward/mom | src/mom5/ocean_param/gotm-4.0/turbulence/cmue_sg.F90 | 10 | 3380 | #include"cppdefs.h"
!-----------------------------------------------------------------------
!BOP
!
! !ROUTINE: The Schumann and Gerz (1995) stability function\label{sec:sg}
!
! !INTERFACE:
subroutine cmue_sg(nlev)
!
! !DESCRIPTION:
! This subroutine computes stability functions according to
! \begin{equation}
! c_... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/lapack/csyr.f | 2 | 5983 | SUBROUTINE CSYR( UPLO, N, ALPHA, X, INCX, A, LDA )
*
* -- LAPACK auxiliary routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* October 31, 1992
*
* .. Scalar Arguments ..
CHARACTER U... | gpl-2.0 |
LeChuck42/or1k-gcc | gcc/testsuite/gfortran.dg/allocate_error_2.f90 | 181 | 1104 | ! { dg-do compile }
program main
type t1
integer, allocatable :: x(:)
integer, allocatable :: y(:)
end type t1
type(t1), allocatable :: v(:)
allocate (v(3), v(4)) ! { dg-error "Allocate-object at \\(1\\) also appears at \\(2\\)" }
allocate (v(1), v(1)%x(2)) ! { dg-error "Allocate-object at \\(1\\) ... | gpl-2.0 |
alexchenfeng/mathcosmos | src/numerical/slatec/fortran/dqage.f | 14 | 14036 | *DECK DQAGE
SUBROUTINE DQAGE (F, A, B, EPSABS, EPSREL, KEY, LIMIT, RESULT,
+ ABSERR, NEVAL, IER, ALIST, BLIST, RLIST, ELIST, IORD, LAST)
C***BEGIN PROLOGUE DQAGE
C***PURPOSE The routine calculates an approximation result to a given
C definite integral I = Integral of F over (A,B),
C ... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ncarg2d/src/libncarg/ezmap/mdinch.f | 1 | 1269 | C
C $Id: mdinch.f,v 1.8 2008-09-18 00:42:17 kennison Exp $
C
C Copyright (C) 2000
C University Corporation for Atmospheric Research
C All Rights Reserved
C
C The use of this Software is governed by a License Agreement.
C
SUBROUTINE MDINCH (INUM,CHRS,NCHR)
C
C This routine, wh... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/blas/ssymm.f | 11 | 9832 | SUBROUTINE SSYMM ( SIDE, UPLO, M, N, ALPHA, A, LDA, B, LDB,
$ BETA, C, LDC )
* .. Scalar Arguments ..
CHARACTER*1 SIDE, UPLO
INTEGER M, N, LDA, LDB, LDC
REAL ALPHA, BETA
* .. Array Arguments ..
REAL A( LDA, * ), B... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ngmath/src/examples/enatgrid/nnex02.f | 1 | 2197 |
PROGRAM NNEX02
C
C Simple example of natural neighbor linear regridding.
C
PARAMETER(ISLIM = 6, NUMXOUT = 21, NUMYOUT = 21)
C
C Dimension for the work space for the NCAR Graphics call to
C SRFACE to plot the interpolated grid.
C
PARAMETER(IDIM=2*NUMXOUT*NUMYOUT)
C
C Define the error file, the Fort... | gpl-2.0 |
alexchenfeng/mathcosmos | share/lapack/lapack/fortran/zlaqr2.f | 9 | 17433 | *> \brief \b ZLAQR2
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download ZLAQR2 + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zlaqr... | gpl-2.0 |
shivekkhurana/learning | c++/eigen-eigen-36fd1ba04c12/blas/stbmv.f | 184 | 11076 | SUBROUTINE STBMV(UPLO,TRANS,DIAG,N,K,A,LDA,X,INCX)
* .. Scalar Arguments ..
INTEGER INCX,K,LDA,N
CHARACTER DIAG,TRANS,UPLO
* ..
* .. Array Arguments ..
REAL A(LDA,*),X(*)
* ..
*
* Purpose
* =======
*
* STBMV performs one of the matrix-vector operations
*
* x := A*x, or ... | mit |
marshallward/mom | 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 |
alexchenfeng/mathcosmos | share/lapack/lapack/fortran/dbdsqr.f | 17 | 23201 | SUBROUTINE DBDSQR( UPLO, N, NCVT, NRU, NCC, D, E, VT, LDVT, U,
$ LDU, C, LDC, WORK, INFO )
*
* -- LAPACK routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* October 31, 1999
*
* ... | gpl-2.0 |
alexchenfeng/mathcosmos | share/lapack/lapack/fortran/dlarft.f | 59 | 7169 | SUBROUTINE DLARFT( DIRECT, STOREV, N, K, V, LDV, TAU, T, LDT )
*
* -- LAPACK auxiliary routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* February 29, 1992
*
* .. Scalar Arguments ..
CHARACT... | gpl-2.0 |
marshallward/mom | src/atmos_param/donner_deep/nonfms_donner.F90 | 10 | 24523 | module nonfms_donner_mod
use sat_vapor_pres_k_mod, only: sat_vapor_pres_init_k ! replace with
! non-FMS interface
use donner_types_mod, only: donner_initialized_type, &
donner_save_type, donner_rad_typ... | gpl-2.0 |
mtrbean/scipy | scipy/optimize/minpack/r1updt.f | 125 | 5702 | subroutine r1updt(m,n,s,ls,u,v,w,sing)
integer m,n,ls
logical sing
double precision s(ls),u(m),v(n),w(m)
c **********
c
c subroutine r1updt
c
c given an m by n lower trapezoidal matrix s, an m-vector u,
c and an n-vector v, the problem is to determine an
c orthogonal matrix q... | bsd-3-clause |
LeChuck42/or1k-gcc | libgfortran/generated/_cos_r4.F90 | 35 | 1468 | ! Copyright (C) 2002-2014 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 |
CompPhysics/ThesisProjects | doc/MSc/msc_students/former/SeanMiller/Thesis/Codes/CCD_prototype/CCD/eigen3/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... | cc0-1.0 |
LeChuck42/or1k-gcc | gcc/testsuite/gfortran.dg/whole_file_9.f90 | 169 | 1069 | ! { dg-do compile }
! { dg-options "-fwhole-file" }
! Test the fix for the fourth problem in PR40011, where the
! entries were not resolved, resulting in a segfault.
!
! Contributed by Dominique d'Humieres <dominiq@lps.ens.fr>
!
program test
interface
function bad_stuff(n)
integer :: bad_stuff (2)
integer :: ... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ngmath/src/lib/gridpack/fitgrid/curv2.f | 1 | 2536 | C
C $Id: curv2.f,v 1.5 2008-07-27 03:10:10 haley Exp $
C
C Copyright (C) 2000
C University Corporation for Atmospheric Research
C All Rights Reserved
C
C The use of this Software is governed by a License Agreemen... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/lapack/dgebd2.f | 15 | 7994 | SUBROUTINE DGEBD2( M, N, A, LDA, D, E, TAUQ, TAUP, WORK, INFO )
*
* -- LAPACK routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* February 29, 1992
*
* .. Scalar Arguments ..
INTEGER ... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ncarg2d/src/examples/ewmap/wmex14.f | 1 | 34802 |
PROGRAM WMEX14
C
C An example of using the tools in the weather map library to
C create a color weather map.
C
C By default, the plot has a white background, to produce a plot
C with a black background, set IBTYPE=1 below.
C
PARAMETER (IBTYPE=0)
C
C Define the error file, the Fortran unit number, the... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/lapack/dpbtrf.f | 3 | 11962 | SUBROUTINE DPBTRF( UPLO, N, KD, AB, LDAB, INFO )
*
* -- LAPACK routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* March 31, 1993
*
* .. Scalar Arguments ..
CHARACTER UPLO
INTE... | gpl-2.0 |
acquaman/acquaman | source/Eigen/blas/dtpsv.f | 28 | 9449 | SUBROUTINE DTPSV(UPLO,TRANS,DIAG,N,AP,X,INCX)
* .. Scalar Arguments ..
INTEGER INCX,N
CHARACTER DIAG,TRANS,UPLO
* ..
* .. Array Arguments ..
DOUBLE PRECISION AP(*),X(*)
* ..
*
* Purpose
* =======
*
* DTPSV solves one of the systems of equations
*
* A*x = b, or A'*x = ... | gpl-3.0 |
jcarlson23/lammps | tools/chain.f | 19 | 8319 | c Create LAMMPS data file for collection of
c polymer bead-spring chains of various lengths and bead sizes
c Syntax: chain < def.chain > data.file
c def.chain is input file that specifies the chains
c data.file is output file that will be input for LAMMPS
c includes image flags in data file so chains can be unrav... | gpl-2.0 |
LeChuck42/or1k-gcc | gcc/testsuite/gfortran.dg/gomp/reduction3.f90 | 119 | 1410 | ! { dg-do compile }
module mreduction3
interface
function ior (a, b)
integer :: ior, a, b
end function
end interface
contains
function iand (a, b)
integer :: iand, a, b
iand = a + b
end function
end module mreduction3
subroutine f1
integer :: i, ior
ior = 6
i = 6
!$omp parallel redu... | gpl-2.0 |
TApplencourt/quantum_package | src/iterations/print_summary.irp.f | 1 | 3685 | subroutine print_summary(e_,pt2_,error_,variance_,norm_,n_det_,n_occ_pattern_,n_st)
implicit none
BEGIN_DOC
! Print the extrapolated energy in the output
END_DOC
integer, intent(in) :: n_det_, n_occ_pattern_, n_st
double precision, intent(in) :: e_(n_st), pt2_(n_st), variance_(n_st), norm_(n_st)... | gpl-3.0 |
likev/ncl | ncl_ncarg_src/external/lapack/clatrz.f | 2 | 4132 | SUBROUTINE CLATRZ( M, N, L, A, LDA, TAU, WORK )
*
* -- 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 ..
INTEGER L, LDA, M, N
* ... | gpl-2.0 |
nslu2/Build-gcc-3.2.1 | gcc/testsuite/g77.f-torture/compile/980419-2.f | 10 | 1650 | c SEGVs in loop.c with -O2.
character*80 function nxtlin(lun,ierr,itok)
character onechr*1,twochr*2,thrchr*3
itok=0
do while (.true.)
read (lun,'(a)',iostat=ierr) nxtlin
if (nxtlin(1:1).ne.'#') then
ito=0
do 10 it=1,79
if (nxtlin(it:i... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/lapack/cggbal.f | 2 | 13746 | SUBROUTINE CGGBAL( JOB, N, A, LDA, B, LDB, ILO, IHI, LSCALE,
$ RSCALE, WORK, INFO )
*
* -- LAPACK routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* September 30, 1994
*
* .... | gpl-2.0 |
wilfeli/DMGameBasic | ExternalTools/Eigen/lapack/ilaslc.f | 272 | 2941 | *> \brief \b ILASLC
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download ILASLC + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/ilasl... | mit |
RobinsonLab/GlobalCurve | models/physiology/three_state_SS/three_state_SS.f90 | 2 | 6634 | function three_state_SS(current_model,current_data,g_save) result(species)
use h_struct
use h_routine_specific_vars
! USE ode_path
! use numerical_libraries, only: neqnf
! use nr, only: newt
implicit none
type(model_struct), pointer :: current_model
type (data_struct),pointer :: current_data
real,dim... | apache-2.0 |
likev/ncl | ncl_ncarg_src/ni/src/examples/textitem/tx03f.f | 1 | 4929 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
C C
C Copyright (C) 1995 C
C University Corporation for Atmospheric Research C
C all rights ... | gpl-2.0 |
raphaeldussin/brushcutter | brushcutter/f90/mod_drown_sosie.f90 | 1 | 16209 | MODULE MOD_DROWN
! USE io_ezcdf
! USE mod_manip
IMPLICIT none
PRIVATE
PUBLIC :: drown
LOGICAL, PARAMETER :: ldebug = .FALSE.
CONTAINS
SUBROUTINE DROWN(k_ew, Xin, mask, Xout, nb_inc, nb_smooth, ni, nj)
!!#############################################################################
... | gpl-3.0 |
likev/ncl | ncl_ncarg_src/external/lapack/zherfs.f | 2 | 11306 | SUBROUTINE ZHERFS( UPLO, N, NRHS, A, LDA, AF, LDAF, IPIV, B, LDB,
$ X, LDX, FERR, BERR, WORK, RWORK, INFO )
*
* -- LAPACK routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* Sept... | gpl-2.0 |
FRidh/scipy | scipy/integrate/quadpack/dqk15w.f | 138 | 6667 | subroutine dqk15w(f,w,p1,p2,p3,p4,kp,a,b,result,abserr,
* resabs,resasc)
c***begin prologue dqk15w
c***date written 810101 (yymmdd)
c***revision date 830518 (mmddyy)
c***category no. h2a2a2
c***keywords 15-point gauss-kronrod rules
c***author piessens,robert,appl. math. & progr. div. - k.u.leuve... | bsd-3-clause |
RobinsonLab/GlobalCurve | header/h_binding_models.f90 | 2 | 1081 | module h_binding_models
interface
function hill(current_model,current_data) result(bind)
use h_struct
implicit none
type(model_struct), pointer :: current_model
type (data_struct),pointer :: current_data
real,dimension(current_data%len) :: bind
end function
function three_state_simple_model(current_... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.