text stringlengths 12 986k | repo_path stringlengths 6 121 |
|---|---|
SUBROUTINE SLAEIN( RIGHTV, NOINIT, N, H, LDH, WR, WI, VR, VI, B,
$ LDB, WORK, EPS3, SMLNUM, BIGNUM, INFO )
*
* -- LAPACK auxiliary routine (instrumented to count operations) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, ... | old/lapack-test/lapack-timing/EIG/EIGSRC/slaein.f |
use sim
implicit none
type(SeismicAnalysis_) :: seismic
type(FEMDomain_),target :: cube,original
type(IO_) :: f,response,history_A,history_V,history_U,input_wave
type(Math_) :: math
real(real64),allocatable :: disp_z(:,:)
real(real64) :: wave(200,2),T,Duration,dt
integer(int32) :: i,j,cases,stack_id,num_of_cases
num_... | Tutorial/sim/SeismicAnalysis.f90 |
!
! common routines for testing
!
module test_common
implicit none
integer, parameter, public :: dp = kind(1.d0) ! Common in the test routines.
character(len=*), parameter :: SAMPLE_DIR = '../samples'
character(len=*), parameter :: DEF_FNAME_OUT = SAMPLE_DIR//'/test_out.txt'
contains
! Print the stat... | test/testalpin.f90 |
subroutine zgefa(a,lda,n,ipvt,info)
integer lda,n,ipvt(1),info
complex*16 a(lda,1)
c
c zgefa factors a complex*16 matrix by gaussian elimination.
c
c zgefa is usually called by zgeco, but it can be called
c directly with a saving in time if rcond is not needed.
c (time for zgeco) = (... | scipy/integrate/linpack_lite/zgefa.f |
! This file is part of toml-f.
!
! Copyright (C) 2019-2020 Sebastian Ehlert
!
! Licensed under either of Apache License, Version 2.0 or MIT license
! at your option; you may not use this file except in compliance with
! the License.
!
! Unless required by applicable law or agreed to in writing, software
! distributed u... | src/tomlf/version.f90 |
SUBROUTINE WIND (ILFN) MLu
C
CHARACTER CA*1 MLu
C
DO 20 I=1,30000 MLu
READ (ILFN,10,ERR=100,END=100) CA MLu
10 FORMAT... | heclib/heclib_f/src/Support/wind.f |
! -*- Mode: Fortran; -*-
!
! (C) 2014 by Argonne National Laboratory.
! See COPYRIGHT in top-level directory.
!
subroutine MPI_Status_set_elements_f08(status, datatype, count, ierror)
use, intrinsic :: iso_c_binding, only : c_loc, c_associated
use, intrinsic :: iso_c_binding, only : c_int, c_ptr
use :... | src/binding/fortran/use_mpi_f08/wrappers_f/status_set_elements_f08ts.f90 |
program scatter_vector
include 'mpif.h'
integer ndims,xmax,ymax,nnodes,myid,totelem
parameter(ndims=2)
parameter(xmax=1000,ymax=1000)
parameter(niters=1)
parameter (totelem=xmax*ymax)
integer comm,ierr
integer status(MPI_STATUS_SIZE)
double precision,allocata... | files/mpi/scatter_with_mpi.f |
c
c -------------------------------------------------------
c
subroutine fluxad(xfluxm,xfluxp,yfluxm,yfluxp,
1 svdflx,mptr,mitot,mjtot,
2 nvar,lenbc,lratiox,lratioy,ng,dtf,dx,dy)
c
implicit double precision (a-h,o-z)
include "call.i"
c :::::::::::::::::... | amrclaw/2d/lib/fluxad.f |
SUBROUTINE gather_real(SEND,RECV,SIZE,root)
IMPLICIT NONE
include 'mpif.h'
INTEGER SIZE, ROOT
REAL*8 SEND(*), RECV(*)
INTEGER IERR
CALL MPI_GATHER(send,size,MPI_DOUBLE_PRECISION,
& recv,size,MPI_DOUBLE_PRECISION,ROOT,MPI_COMM_WORLD,IERR)
RETURN
END SUBROUTINE
... | comm/gather.f |
c Wrappers allowing to link MacOSX's Accelerate framework to
c gfortran compiled code
c Accelerate BLAS is cblas (http://www.netlib.org/blas/blast-forum/cblas.tgz);
c these wrappers call the cblas functions via the C-functions defined
c in veclib_cabi.c
REAL FUNCTION WSDOT( N, SX, INCX, SY, INCY )
INTEGER... | scipy/_build_utils/src/wrap_accelerate_f.f |
! Copyright (c) 2021-2022, University of Colorado Denver. All rights reserved.
!
! This file is part of <T>LAPACK.
! <T>LAPACK is free software: you can redistribute it and/or modify it under
! the terms of the BSD 3-Clause license. See the accompanying LICENSE file.
subroutine ssymm ( &
layout, side, uplo, m, n, ... | src/blas/symm.f90 |
c read a few eigenvectors, a spectrum, and try to fit z
program fitz
include 'specarray.h'
parameter(NMAXVECTS=12)
parameter(NMAXSTEP=2*NLOGWMAX)
c scale sky by estimating read and photon noise ?
parameter (IFSCALENOISE=1)
c plot intermediate steps?
parameter (IFPLOTALL=0)
c read... | fitz.f |
!
! Copyright 2018 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... | src/maxwell/eh_finalize.f90 |
subroutine ed_gf_cluster_scalar(zeta,gf)
complex(8) :: zeta
complex(8),dimension(Nlat,Nlat,Nspin,Nspin,Norb,Norb),intent(inout) :: gf
complex(8) :: green
integer ... | ED_IO/gf_cluster.f90 |
module model_initialiser
contains
! remesher:
! Function based on the origianl REMESH function
! Input (in COMMON blocks):
! H(,) - array of independent variables (in unnamed COMMON)
! DH(,) - list of changes in independent variables (in unnamed COMMON)
! KH - current number of meshpoints in H(,)... | src/amuse/community/evtwin/src/trunk/code/nremesh.f90 |
SUBROUTINE MF_LGTORI
& (xintg,r,drdc,nderiv)
implicit complex (a-h,o-z)
real omega,wavenr,
& rmax,xmgsq,cthrsh,cmgsq,delta(4)
common/mf_flag/iexact,iovflo,kexact,lowg,nodivd,noevct,
& nofinl,nointg,nomesh,notlin
& /mf_lgf... | LWPCv21/lib/mf_lgtori.for |
C$Procedure ZZRYTPDT ( DSK, ray touches planetodetic element )
SUBROUTINE ZZRYTPDT ( VERTEX, RAYDIR, BOUNDS,
. CORPAR, MARGIN, NXPTS, XPT )
C$ Abstract
C
C SPICE Private routine intended solely for the support of SPICE
C routines. Users should not call this routine directly... | source/nasa_f/zzrytpdt.f |
SUBROUTINE TG_VI2F ( vdtm, idtm, fdtm, lnth, iret )
C************************************************************************
C* DE_VI2F *
C* *
C* This subroutine converts a forecast valid time of the form *
C* YYMMDD/HHNN and an initial GEMPAK time of the form yymmdd/hhnn *
C* into a proper GEMPAK ... | gempak/source/gemlib/tg/tgvi2f.f |
! Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
!
! 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 appli... | test/f90_correct/src/io16.f90 |
subroutine blue(value,hexrep,bfrac)
C%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
C %
C Copyright (C) 1996, The Board of Trustees of the Leland Stanford %
C Junior University. All rights reserved. ... | visim/visim_src/gslib/blue.f |
SUBROUTINE DEG2CHR(DEGS,LATLON,CHAR)
C******************************************************************
C# SUB DEG2CHR(DEGS,LATLON,CHAR) Degrees to CHARACTER (xxxNxx'xx")
C Convert degrees to characters for output.
C DEGS = input degrees (may be -180 to 180 or 0 to 360)
C LAT... | src/voa_lib/deg2chr.for |
!
! Copyright 2019-2020 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 agr... | src/atom/jellium.f90 |
! Loop recovery fails. Might be due to semantics not providing the
! necessary preconditions
c%2.3
subroutine s234 (ntimes,ld,n,ctime,dtime,a,b,c,d,e,aa,bb,cc)
c
c loop interchange
c if loop to do loop, interchanging with if loop necessary
c
integer ntimes, ld, n, i, nl, j
real a(n), ... | packages/PIPS/validation/Transformations/S234.f |
!*==ctrevc3.f90 processed by SPAG 7.51RB at 20:08 on 3 Mar 2022
!> \brief \b CTREVC3
!
! =========== DOCUMENTATION ===========
!
! Online html documentation available at
! http://www.netlib.org/lapack/explore-html/
!
!> \htmlonly
!> Download CTREVC3 + dependencies
!> <a href="http://www.netlib.org/cgi-bin... | src/complex/ctrevc3.f90 |
active component C {
async command C opcode "abc"
}
| compiler/tools/fpp-check/test/command/bad_opcode.fpp |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 5