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
c--------------------------------------------------------------------- c--------------------------------------------------------------------- subroutine make_set c--------------------------------------------------------------------- c--------------------------------------------------------------------- c------...
bench/synthetics/NAS/NPB3.3.1/NPB3.3-MPI/BT/make_set.f
module vegetables_utilities_m use iso_varying_string, only: varying_string, operator(//) use strff, only: add_hanging_indentation, join, strff_to_string => to_string, NEWLINE implicit none private public :: to_string, equals_within_absolute, equals_within_relative interface to_string m...
src/vegetables/utilities_m.f90
module occa_uva_m ! occa/c/uva.h use occa_types_m implicit none interface ! bool occaIsManaged(void *ptr); logical(kind=C_bool) function occaIsManaged(ptr) & bind(C, name="occaIsManaged") import C_void_ptr, C_bool implicit none type(C_void_ptr), val...
3rd_party/occa/src/fortran/occa_uva_m.f90
program gen_constants implicit none include 'mpif.h' call output("MPI_BYTE ", MPI_BYTE) ! Older versions of OpenMPI (such as those used by default by ! Travis) do not define MPI_WCHAR and the MPI_*INT*_T types for ! Fortran. We thus don't require them (yet). ! call output("MPI_WCHAR ", MPI_W...
deps/gen_constants.f90
subroutine clawpack46_set_capacity(mx,my,mbc,dx,dy, & area,mcapa,maux,aux) implicit none integer mbc, mx, my, maux, mcapa double precision dx, dy double precision aux(1-mbc:mx+mbc,1-mbc:my+mbc, maux) double precision area(-mbc:mx+mbc+1,-mbc:my+mbc+1) integer i,j ...
src/solvers/fc2d_clawpack4.6/fortran_source/clawpack46_set_capacity.f
SUBROUTINE G0SSHD(SURFAS,ISTRTX,ISTOPX,NPTSX, & ISTRTY,ISTOPY,NPTSY) C C ------------------------------------------------ C ROUTINE NO. ( 367) VERSION (A9.1) 13:JAN:94 C ------------------------------------------------ C PARAMETER (ISZARR= 1200, JSZARR= ...
src/lib/g0sshd.f
Robbens Department Store is the real deal: it is a time warp to a clothing stores department store of the 1950’s. The building ceiling drops from front to back, about 15’ where you enter to barely 7’ in the back of the store, creating an odd cavelike effect. You are likely to be greeted and served by Robby Robben when...
lab/davisWiki/Robben%27s_Department_Store.f
SUBROUTINE PCC_SIN(NR,ICORE,AC,BC,CC,R,CDC) ccccccccccccccccccccccccccccccccccccccccccc cccccc Replace the original full core charge CDC/r inside r(icore), cccccc with a form ac*sin(bc*r), match the original charge at r(icore) cccccc for its value and slop. The purpose is to generate a smoother cccccc ...
PSEUDO/source/pcc_sin.f
!*********************************************************************** ! Integrated Water Flow Model (IWFM) ! Copyright (C) 2005-2021 ! State of California, Department of Water Resources ! ! This program is free software; you can redistribute it and/or ! modify it under the terms of the GNU General Public Lice...
code/SourceCode/Package_ComponentConnectors/StrmGWConnector/Class_StrmGWConnector_v40.f90
FUNCTION dayear(dd,mm,yyyy) ! IMPLICIT NONE ! ! Function arguments ! INTEGER :: dd,mm,yyyy INTEGER :: dayear ! ! Local variables ! INTEGER :: difdat ! ! + + + purpose + + + ! given a date in dd/mm/yyyy format, ! dayear will return the number of days ! from the first of that year. ! ! + + + keywords ...
Project Documents/Source Code Original/Dayear.f90
! { dg-do compile } ! { dg-options "-Wunused-dummy-argument -Wunused-parameter" } ! PR 48847 - we used to generate a warning for g(), and none for h() program main contains function f(g,h) interface real function g() end function g end interface interface real function h() ! { dg-wa...
validation_tests/llvm/f18/gfortran.dg/warn_unused_dummy_argument_3.f90
! ! Parallel Sparse BLAS version 3.5 ! (C) Copyright 2006-2018 ! Salvatore Filippone ! Alfredo Buttari ! ! Redistribution and use in source and binary forms, with or without ! modification, are permitted provided that the following conditions ! are met: ! ...
base/internals/psi_crea_index.f90
!######################################################################## !PURPOSE : Diagonalize the Effective Impurity Problem !|{ImpUP1,...,ImpUPN},BathUP>|{ImpDW1,...,ImpDWN},BathDW> !######################################################################## module ED_DIAG USE SF_CONSTANTS USE SF_LINALG, only: ei...
FED_DIAG.f90
# List HDL source code files in folder hdl/ <FPGA_TOP>.v
templates/hdl.f
C C C SUBROUTINE COPYC I (LEN, ZIP, O X) C C + + + PURPOSE + + + C Copy the character array ZIP of size LEN to C the character array X of size LEN. C C + + + DUMMY ARGUMENTS + + + INTEGER LEN CHARACTER(1)ZIP(LEN),X(LEN) C C + + +...
wdm_support/UTCP90.f
program demo_which use M_io, only : which implicit none write(*,*)'ls is ',which('ls') write(*,*)'dir is ',which('dir') write(*,*)'install is ',which('install') end program demo_which
example/demo_which.f90
!-------------------------------------------------------------------------------- !M+ ! NAME: ! netCDF_Variable_Utility ! ! PURPOSE: ! Module containing utility routines for netCDF file variable access. ! ! CATEGORY: ! netCDF ! ! LANGUAGE: ! Fortran-95 ! ! CALLING SEQUENCE: ! USE netCDF_Va...
src/Utility/netCDF/netCDF_Variable_Utility.f90
C*********************************************************************** C Module: asetup.f C C Copyright (C) 2002 Mark Drela, Harold Youngren C C This program is free software; you can redistribute it and/or modify C it under the terms of the GNU General Public License as published by C the Free Soft...
third_party/avl/src/asetup.f
PROGRAM test_message use mpi use ghex_mod use ghex_message_mod implicit none integer(8) :: msg_size = 16, i type(ghex_message) :: msg integer(1), dimension(:), pointer :: msg_data msg = ghex_message_new(msg_size, GhexAllocatorHost) msg_data => ghex_message_data(msg) msg_data(1:msg_size) = ...
tests/bindings/test_f_message.f90
MODULE bc_module use rgrid_module, only: Ngrid,Igrid use parallel_module use bc_mol_module, only: init_bcset_mol use bc_variables, only: fdinfo_send,fdinfo_recv,n_neighbor,www,Md & ,sbuf,rbuf,TYPE_MAIN,zero use watch_module use bcset_1_module, only: bcset_1 use bcset_3_module, on...
src/bc/bc_module.f90
subroutine plots_stop_cfmt(p,wt,wt2) c--- routine to provide a plotting interface that produces the plots c--- for both single top processes (2->2 and 2->3) c--- of Campbell, Frederix, Maltoni and Tramontano implicit none include 'constants.f' include 'jetlabel.f' include 'nplot.f' i...
MCFM-JHUGen/src/User/plots_stop_cfmt.f
subroutine interp2(x,y,v,n1,n2,a,b,NZ) implicit none integer*4::n1,n2; integer*4,dimension(1)::sx,sy; real*8(n2,n1)::v; real*8(n1):: x; real*8(n2):: y; real*8(1,1):: NZ1,v1,v2,v3,v4,v5; real*8(1):: x1,x2,x3,y1,y2,y3 real*8::a,b,NZ sx=minloc(abs(x-a));sy=minloc(abs(y-b)); y1=y(sy);x1=x(s...
11/mathlib/interp2.f90
! { dg-do compile } ! Checks the fix for PR33241, in which the assumed character ! length of the parameter was never filled in with that of ! the initializer. ! ! Contributed by Victor Prosolin <victor.prosolin@gmail.com> ! PROGRAM fptest IMPLICIT NONE CHARACTER (LEN=*), DIMENSION(1), PARAMETER :: var = 'a' ...
validation_tests/llvm/f18/gfortran.dg/char_length_10.f90
subroutine amrex_fort_avg_nd_to_cc (lo, hi, ncomp, & cc, ccl1, ccl2, ccl3, cch1, cch2, cch3, & nd, ndl1, ndl2, ndl3, ndh1, ndh2, ndh3 ) bind(c) use amrex_fort_module, only : amrex_real implicit none integer :: lo(3),hi(3), ncomp integer :: ccl1, ccl2, ccl3, cch1, cch2, cch3 intege...
Src/Base/AMReX_MultiFabUtil_3d.f90
! RUN: bbc %s -emit-fir --canonicalize -o - | FileCheck %s ! CHECK-LABEL pause_test subroutine pause_test() ! CHECK: fir.call @_Fortran{{.*}}PauseStatement() ! CHECK-NEXT: return pause end subroutine
flang/test/Lower/pause-statement.f90
SUBROUTINE SKALE (N, MSTAR, KD, Z, XI, SCALE, DSCALE) C C********************************************************************** C C purpose C provide a proper scaling of the state variables, used C to control the damping factor for a newton iteration [2]. C C variables C C n ...
src/f2cl/packages/colnew/skale.f
program simple_example use fregex implicit none type(regex_t) :: re type(match_t) :: match character(:), allocatable :: string character(:), allocatable :: pattern ! Operations pattern = "(.+)([\+\-\*\/]{1})(.+)" string = "1/sin(x)" call re % compile(pattern) call re % matc...
app/simple_example.f90
subroutine nsc_pr_iniunk(a) !DESCRIPTION ! This routine sets up the initial conditions for the pressure, ! velocity and temperature fields. ! If this is a restart, initial conditions are loaded somewhere else ! but Dirichlet boundary conditions are still loaded here. !-------------------------------------------...
Sources/modules/nscomp/PrimitiveUnknowns/nsc_pr_iniunk.f90
less_toxic(y1,h1). less_toxic(hh1,w1). less_toxic(ee1,b1). less_toxic(m1,cc1). less_toxic(bb1,z1). less_toxic(ff1,v1). less_toxic(ll1,b1). less_toxic(o1,jj1). less_toxic(j1,dd1). less_toxic(n1,cc1). less_toxic(w1,aa1). less_toxic(q1,l1). less_toxic(m1,l1). less_toxic(bb1,aa1). less_toxic(b1,i1). less_toxic(ee1,l1). les...
foldsCreator/files/datasets/alzheimer_toxic_0.2noisy/train9.f
*----------------------------------------------------------------------* subroutine print_op_info(lulog,modestr,op_info) *----------------------------------------------------------------------* implicit none include 'mdef_operator_info.h' integer, intent(in) :: & lulog characte...
operators/print_op_info.f
!! Copyright (C) Stichting Deltares, 2012-2016. !! !! This program is free software: you can redistribute it and/or modify !! it under the terms of the GNU General Public License version 3, !! as published by the Free Software Foundation. !! !! This program is distributed in the hope that it will be useful, !! b...
docker/water/delft3d/tags/v6686/src/engines_gpl/waq/packages/waq_io/src/waq_io/read_sub_procgrid.f
MODULE caldyn_gcm_mod use mod_misc PRIVATE TYPE(t_message) :: req_ps, req_mass, req_theta_rhodz, req_u, req_qu public compute_caldyn_vert CONTAINS SUBROUTINE compute_caldyn_vert(u,theta,rhodz,convm, wflux,wwuu, dps,dtheta_rhodz,du) use prec use mod_misc IMPLICIT NONE REAL(rstd)...
kernels/DYNAMICO/comp_caldyn_vert/src/caldyn_gcm.f90
module occa_base_m ! occa/c/base.h use occa_types_m implicit none interface ! ---[ Globals & Flags ]---------------- ! occaProperties occaSettings(); type(occaProperties) function occaSettings() bind(C, name="occaSettings") import occaProperties end function ! void occaPrintModeInf...
src/fortran/occa_base_m.f90
module stpvwnd10mmod !$$$ module documentation block ! . . . . ! module: stpvwnd10mmod module for stpvwnd10m ! prgmmr: ! ! abstract: module for stpvwnd10m ! ! program history log: ! 2016-05-05 pondeca ! 2017-03-19 yang - modify code to use polymor...
GEOSaana_GridComp/GSI_GridComp/stpvwnd10m.f90
SUBROUTINE SFFTFU( X, Y, N, M, ITYPE ) c c Decimation-in-time radix-2 split-radix complex FFT c c Arguments: c X - real part of data sequence (in/out) c Y - imag part of data sequence (in/out) c N,M - integers such that N = 2**M (in) c ITYPE - integer transform type (in) c ITYPE .ne. -1 ...
benchees/sorensen/sfftfu.f
program t integer,dimension(3)::i=(/1,2,3/) where (i>1) i=i*2 print *,i end program t
tests/t0116x/t.f
! Overload fill value functions interface nf90_def_var_fill module procedure nf90_def_var_fill_OneByteInt, & nf90_def_var_fill_TwoByteInt, & nf90_def_var_fill_FourByteInt, & nf90_def_var_fill_EightByteInt, & nf90_def_var_f...
fortran/netcdf4_overloads.f90
Module mo_model use mo_kind , only: dp, i4 implicit none private public :: getrange public :: model interface model module procedure model_1d, model_0d end interface model ! module variables integer(i4) :: npara = 3 contains function GetRange() implicit none real(dp), dimensi...
test/test_mo_sobol_index/mo_model.f90
module constants !================================================================== ! This module contains all the non-modifiable parameters and ! all quantities which never change throughout a simulation. !================================================================== !Import parameters: use parameters i...
merging_standalone/3d/constants.f90
module timeman implicit none CONTAINS ! print statements in this module use 1100-1200 !! time tracking funcs and subs subroutine initialize_t1 !sets t1, the beginning of a new repetative operation use timevars, only: t1 call cpu_time(t1) end subroutine initialize_t1 subroutine timeupdate( chtype,...
mods/timeman.f90
Describe Western ScreechOwl here. There are several screech owls residing in Davis, The biggest and loudest so far appears to reside in East Davis near Poleline / Eighth (maybe he lives in cemetery) SKREEEEEEEEEEEEEEEEEE Daubert
lab/davisWiki/Western_Screech-Owl.f
subroutine Curve2Mask(dhgrid, n, sampling, profile, nprofile, NP, & centralmeridian, exitstatus) !------------------------------------------------------------------------------ ! ! Given a list of coordinates of a SINGLE CLOSED CURVE, this routine ! will fill the interior and exterior with 0s ...
src/Curve2Mask.f95
C Copyright(C) 1999-2020 National Technology & Engineering Solutions C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with C NTESS, the U.S. Government retains certain rights in this software. C C See packages/seacas/LICENSE for details C==============================================================...
packages/seacas/applications/grepos/gp_smogs2.f
! Program to test the stack variable size limit. program stack call sub1 call sub2 (1) contains ! Local variables larger than 32768 in byte size shall be placed in static ! storage area, while others be put on stack by default. subroutine sub1 real a, b(32768/4), c(32768/4+1) integer m, n(1...
gcc-gcc-7_3_0-release/gcc/testsuite/gfortran.fortran-torture/execute/stack_varsize.f90
subroutine many_args(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a20, a21, a22,& a23, a24, a25, a26, a27, a28, a29, a30, a31, a32, a33, a34, a35, a36, a37,& a38, a39, a40, a41, a42, a43, a44, a45, a46, a47, a48, a49) implicit none integer, intent(in) :: a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a20, a21, a22,& a2...
tests/compile/many_args.f90
* * $Id$ * *====================================================================== * * DISCLAIMER * * This material was prepared as an account of work sponsored by an * agency of the United States Government. Neither the United States * Government nor the United States Department of Energy, nor Battelle, * nor any of ...
src/peigs/src/f77/samax.f
c======================================================================= c c subroutine EMPCOVEXP c c Empirical Exponentially Weighted Covariance matrix and mean c c n c --- c cov(i,j) = (1 - L) \...
src/math/analysis/cov/empcovexp.f
! { dg-do compile } ! { dg-options "-std=f95" } ! Test for PROCEDURE statements with the -std=f95 flag. ! Contributed by Janus Weil <jaydub66@gmail.com> program p procedure():: proc ! { dg-error "Fortran 2003: PROCEDURE statement" } end program
validation_tests/llvm/f18/gfortran.dg/proc_decl_4.f90
! chk_protected.f90 ! Check: does the compiler support the PROTECTED attribute? ! module protected_var implicit none integer, protected :: readonly = 123 end module protected_var program chk_protected use protected_var implicit none write( *, '(a,i0)' ) 'Value of the protected ...
chkfeatures/chk_protected.f90
program MC_ex01_p04 use mc_randoms implicit none real(rk)::a real(rk),allocatable::p_lcg(:,:),p_pm(:,:),p_mt(:,:) integer::i !Initialize call seed_lcg(int(15,ik)) call seed_pm(int(7895,ik)) call init_genrand64(int(431,ik)) allocate(p_lcg(100,2),p_pm(100,2),p_mt(100,2)) ...
Nico_Toikka_ex1/p04/points/ex04.f95
PROGRAM FM821 C***********************************************************************00010821 C***** FORTRAN 77 00020821 C***** FM821 00030821 C***** YDCOS - (190) ...
Fortran/UnitTests/fcvs21_f95/FM821.f
c======================================================================= c c subroutine COVL c c Empirical Covariance matrix with different data length (cf. covm.f) c c----------------------------------------------------------------------- SUBROUTINE covl ( n, p, le...
src/math/analysis/cov/covl.f
subroutine rpt2(ixy,imp,maxm,meqn,mwaves,maux,mbc,mx,ql,qr,aux1,aux2,aux3,asdq,bmasdq,bpasdq) ! ============================================================================ ! Solves transverse Riemann problem for the multilayer shallow water ! equations in 2D with topography and wind forcing: ! (rho_1 h_1)_t + (r...
src/rpt2_layered_shallow_water.f90
SUBROUTINE RU_PLVL ( field, above, level, pres, iret ) C************************************************************************ C* RU_PLVL * C* * C* This subroutine gets the level number and pressure from a group * C* which is in the form LLPPP. LL must be the same integer, repeated; * C* for example...
gempak/source/bridge/ru/ruplvl.f
! Run with -np 5 and s = 18. Sometimes MPI_Barrier doesn't help if the output ! buffer is not flushed on time. program scatterv use mpi_f08 implicit none type(MPI_Comm) :: comm integer :: my_rank, n_ranks, root integer :: s, i, remainder, quotient, displacement, count, rank, b, e integer, alloc...
Lecture_12/collectives/scatterv.f90
module bc_state_turbo_interface_steady #include <messenger.h> use mod_kinds, only: rk,ik use mod_constants, only: ZERO, ONE, TWO, HALF, ME, CYLINDRICAL, & XI_MIN, XI_MAX, ETA_MIN, ETA_MAX, ZETA_MIN, ZETA_MAX, PI use mod_fluid, only:...
src/equations/fluid/bc/nonlocal/bc_state_turbo_interface_steady.f90
*DECK BQR SUBROUTINE BQR (NM, N, MB, A, T, R, IERR, NV, RV) C***BEGIN PROLOGUE BQR C***PURPOSE Compute some of the eigenvalues of a real symmetric C matrix using the QR method with shifts of origin. C***LIBRARY SLATEC (EISPACK) C***CATEGORY D4A6 C***TYPE SINGLE PRECISION (BQR-S) C***KEYWORDS ...
slatec/src/bqr.f
!==============================================================================! subroutine Turb_Mod_Vis_T_Rsm(turb) !------------------------------------------------------------------------------! ! Computes the turbulent viscosity for RSM models ('EBM' and 'HJ'). ! ! If hybrid option is used turbulent ...
Sources/Process/Turb_Mod/Vis_T_Rsm.f90
!> IMPACT !! \author Rolf Henniger, Institute of Fluid Dynamics, ETH Zurich (henniger@ifd.mavt.ethz.ch) !! \date Mai 2005 - Dec 2011 !> \brief module providing functions to initiliaze and apply RestrictionOp module cmod_RestrictionOp use iso_c_binding use mpi implicit none contains subroutine MG_getCRVS...
src/src_f/cmod_RestrictionOp.f90
c ====================================================================== c User Subroutine VUMAT for Johnson-Cook model. c All rights of reproduction or distribution in any form are reserved. c By Irfan Habeeb CN (PhD, Technion - IIT) c ====================================================================== s...
vumat_JC.for
C C C Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. C C This program is free software; you can redistribute it and/or modify it C under the terms of version 2.1 of the GNU Lesser General Public License C as published by the Free Software Foundation. C C This program is distributed in the h...
osprey/libu/vms/vxgcti.f
C-------------------------------------------------------------- C All the routines in this file were updated on 9 Feb 2015 to C reverse the dimensions of "clcntr"/"c" (from "k x n" to C "n x k") so that the calling C routine could have the C dimensions be K x N. C-----------------------------------------------------...
ni/src/lib/nfpfort/kmeans_kmns_as136.f
!-------------------------------------------------------------------------------- ! Copyright (c) 2016 Peter Grünberg Institut, Forschungszentrum Jülich, Germany ! This file is part of FLEUR and available as free software under the conditions ! of the MIT license as expressed in the LICENSE file in more detail. !------...
fleurinput/types_hub1inp.f90
module qlibc_util_m use iso_c_binding implicit none interface ! void qtreetbl_copy_data_c(void *val_data_from, void *val_data_to, size_t size_data, bool freemem) subroutine qlibc_copy_data_c(val_data_from, val_data_to, size_data, freemem) bind(c) import :: c_ptr, c_size_t, c_bo...
qcontainers_f/qlibc_util.f90
program collect_events implicit none character*512 string512,eventfile character*19 basicfile,nextbasicfile character*15 outputfile integer istep,i,numoffiles,nbunches,nevents,ievents,junit(80) double precision xtotal,absxsec,evwgt,xsecfrac integer i_orig common /c_...
Template/NLO/SubProcesses/collect_events.f
subroutine corrpos(ctimestp,rc) include 'globals.h' character(len=*) :: rc integer :: i,p,k,ctimestp(*) real dt2,rcsign,acceff,dt if(rc.NE.'sync'.AND.rc.NE.'desync') & call terror('unknown sync option in corrpos') if(rc.EQ.'sync') then if(syncflag.EQ.0) return syncflag=0 rcsign=-1. if(v...
src/amuse/community/fi/src/stepsystem.f90
! ################################################################### ! Copyright (c) 2019-2020, Marc De Graef Research Group/Carnegie Mellon University ! All rights reserved. ! ! Redistribution and use in source and binary forms, with or without modification, are ! permitted provided that the following conditions are...
Source/EMsoftLib/xrd.f90
program main use, intrinsic :: iso_fortran_env use :: json_module use :: stdlib_logger use :: ex_io implicit none type(json_file) :: config_json real(real64), allocatable :: d(:, :, :) call config_json%initialize() call load_configure_file(config_json, filename="config") call ...
app/main.f90
program t integer :: i do i = 1, 10 if (i == 5) exit print *, i end do end program t
test/output_tests/exit_out1.f90
Debats du Senat (hansard) 1ere Session, 36 e Legislature, Volume 137, Numero 111 Le mardi 16 fevrier 1999 L'honorable Gildas L. Molgat, President La reaction aux articles de presse Le resultat des premieres elections Projet de loi modificatif-Rapport du comite Projet de loi modificatif-Motion d'adoption du mess...
data/Hansard/Training/hansard.36.1.senate.debates.1999-02-16.111.f
subroutine gg_hZZ_tb(p,msq) implicit none c--- Author: J. M. Campbell, September 2013 c--- Matrix element squared for gg -> H -> ZZ signal process c--- The exact result for massive bottom and top quark loops is included include 'constants.f' include 'ewcouple.f' include 'qcdcouple.f' ...
MCFM-JHUGen/src/ZZ/gg_hzz_tb.f
!=============================================================================! subroutine resstat(res, dtl) ! ! This subroutine calculates the statistics of the residual. ! ! Note that the norm of the residual is divided by dtl ! !==========================================================================...
src/resstat.f90
subroutine gg_hWWgg_v(p,msq) c--- Virtual matrix element squared averaged over initial colors and spins c c g(-p1)+g(-p2)-->H --> W^- (e^-(p5)+nubar(p6)) c + W^+ (nu(p3)+e^+(p4))+g(p_iglue1=7)+g(p_iglue2=8) c c Calculation is fully analytic implicit none include 'const...
MCFM-JHUGen/src/ggHggvirt/gg_hWWgg_v.f
Intro What is Jalapeño Water? On October 9, 2010 during lunch at the Oxford Circle Dining Commons Cuarto Dining Commons, there was a great discovery: The Jalapeño Cilantro Infused Water (Jalapeño Water for short). It was the most amazing beverage ever. When you drink it, it feels and tastes just like water. But once i...
lab/davisWiki/Jalape%C3%B1o_Water_Conspiracy.f