code
stringlengths
2
1.05M
repo_name
stringlengths
5
101
path
stringlengths
4
991
language
stringclasses
3 values
license
stringclasses
5 values
size
int64
2
1.05M
*> \brief \b SSLECT * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * LOGICAL FUNCTION SSLECT( ZR, ZI ) * * .. Scalar Arguments .. * REAL ZI, ZR * ...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/EIG/sslect.f
FORTRAN
bsd-3-clause
3,014
MODULE scf_module use aa_module use parallel_module use electron_module use localpot_module use mixing_module, only: init_mixing, perform_mixing, calc_sqerr_mixing & , finalize_mixing, imix, beta use xc_hybrid_module, only: control_xc_hybrid, get_flag_xc_hybrid use xc_module us...
j-iwata/RSDFT
src/scf_module.f90
FORTRAN
apache-2.0
18,757
subroutine e3bvar (yl, ycl, BCB, shpb, shglb, & xlb, lnode, g1yi, g2yi, & g3yi, WdetJb, bnorm, pres, T, & u1, u2, u3, & um1, um2, um3, & ...
yangf4/phasta
phSolver/compressible/e3bvar.f
FORTRAN
bsd-3-clause
24,779
*+ graphic_set_arrow_opt subroutine graphic_set_arrow_opt( opt, s ) C ------------------------------------------ C C Setup the arrow options specified by the supplied structure C C Given: C arrow style structure integer opt(*) C C Updated: C error status integer s C C Setup the arro...
CavendishAstrophysics/anmap
graphic_lib/graphic_set_arrow_opt.f
FORTRAN
bsd-3-clause
1,329
C*********************************************************************** C* C* Copyright 1996, University Corporation for Atmospheric Research. C* C* psym.f C* C* Plots symbols. Derived from the GEMPAK program SFMPLT. C* C* History: C* C* 11/96 COMET Original copy C* 3/97 COMET Made chbuf larger to print station names...
mjames-upc/garp
build/gempak/psym.f
FORTRAN
mit
5,033
SUBROUTINE DLQT03( M, N, K, AF, C, CC, Q, LDA, TAU, WORK, LWORK, $ RWORK, RESULT ) * * -- LAPACK test routine (version 3.1) -- * Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. * November 2006 * * .. Scalar Arguments .. INTEGER K, LDA, LWORK, M, ...
maxhutch/magma
testing/lin/dlqt03.f
FORTRAN
bsd-3-clause
5,720
*> \brief \b SPTTS2 solves a tridiagonal system of the form AX=B using the L D LH factorization computed by spttrf. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SPTTS2 + dependencies *> <a href...
mverleg/1957
lib/lapack/sptts2.f
FORTRAN
bsd-3-clause
4,345
*> \brief \b ZLA_PORFSX_EXTENDED improves the computed solution to a system of linear equations for symmetric or Hermitian positive-definite matrices by performing extra-precise iterative refinement and provides error bounds and backward error estimates for the solution. * * =========== DOCUMENTATION =========== * * O...
mverleg/1957
lib/lapack/zla_porfsx_extended.f
FORTRAN
bsd-3-clause
25,373
*> \brief \b ZHPT21 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE ZHPT21( ITYPE, UPLO, N, KBAND, AP, D, E, U, LDU, VP, * TAU, WORK, RWORK, RESUL...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/TESTING/EIG/zhpt21.f
FORTRAN
bsd-3-clause
14,547
program test_utilities use ModUtilities, ONLY: test => test_mod_utility implicit none call test end program test_utilities subroutine CON_stop(StringError) implicit none character (len=*), intent(in) :: StringError write(*,'(a)') 'ERROR: '//StringError write(*,'(a)') 'Do not actually stop in the test' ...
dpawlows/MGITM
share/Library/test/test_utilities.f90
FORTRAN
mit
345
! ===================================== ! ! Specifies what double precision is ! ! ===================================== ! module precision implicit none integer, parameter :: WP = 8 end module ! ===================================== ! ! Timing and number of particles ! ! ===============================...
kenlimmj/particles
bsphfort_omp.f90
FORTRAN
mit
19,491
great(o1,ll1). great(j1,p1). great(l1,r1). great(u1,o1). great(d1,b1). great(g1,y1). great(q1,y1). great(g1,j1). great(h1,b1). great(bb1,aa1). great(e1,a1). great(e1,kk1). great(c1,v1). great(jj1,aa1). great(jj1,n1). great(cc1,n1). great(u1,ll1). great(bb1,t1). great(f1,l1). great(jj1,o1). great(d1,y1). great(j1,ee1). ...
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_choline_noiseless/incremental5/test3.f
FORTRAN
apache-2.0
481
C ***************************************************************** C C+map_sel_grading C SUBROUTINE map_sel_grading ( s ) C Asks the user to select the map grading function. C C Given: C None. C C Returned: C Status variable - must be zero on entry - otherwise error ...
CavendishAstrophysics/postmortem
src/mapsys/map_sel_grading.f
FORTRAN
bsd-3-clause
4,687
*> \brief \b ZTPLQT2 computes a LQ factorization of a real or complex "triangular-pentagonal" matrix, which is composed of a triangular block and a pentagonal block, using the compact WY representation for Q. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.n...
grisuthedragon/OpenBLAS
lapack-netlib/SRC/ztplqt2.f
FORTRAN
bsd-3-clause
9,451
*> \brief \b CLASYF_ROOK computes a partial factorization of a complex symmetric matrix using the bounded Bunch-Kaufman ("rook") diagonal pivoting method. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Downl...
mverleg/1957
lib/lapack/clasyf_rook.f
FORTRAN
bsd-3-clause
27,661
PROGRAM hello_f USE mpi IMPLICIT NONE INTEGER :: ierr INTEGER :: thistask INTEGER :: ntask CALL mpi_init(ierr) CALL mpi_comm_rank(MPI_COMM_WORLD, thistask, ierr) CALL mpi_comm_size(MPI_COMM_WORLD, ntask, ierr) WRITE (*,"(A,I0,A,I0)") "Hello, World! from task ", thistask, " of ",ntask CALL ...
samjcus/pragma_pragma_pragma
hello_world/src/hello_world_mpi.f90
FORTRAN
mit
359
SUBROUTINE undersample ( xtrack_pix, n_sensor_pts, curr_wvl, hw1e, e_asym, phase, errstat ) ! Convolves input spectrum with Gaussian slit function of specified ! HW1e, and samples at a particular input phase to give the OMI ! undersampling spectrum. This version calculates both phases of the ! ...
ggonzalezabad/OMI_SAO_Shared_VOCs
src/undersample.f90
FORTRAN
mit
17,443
subroutine turbuflux(ia,ja,ka,rr,dtmin,ah,imt,jmt,km,uflux,vflux,wflux,ff,do3d,upr) !==================================================================== ! computes the paramterised turbulent velocities u' and v' into upr ! ! Input: ! ia,ja,ka : original position in integers ! rr : time interpo...
kthyng/tracpy
src/turb.f95
FORTRAN
mit
6,933
/* Copyright (c) 2011, Ole K. Christensen All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ¥ Redistributions of source code must retain the above copyright notice, this list of conditions and the fol...
lubert/sigma-chess
Application/Source/Chess Engine/Data Structures/Board.f
FORTRAN
bsd-2-clause
2,216
subroutine wshini c c + + + PURPOSE + + + c c SR WSHINI initializes hillslope, channel, and impoundment c variables for hydrologic and erosion routing through c the watershed. c c Called from: SR WSHDRV c Author(s): Ascough II, C. Baffaut c Reference in User Guide: c c ...
akrherz/idep
src/wepp2010.1/wshini.for
FORTRAN
mit
9,991
*> \brief \b SORML2 multiplies a general matrix by the orthogonal matrix from a LQ factorization determined by sgelqf (unblocked algorithm). * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SORML2 +...
mverleg/1957
lib/lapack/sorml2.f
FORTRAN
bsd-3-clause
7,373
SUBROUTINE TREXPA (TREREF) C EXPAND THE EXTERNAL TREE AND WRITE THE TARGET-PROGRAM C GF 26.07.1980 C GF 08.11.1980: 'COMT', AND 'STRI' SPLIT RESP. DOUBLE QUOTES C INCLUDE 'PARS.f' INCLUDE 'SLOS.f' INCLUDE 'STRS.f' INCLUDE 'SYMS.f' INCLUDE 'TRES.f' INTEGER*...
gfis/jextra
legacy/bofor_2005/TREXPA.f
FORTRAN
apache-2.0
5,533
*> \brief \b quad_iparmq * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download quad_iparmq + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routin...
devsim/devsim
external/getrf/iparmq.f
FORTRAN
apache-2.0
14,284
great(a1,jj1). great(d1,a1). great(hh1,a1). great(j1,y1). great(q1,u1). great(e1,u1). great(f1,g1). great(hh1,b1). great(h1,p1). great(c1,s1). great(d1,u1). great(r1,aa1). great(u1,m1). great(s1,t1). great(hh1,bb1). great(c1,p1). great(y1,x1). great(k1,q1). great(jj1,kk1). great(y1,ll1). great(c1,y1). great(g1,ll1). gr...
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_choline_noiseless/incremental8/test7.f
FORTRAN
apache-2.0
761
subroutine ftester use fdeclarations implicit none call fruler !write(49,*) ' ' !write(49,*) 'pmatrix' !do i=1,nn !write(49,10) (pmatrix(i,j), j=1,w+2) !end do write(49,*) ' ' write(49,*) ' Fuzzy memberships matrix depending on the selected scenario' write(49,*) ' Average, Worst, Optimum' do i=1,nn wri...
chtheodoro/habfuzz
habfuzz/ftester.f95
FORTRAN
apache-2.0
3,084
*> \brief \b DCHKSY * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE DCHKSY( DOTYPE, NN, NVAL, NNB, NBVAL, NNS, NSVAL, * THRESH, TSTERR, NMAX, A, A...
jmfranck/pyspecdata
lapack-3.4.0/TESTING/LIN/dchksy.f
FORTRAN
bsd-3-clause
20,290
program mg_testgather use mg_mpi use mg_grids use mg_gather implicit none integer(kind=ip):: nxg ! global x dimension integer(kind=ip):: nyg ! global y dimension integer(kind=ip):: nzg ! z dimension integer(kind=ip):: npxg ! number of processes in x integer(kind=ip):: npyg ! number of ...
nmolem/mgroms
src/old_tests/mg_testgather.f90
FORTRAN
bsd-3-clause
3,789
SUBROUTINE TB04BV( ORDER, P, M, MD, IGN, LDIGN, IGD, LDIGD, GN, $ GD, D, LDD, TOL, INFO ) C C SLICOT RELEASE 5.5. C C Copyright (c) 2002-2012 NICONET e.V. C C PURPOSE C C To separate the strictly proper part G0 from the constant part D C of an P-by-M proper tra...
bgin/MissileSimulation
External/SLICOT/TB04BV.f
FORTRAN
mit
11,064
program SeaIceThermDyn_main ! モジュール引用 ! use dc_types, only: & & DP, TOKEN, STRING use dc_calendar use gtool_history use Constants_mod use SeaIceConstants_mod use SeaIceThermDyn_Winton2000_mod use ice_thm_mod implicit none !** ************* real(DP), parameter :: dt=8640...
ywkawai/Dennou-OGCM
model/old/sogcm/seaice/SeaIceThermDyn_mom_main.f90
FORTRAN
mit
10,884
*> \brief \b SLANSF * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SLANSF + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/slansf.f...
grisuthedragon/OpenBLAS
lapack-netlib/SRC/slansf.f
FORTRAN
bsd-3-clause
33,142
*> \brief \b CLAQR3 performs the unitary similarity transformation of a Hessenberg matrix to detect and deflate fully converged eigenvalues from a trailing principal submatrix (aggressive early deflation). * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.net...
mverleg/1957
lib/lapack/claqr3.f
FORTRAN
bsd-3-clause
18,019
module UtilitiesModule use NumberKindsModule implicit none public real(kreal), parameter :: dzero = 0.0_kreal !< timesaver real(kreal), parameter :: one = 1.0_kreal !< timesaver logical(klog), save :: testPass = .TRUE. !< global test variable !> @brief Provides a generic function interface interface real(8) ...
pbosler/lpm-v2
src/Utilities.f90
FORTRAN
mit
2,926
FUNCTION alngam(xvalue) RESULT(fn_val) ! ALGORITHM AS245 APPL. STATIST. (1989) VOL. 38, NO. 2 ! Calculation of the logarithm of the gamma function ! ELF90-compatible version by Alan Miller ! Latest revision - 29 November 1997 ! N.B. Argument IFAULT has been removed IMPLICIT NONE INTEGER, PARAM...
ekadhanda/bin
MATLAB/f2matlab/examples/as245.f90
FORTRAN
mit
3,836
!------------------------------------------------------------------------------- ! Copyright (c) 2019 FrontISTR Commons ! This software is released under the MIT License, see LICENSE.txt !------------------------------------------------------------------------------- !> This modules just summarizes all modules used in ...
FrontISTR/FrontISTR
fistr1/src/lib/static_LIB.f90
FORTRAN
mit
634
FUNCTION GAMMLN(XX) REAL*8 COF(6),STP,HALF,ONE,FPF,X,TMP,SER DATA COF,STP/76.18009173D0,-86.50532033D0,24.01409822D0, * -1.231739516D0,.120858003D-2,-.536382D-5,2.50662827465D0/ DATA HALF,ONE,FPF/0.5D0,1.0D0,5.5D0/ X=XX-ONE TMP=X+FPF TMP=(X+HALF)*LOG(TMP)-TMP SER=...
bamford/astrobamf
nr/fortran/gammln.for
FORTRAN
mit
451
program volatile_doctest use vecfor_R16P type(vector_R16P) :: pt(0:1) pt(1) = 1 * ex_R16P + 2 * ey_R16P + 1 * ez_R16P pt(0) = 2._R16P - pt(1) print "(3(F3.1,1X))", pt(0)%x, pt(0)%y, pt(0)%z endprogram volatile_doctest
szaghi/VecFor
src/tests/vecfor_R16P/vecfor_R16P-doctest-85.f90
FORTRAN
bsd-2-clause
221
SUBROUTINE SFLUXV(DTAUV,TAUV,TAUCUMV,RSFV,DWNV,WBARV,COSBV, * UBAR0,SOL,GWEIGHT,NFLUXTOPV,FMNETV, * FLUXUPV,FLUXDNV,DIFFVT,FZEROV,NGWV) C GCM2.0 Feb 2003 implicit none include "grid.h" include "radinc.h" real*8 FMNETV(L_NLAYRAD) real*...
jsbj/climt
src/radiation/nrc/src/sfluxv.f
FORTRAN
bsd-3-clause
4,588
c----------------------------------------------------------------------- c\BeginDoc c c\Name: psnaitr c c Message Passing Layer: BLACS c c\Description: c Reverse communication interface for applying NP additional steps to c a K step nonsymmetric Arnoldi factorization. c c Input: OP*V_{k} - V_{k}*H = r_{k}*e_{k}...
mcflugen/roms-lite
src/roms/Lib/ARPACK/PARPACK/SRC/BLACS/psnaitr.f
FORTRAN
mit
31,484
!------------------------------------------------------------------------------- ! Copyright (c) 2019 FrontISTR Commons ! This software is released under the MIT License, see LICENSE.txt !------------------------------------------------------------------------------- !> \brief Coupling Interface module hecmw_couple_co...
FrontISTR/FrontISTR
hecmw1/src/couple/hecmw_couple_copy_f2c_f.f90
FORTRAN
mit
1,582
C************************************************************************** SUBROUTINE GUESSF(CNAME,CFORM,EX) C************************************************************************** C Guesses file format. Uses unit 99 to open file. C************************************************************************** ...
leschzinerlab/FindDQE
src/iof.f
FORTRAN
mit
39,672
! Reads size(A) lines from specificed file, written by write_rvector function subroutine read_rvector(A,filename) ! Arguments character(len=*), intent(in) :: filename real(dp),intent(out) :: A(:) ! Local Variables real(dp) :: val integer :: i,u,nA character(len=*), parameter :: FMT = "ES23.15E3" ! Read Vector nA = s...
buvoli/ETDSDC
Fortran/tools/subroutines/read_rvector.f90
FORTRAN
mit
469
*> \brief \b ZTRMV * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE ZTRMV(UPLO,TRANS,DIAG,N,A,LDA,X,INCX) * * .. Scalar Arguments .. * INTEGER INCX,LDA,N * ...
rangsimanketkaew/NWChem
src/blas/double/ztrmv.f
FORTRAN
mit
11,605
!------------------------------------------------------------------------------- ! Copyright (c) 2019 FrontISTR Commons ! This software is released under the MIT License, see LICENSE.txt !------------------------------------------------------------------------------- module m_fstr_mat_resid_contact use m_fstr use f...
FrontISTR/FrontISTR
fistr1/src/analysis/static/fstr_mat_resid_contact.f90
FORTRAN
mit
4,740
! check_init.f90 -- ! Example of using the editcode program to check certain ! aspects of a program - such as the use of uninitialised variables ! program check_init real :: x, y real(kind=kind(1.0)) :: sum ! Problem: can not write x, because of pointer argument ! This "r...
mapmeld/fortran-machine
flibs-0.9/flibs/tests/tools/in/check_init.f90
FORTRAN
bsd-3-clause
594
subroutine calc_GITM_sources(iBlock) use ModInputs use ModSources use ModGITM implicit none integer, intent(in) :: iBlock integer :: iAlt, iError, iDir, iLat, iLon, iSpecies integer :: iiAlt, iiLat, iiLon real :: tmp(nLons, nLats, nAlts+1) real :: tmp2(nLons, nLats, nAlts), diff(nLons, nLats, nAl...
dpawlows/MGITM
src/Dust_Output_Mods/calc_sources.orig.f90
FORTRAN
mit
15,351
PROGRAM HIC !*********************************************************************** !* Computes the maximum unwindowed Head Injury Criterion value !* and the corresponding time interval using an efficient global !* branch and bound algorithm. !* !* Language: Fortran !* !* Author: Stuart G. Mentzer !* !* Date: 2...
DeadParrot/NHTSA-Tools
src/app/HIC.for
FORTRAN
mit
6,458
module convert_littler_tests ! minimal unit testing framework for write_littler use readncdf use write_littler use logging implicit none private public :: main integer, parameter :: stdout = 6 contains logical function assert(condition, test_name) ! asserts if the condition is true/false and returns the status...
rvanharen/ERA_URBAN
scripts/netcdf2littler/tests/convert_littler_tests.f90
FORTRAN
apache-2.0
7,545
PROGRAM claw_test INTEGER :: istart = 1 INTEGER :: iend = 10 INTEGER :: jstart = 1 INTEGER :: jend = 20 CALL kcache(istart,iend,jstart,jend) END PROGRAM claw_test SUBROUTINE kcache ( istart , iend , jstart , jend ) INTEGER , INTENT(IN) :: istart INTEGER , INTENT(IN) :: iend INTEGER , INTENT(IN) :: jstart...
clementval/claw-compiler
test/claw/directive/kcache/reference.f90
FORTRAN
bsd-2-clause
1,711
C----------------------------------------------------------------------- SUBROUTINE GIODAT(TUTC,PVG,PVH,PVE,PVS,IERR) C------------------------------------------------- C S.J ISSUE 04 - 14.01.85 C---...
Small-Bodies-Node/ntl_archive_db_demo
import_and_persistence/test_files/official_data_sets/gio-c-gre-3-rdr-halley-v1.0/geometry/giodat.for
FORTRAN
bsd-3-clause
16,037
SUBROUTINE BladeIndVel(NT,ntTerm,NBE,NB,NE,XP,YP,ZP,UP,VP,WP,DUDX,Mode,CalcDer) use blade integer :: nt, ntTerm, nbe, nb, ne, Mode, CalcDer real :: XP, YP, ZP, UP, VP, WP, DUDX integer :: i, j, k, nei, nej, nt1 integer :: VFlag ! ...
petebachant/CACTUS-obsolete
src/BladeIndVel.f95
FORTRAN
bsd-3-clause
3,852
C Copyright (c) 2007-2017 National Technology & Engineering Solutions of C Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with C NTESS, the U.S. Government retains certain rights in this software. C C Redistribution and use in source and binary forms, with or without C modification, are permitted provi...
nschloe/seacas
packages/seacas/applications/txtexo/rdnps.f
FORTRAN
bsd-3-clause
4,487
C Siconos-Numerics, Copyright INRIA 2005-2011. C Siconos is a program dedicated to modeling, simulation and control C of non smooth dynamical systems. C Siconos is a free software; you can redistribute it and/or modify C it under the terms of the GNU Lesser General Public License as published by C the Free Software Fo...
bremond/siconos
externals/netlib/odepack/test/DLSODKR-test.f
FORTRAN
apache-2.0
13,703
SUBROUTINE DLASQ6( I0, N0, Z, PP, DMIN, DMIN1, DMIN2, DN, $ DNM1, DNM2 ) * * -- LAPACK auxiliary routine (instrumented to count ops, version 3.0) -- * Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., * Courant Institute, Argonne National Lab, and Rice University * Oc...
alishakiba/libflame
lapack-test/lapack-timing/EIG/EIGSRC/dlasq6.f
FORTRAN
bsd-3-clause
5,440
*> \brief \b ZUNT01 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE ZUNT01( ROWCOL, M, N, U, LDU, WORK, LWORK, RWORK, * RESID ) * * .. Scalar ...
buffer51/OpenBLAS
lapack-netlib/TESTING/EIG/zunt01.f
FORTRAN
bsd-3-clause
6,913
c Copyright (C) 1999-2015 Free Software Foundation, Inc. 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 Software Foundation; either version 3 of the License, or c (at your option) any later version. c c This progr...
armoredsoftware/protocol
measurer/gdb-7.9/gdb/testsuite/gdb.base/langs1.f
FORTRAN
bsd-3-clause
919
PRINT *,"Hello World!" END
salman-bhai/hello-world
Fortran 90/hello-world.f90
FORTRAN
mit
26
program prog do i=3,4 if (i .lt. 4) write(6, *) 'i is less than four.' if (i .ge. 4) write(6, *) 'i is greater than or equal to four.' enddo end
hickerson/bbn
fable/fable_sources/fable/test/valid/if_write.f
FORTRAN
mit
185
!======================================================================= PROGRAM TurbSim ! A turbulence simulator developed at the ! National Renewable Energy Laboratory, Golden, Colorado ! ! v1.0a-bjj 15-Mar-2004 B. Jonkman ! v1.0 4-Nov-2005 B. Jonkman ! v1.01 24-Jan-...
OpenFAST/OpenFAST
modules/turbsim/src/TurbSim.f90
FORTRAN
apache-2.0
19,272
program volatile_doctest use vecfor_R16P type(vector_R16P) :: pt(0:1) pt(1) = 1 * ex_R16P + 2 * ey_R16P + 1 * ez_R16P pt(0) = pt(1) + 2_I4P print "(3(F3.1,1X))", abs(pt(0)%x), abs(pt(0)%y), abs(pt(0)%z) endprogram volatile_doctest
szaghi/VecFor
src/tests/vecfor_R16P/vecfor_R16P-doctest-78.f90
FORTRAN
bsd-2-clause
234
subroutine clawpack46_limiter(maxm,meqn,mwaves,mbc,mx, & wave,s,mthlim) !! # Apply a limiter to the waves. !! # The limiter is computed by comparing the 2-norm of each wave with !! # the projection of the wave from the interface to the left or !! # right onto the current wave. For a linear...
ForestClaw/forestclaw
src/solvers/fc3d_clawpack46/fortran_source/fc3d_clawpack46_limiter.f90
FORTRAN
bsd-2-clause
2,339
!> !! @copyright Copyright (c) 2016-, Issam SAID <said.issam@gmail.com> !! All rights reserved. !! !! Redistribution and use in source and binary forms, with or without !! modification, are permetted provided that the following conditions !! are met: !! !! 1. Redistributions of source code must retain the above copyrig...
issamsaid/ezCU
fortran_interface/m_ezcu_dev.f90
FORTRAN
bsd-3-clause
2,839
*> \brief \b SLASQ6 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SLASQ6 + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/slasq...
jmfranck/pyspecdata
lapack-3.4.0/SRC/slasq6.f
FORTRAN
bsd-3-clause
6,661
*> \brief \b ILAENV * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ILAENV + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/ilaen...
rangsimanketkaew/NWChem
src/lapack/single/ilaenv.f
FORTRAN
mit
18,305
* Definition: * =========== * * SUBROUTINE CGETSLS( TRANS, M, N, NRHS, A, LDA, B, LDB, * $ WORK, LWORK, INFO ) * * .. Scalar Arguments .. * CHARACTER TRANS * INTEGER INFO, LDA, LDB, LWORK, M, N, NRHS * .. * .. Array Arguments .. * C...
kortschak/OpenBLAS
lapack-netlib/SRC/cgetsls.f
FORTRAN
bsd-3-clause
14,549
*> \brief \b SLASD8 finds the square roots of the roots of the secular equation, and stores, for each element in D, the distance to its two nearest poles. Used by sbdsdc. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \h...
grisuthedragon/OpenBLAS
lapack-netlib/SRC/slasd8.f
FORTRAN
bsd-3-clause
10,848
! This file is part of RMPCDMD ! Copyright (c) 2015-2016 Pierre de Buyl and contributors ! License: BSD 3-clause (see file LICENSE) program setup_fluid use common use cell_system use particle_system use hilbert use interaction use hdf5 use h5md_module use mpcd use threefry_module use iso_c_binding ...
pdebuyl-lab/RMPCDMD
test/setup_simple_fluid.f90
FORTRAN
bsd-3-clause
5,062
*> \brief \b ZLAHRD reduces the first nb columns of a general rectangular matrix A so that elements below the k-th subdiagonal are zero, and returns auxiliary matrices which are needed to apply the transformation to the unreduced part of A. * * =========== DOCUMENTATION =========== * * Online html documentation availa...
grisuthedragon/OpenBLAS
lapack-netlib/SRC/DEPRECATED/zlahrd.f
FORTRAN
bsd-3-clause
8,972
! Generated automatically. DO NOT EDIT! type, bind(C) :: fftwl_iodim integer(C_INT) n, is, os end type fftwl_iodim type, bind(C) :: fftwl_iodim64 integer(C_INTPTR_T) n, is, os end type fftwl_iodim64 interface type(C_PTR) function fftwl_plan_dft(rank,n,in,out,sign,flags) bind(C, name='fftwl_p...
peteward44/atlasbuilder
vips-dev-w64-all-8.4.1/include/fftw3l.f03
FORTRAN
mit
26,820
!____________________________________________________________________________ ! A C-program for MT19937: Real number version ! genrand() generates one pseudorandom real number (double) ! which is uniformly distributed on [0,1]-interval, for each ! call. sgenrand(seed) set initial values to the working area ! of 624 w...
BrunoSanchez/fisicaComp
lab3/mersennetwister.f90
FORTRAN
mit
7,986
program main use heat implicit none type (heat_model) :: model write(*,"(a)") "Start" call initialize_from_defaults(model) write(*,"(a)") "Model initial values..." call print_values(model) do while (model%t < model%t_end) call advance_in_time(model) write(*,"(a, f6.1)") "Model values at t...
csdms/bmi-f90
heat/main.f90
FORTRAN
mit
443
!------------------------------------------------------------------------------- ! Copyright (c) 2019 FrontISTR Commons ! This software is released under the MIT License, see LICENSE.txt !------------------------------------------------------------------------------- !> This module provides a function to control heat a...
FrontISTR/FrontISTR
fistr1/src/analysis/heat/fstr_solve_heat.f90
FORTRAN
mit
2,145
great_ne(q1,m1). great_ne(m1,a1). great_ne(b1,c1). great_ne(v1,ii1). great_ne(z1,ff1). great_ne(y1,w1). great_ne(z1,p1). great_ne(p1,m1). great_ne(ii1,w1). great_ne(v1,c1). great_ne(v1,b1). great_ne(cc1,ee1). great_ne(bb1,w1). great_ne(z1,ii1). great_ne(cc1,dd1). great_ne(p1,x1). great_ne(m1,ii1). great_ne(p1,b1). grea...
manoelfranca/cilppp
foldsCreator/files/datasets/alzheimer_anime_noiseless/incremental7/train10.f
FORTRAN
apache-2.0
3,675
C Copyright(C) 2009-2017 National Technology & Engineering Solutions of C Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with C NTESS, the U.S. Government retains certain rights in this software. C C Redistribution and use in source and binary forms, with or without C modification, are permitted provid...
nschloe/seacas
packages/seacas/applications/blot/scal3d.f
FORTRAN
bsd-3-clause
4,014
! ! MVAPICH2 ! ! Copyright 2003-2016 The Ohio State University. ! Portions Copyright 1999-2002 The Regents of the University of ! California, through Lawrence Berkeley National Laboratory (subject to ! receipt of any required approvals from U.S. Dept. of Energy). ! Portions copyright 1993 University of Chicago. ! ! Red...
sssylvester/geopm
test/fortran/exscanf90.f90
FORTRAN
bsd-3-clause
5,048
C ***************************************************************** C C+lsf_enq_smooth C SUBROUTINE lsf_enq_smooth( lsf_num, * sm_type, * sm_size, * sam_rate, * s ) C C ...
CavendishAstrophysics/postmortem
src/lsflib/lsf_enq_smooth.f
FORTRAN
bsd-3-clause
1,949
*> \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...
mverleg/1957
lib/lapack/dstevr.f
FORTRAN
bsd-3-clause
19,011
SUBROUTINE loop25_F90(N, x, a, b, c, y, u, v, w) INTEGER i, N REAL*8 x(N), a(N), b(N), c(N), y(N), u, v, w x = u*b; y = v*b + w*a + u*c RETURN END SUBROUTINE loop25_F90Overhead(N, x, a, b, c, y, u, v, w) INTEGER i, N REAL*8 x(N), a(N), b(N), c(N), y(N), u, v, w ...
MSV-Project/IBAMR
ibtk/third_party/blitz-0.10/benchmarks/loop25f90.f90
FORTRAN
bsd-3-clause
344
SUBROUTINE CCHKTR( DOTYPE, NN, NVAL, NNB, NBVAL, NNS, NSVAL, $ THRESH, TSTERR, NMAX, A, AINV, B, X, XACT, $ WORK, RWORK, NOUT ) * * -- LAPACK test routine (version 3.1) -- * Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. * November 2006 * * ...
maxhutch/magma
testing/lin/cchktr.f
FORTRAN
bsd-3-clause
17,171
# # Swaggy Jenkins # Jenkins API clients generated from Swagger / Open API specification # Version: 1.1.2-pre.0 # Contact: blah@cliffano.com # Generated by OpenAPI Generator: https://openapi-generator.tech # Describe -tag 'PSOpenAPITools' -name 'EmptyChangeLogSet' { Context 'EmptyChangeLogSet' { It 'Initia...
cliffano/swaggy-jenkins
clients/powershell/generated/tests/Model/EmptyChangeLogSet.Tests.ps1
PowerShell
mit
615
# To be PS 2.0 compatible, dont use Invoke-WebRequest $packageName = "DotNet3_5.exe" $downloadUrl = "https://download.microsoft.com/download/7/0/3/703455ee-a747-4cc8-bd3e-98a615c3aedb/dotNetFx35setup.exe" $targetFile = "C:\tmp\$packageName" # Download installer Write-Host "Downloading $packageName" -ForegroundColor G...
sparerd/vagrant
SharedScripts/Windows/DotNet/install_dotnet_35_for_desktop.ps1
PowerShell
mit
602
$commandname = $MyInvocation.MyCommand.Name.Replace(".Tests.ps1", "") Write-Host -Object "Running $PSCommandpath" -ForegroundColor Cyan . "$PSScriptRoot\constants.ps1" Describe "$commandname Unit Tests" -Tag "UnitTests" { $global:object = [PSCustomObject]@{ Foo = 42 Bar = 18 Tara = 21 ...
sqlpadawan/dbatools
tests/Select-DbaObject.Tests.ps1
PowerShell
mit
1,452
Trace-VstsEnteringInvocation $MyInvocation try { . $PSScriptRoot\Get-PythonExe.ps1 $distdir = Get-VstsInput -Name "distdir" -Require $repository = Get-VstsInput -Name "repository" -Require $pypirc = Get-VstsInput -Name "pypirc" $username = Get-VstsInput -Name "username" $password = Get-VstsInpu...
zooba/vsts-python-tasks
UploadPackage/UploadPackage.ps1
PowerShell
mit
1,545
<# .SYNOPSIS Automated unit test for MSFT_SqlServerSecureConnection DSC resource. .NOTES To run this script locally, please make sure to first run the bootstrap script. Read more at https://github.com/PowerShell/SqlServerDsc/blob/dev/CONTRIBUTING.md#bootstrap-script-assert-teste...
PowerShell/xSQLServer
Tests/Unit/MSFT_SqlServerSecureConnection.Tests.ps1
PowerShell
mit
34,489
# # Module manifest for module 'SqlCmdTools' # # @{ # Script module or binary module file associated with this manifest. RootModule = 'SqlCmdTools.psm1' # Version number of this module. ModuleVersion = '0.0.0.1' # ID used to uniquely identify this module GUID = '97222863-d093-489a-8b09-e37f5607df83' # Author of th...
melvinlee/SQLCmdTools
SqlCmdTools.psd1
PowerShell
mit
2,544
#region Lock Object against files #region Initial File Creation $File = 'C:\users\proxb\desktop\test.log' '1,2,3,4' | Out-File $File #endregion Initial File Creation #region Take lock and attempt to update file in runspace $LockTaken = $null [System.Threading.Monitor]::TryEnter($File, [ref]$LockTaken) If ($LockTaken)...
proxb/Presentations
Tampa - A Look at PowerShell Runspaces/3_3_3_RunSpacesDemo_TryLockLogFile.ps1
PowerShell
mit
1,578
#requires -Modules InvokeBuild [CmdletBinding()] [System.Diagnostics.CodeAnalysis.SuppressMessage('PSAvoidUsingWriteHost', '')] [System.Diagnostics.CodeAnalysis.SuppressMessage('PSAvoidUsingEmptyCatchBlock', '')] param( [String[]]$Tag, [String[]]$ExcludeTag = @("Integration"), [String]$PSGalleryAPIKey, ...
AtlassianPS/JiraPS
JiraPS.build.ps1
PowerShell
mit
12,832
<# Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This sample assumes that you are familiar with the programming language being demonst...
joerodgers/powershell
SharePoint/ServiceApplications/Search/Get-CustomResultSource.ps1
PowerShell
mit
4,744
Set-StrictMode -Version 2 function Test-SqlServer { <# .SYNOPSIS Tests if a SQL Server exists and can be connected to. Optonally checks for a specific database or table. .PARAMETER Server The SQL Server to test .PARAMETER Database The database to test exists on the SQL Server ...
afscrome/TelligentInstanceManager
TelligentInstall/sql.ps1
PowerShell
mit
13,166
# # Copyright (c) Microsoft Corporation. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR AN...
devrandorfer/ScorchDev
PowerShellModules/PackageManagementProviderResource/1.0.2/Examples/Sample_PSModule.ps1
PowerShell
mit
1,551
Framework 4.6 properties { $rootNow = Resolve-Path . $nugetexe = "$rootNow/buildTools/nuget.exe" $mahuaDownloadTempDir = "$( $env:TEMP )\Newbe\Newbe.Mahua\Mahua2.Asset" $mahuaFilesJson = "mahua.files.json" } function Get-PlartformName { if ((Test-Path "$rootNow/CQA.exe") -or (Test-Path "$rootNow/C...
Newbe36524/Newbe.Mahua.Framework
src/Newbe.Mahua.Installer/mahua.ps1
PowerShell
mit
2,773
# Stop and remove swift containers and image if any docker stop SWIFT_AIO docker rm SWIFT_AIO docker rm SWIFT_DATA #docker rmi swift-aio
vtfuture/SwiftClient
tools/docker-swift/down.ps1
PowerShell
mit
139
############################################################################### ## ## Description: ## Test with ibv_rc_pingpong, perf and rping between 2 Guests on the same Hosts ## ## Revision: ## v1.0.0 - ldu - 12/04/2018 - Build the script ## ########################################################################...
HiRoySoft/ESX-LISA
testscripts/rdma_tools_test_same_host.ps1
PowerShell
apache-2.0
9,706
$packageName = 'kvrt' $url = 'http://devbuilds.kaspersky-labs.com/devbuilds/KVRT/latest/full/KVRT.exe' $checksum = '71ea93798110a5e6551208d4dccee5dc84204615' $checksumType = 'sha1' $toolsPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" $installFile = Join-Path $toolsPath "kvrt.exe" try { Get-Chocolat...
dtgm/chocolatey-packages
automatic/_output/kvrt/2016.03.31.0039/tools/chocolateyInstall.ps1
PowerShell
apache-2.0
931
function CreateMessageSenders($amountSenders, $queueName) { for ($i=1; $i -le $amountSenders; $i++) { $sender = New-SBMessageReceiver -QueueName $queueName -ReceiveMode 'ReceiveAndDelete'; } }
dfensgmbh/biz.dfch.PS.Azure.ServiceBus.Client
it/ServcieBusClientTestHelpers.ps1
PowerShell
apache-2.0
196
# Copyright © 2014, Microsoft Corporation. All rights reserved. @{ # Version number of this module. ModuleVersion = '0.3.0.0' # ID used to uniquely identify this module GUID = '1088cfb5-36e8-4e9f-b7e4-d49e8032dde6' # Author of this module Author = 'Microsoft Corporation' # Company or vendor of this module CompanyNam...
t3377/MyPuppet
modules/dsc/lib/puppet_x/dsc_resources/xJea/xJea.psd1
PowerShell
apache-2.0
1,015
function Add-VSWAFv2RuleGroupCountAction { <# .SYNOPSIS Adds an AWS::WAFv2::RuleGroup.CountAction resource property to the template. .DESCRIPTION Adds an AWS::WAFv2::RuleGroup.CountAction resource property to the template. .LINK http://docs.aws.amazon.com/AWSCloudFormation/la...
scrthq/Vaporshell
VaporShell/Public/Resource Property Types/Add-VSWAFv2RuleGroupCountAction.ps1
PowerShell
apache-2.0
1,332
#################################################################################### #.Synopsis # Creates and deletes sinkhole domains in Windows DNS servers. # #.Description # Script takes fully-qualified domain names (FQDNs) and/or simple domain # names, then uses them to create primary zones (not A...
allenj0321/Powershell
Sinkhole-DNS.ps1
PowerShell
bsd-2-clause
15,857
$demoPath = 'C:\Dropbox\GitRepos\MIcrosoftVIrtualAcademy\Testing PowerShell with Pester\Demos' ## Ensure no functions were just copied/pasted into session Remove-Item Function:\Start-ClusterTest,Function:\Restart-Cluster,Function:\Test-ClusterProblem -ErrorAction Ignore ## Import the ClusterTest module into the sessi...
kidchenko/playground
powershell-testing-powerShell-with-pester/Demos/Callouts/MockModules.ps1
PowerShell
mit
1,699
######################################################################## # # Linux on Hyper-V and Azure Test Code, ver. 1.0.0 # Copyright (c) Microsoft 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 Licen...
bogdancarpusor/lis-test
WS2012R2/lisa/setupscripts/SR-IOV_Ping_DisableVF.ps1
PowerShell
apache-2.0
7,327
function SendItemsToOutput { Param ( [parameter()] [PSObject[]]$items, [parameter(Mandatory=$true)] [string[]]$typeName ) foreach ($i in $items) { $i.PSObject.TypeNames.Insert(0, $typeName) Write-Output $i } }
mariuszwojcik/RabbitMQTools
SendItemsToOutput.ps1
PowerShell
mit
286