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 |
|---|---|---|---|---|---|
QEF/q-e | PP/src/punch_plot.f90 | 2 | 11211 | !
! Copyright (C) 2001-2009 Quantum ESPRESSO group
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.org/copyleft/gpl.txt .
!
!
!-----------------------------------------------------------------... | gpl-2.0 |
wilmarcardonac/hypermcmc | lapack-3.5.0/TESTING/LIN/ddrvrf4.f | 32 | 11010 | *> \brief \b DDRVRF4
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE DDRVRF4( NOUT, NN, NVAL, THRESH, C1, C2, LDC, CRF, A,
* + LDA, D_WORK_DLANGE )... | gpl-2.0 |
omni-compiler/omni-compiler | tests/XMP/others/F/add_decl-block.F90 | 2 | 2373 | !$xmp nodes p(2)
#if defined(__GNUC__) && (4 < __GNUC__ || 4 == __GNUC__ && 7 < __GNUC_MINOR__) \
|| defined(__INTEL_COMPILER) && (1600 < __INTEL_COMPILER)
integer :: ary1(6) = (/1,2,3,4,5,6/)
integer :: ary2(10) = (/1,2,3,4,5,6,7,8,9,10/)
!print *, 'line 01 : ', ary1
!print *, 'line 02 : ', ary2
blkname1 : block
... | lgpl-3.0 |
RBigData/pbdSLAP | src/ScaLAPACK/pdlaqsy.f | 4 | 13375 | SUBROUTINE PDLAQSY( UPLO, N, A, IA, JA, DESCA, SR, SC, SCOND,
$ AMAX, EQUED )
*
* -- ScaLAPACK auxiliary routine (version 1.7) --
* University of Tennessee, Knoxville, Oak Ridge National Laboratory,
* and University of California, Berkeley.
* May 1, 1997
*
* .. Scalar Argu... | mpl-2.0 |
QEF/q-e | PHonon/PH/matdyn.f90 | 1 | 91050 | ! Copyright (C) 2001-2012 Quantum ESPRESSO group
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.org/copyleft/gpl.txt .
!
!
Module ifconstants
!
!! All variables read from file that need d... | gpl-2.0 |
omni-compiler/omni-compiler | tests/XMP/others/F/block_tasks.F90 | 2 | 2051 | program tasks
!$xmp nodes p(8)
#if defined(__GNUC__) && (4 < __GNUC__ || 4 == __GNUC__ && 7 < __GNUC_MINOR__) \
|| defined(__INTEL_COMPILER) && (1600 < __INTEL_COMPILER)
blkname1 : block
#endif
!$xmp tasks
!$xmp task on p(1:4)
#if defined(__GNUC__) && (4 < __GNUC__ || 4 == __GNUC__ && 7 < __GNUC_MINOR__) \
|| d... | lgpl-3.0 |
QEF/q-e | GWW/gww/do_contour.f90 | 12 | 2077 | !
! Copyright (C) 2001-2013 Quantum ESPRESSO group
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.org/copyleft/gpl.txt .
!
!
!this subroutine add to the integral part of the self-energy the ... | gpl-2.0 |
wilmarcardonac/hypermcmc | lapack-3.5.0/SRC/dgeqrt2.f | 24 | 6290 | *> \brief \b DGEQRT2 computes a QR factorization of a general real or complex matrix using the compact WY representation of Q.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download DGEQRT2 + dependencies... | gpl-2.0 |
wilmarcardonac/hypermcmc | lapack-3.5.0/SRC/cheevr.f | 28 | 25045 | *> \brief <b> CHEEVR computes the eigenvalues and, optionally, the left and/or right eigenvectors for HE matrices</b>
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CHEEVR + dependencies
*> <a hr... | gpl-2.0 |
omni-compiler/omni-compiler | tests/XMP/local-view/coarray/F/LIB/this_image.f90 | 1 | 2510 | real a(1:2,3:5)[6:7,8:10,-3:*]
n1 = this_image(a, 1)
n2 = this_image(a, 2)
n3 = this_image(a, 3)
nerr=0
me=this_image()
if (me==1) then
if (n1.ne.6) nerr=nerr+1
if (n2.ne.8) nerr=nerr+1
if (n3.ne.-3) nerr=nerr+1
else if (me==2) then
if (n1.ne.7) nerr=nerr+1
if (n2.ne.8) nerr=ne... | lgpl-3.0 |
markusappel/McCode | support/MacOSX/pgplot/pgplot-src-mac/src/pgscr.f | 6 | 1754 | C*PGSCR -- set color representation
C%void cpgscr(int ci, float cr, float cg, float cb);
C+
SUBROUTINE PGSCR (CI, CR, CG, CB)
INTEGER CI
REAL CR, CG, CB
C
C Set color representation: i.e., define the color to be
C associated with a color index. Ignored for devices which do not
C support variable c... | gpl-2.0 |
markusappel/McCode | support/common/pgplot/src/pgerrb.f | 6 | 3510 | C*PGERRB -- horizontal or vertical error bar
C%void cpgerrb(int dir, int n, const float *x, const float *y, \
C% const float *e, float t);
C+
SUBROUTINE PGERRB (DIR, N, X, Y, E, T)
INTEGER DIR, N
REAL X(*), Y(*), E(*)
REAL T
C
C Plot error bars in the direction specified by DIR.
C This routine d... | gpl-2.0 |
wilmarcardonac/hypermcmc | lapack-3.5.0/SRC/zlacp2.f | 24 | 4168 | *> \brief \b ZLACP2 copies all or part of a real two-dimensional array to a complex array.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download ZLACP2 + dependencies
*> <a href="http://www.netlib.org/c... | gpl-2.0 |
QEF/q-e | EPW/src/stop_epw.f90 | 2 | 14710 | !
! Copyright (C) 2010-2016 Samuel Ponce', Roxana Margine, Carla Verdi, Feliciano Giustino
!
! Copyright (C) 2001 PWSCF group
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.or... | gpl-2.0 |
wilmarcardonac/hypermcmc | lapack-3.5.0/SRC/dlasdq.f | 24 | 12989 | *> \brief \b DLASDQ computes the SVD of a real bidiagonal matrix with diagonal d and off-diagonal e. Used by sbdsdc.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download DLASDQ + dependencies
*> <a hre... | gpl-2.0 |
bridgeW/Higuchi1988 | main.f90 | 1 | 3967 | PROGRAM FractalAnalysis
! Purpose:
! Calculating the fractal dimension
! Step1: Get the length of the curve,L(m,k)
! m:initial time
! k:interval time
! L(m,k)=sum(i=1,[(N-m)/k],|X(m+i*k)-X(m+(i-1)*k)|/k)
!
! Step2: Get the average of L(m,k)& its Standard_dev
! ave_Lmk=sum(m=1,k,L(m,k))/k... | bsd-3-clause |
wilmarcardonac/hypermcmc | lapack-3.5.0/SRC/sgesvxx.f | 28 | 29963 | *> \brief <b> SGESVXX computes the solution to system of linear equations A * X = B for GE matrices</b>
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SGESVXX + dependencies
*> <a href="http://ww... | gpl-2.0 |
QEF/q-e | Modules/mbdlib.f90 | 1 | 6099 | !
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.org/copyleft/gpl.txt .
!
!#############################################################
! This module computes the Many-Body Dispersion (MBD)... | gpl-2.0 |
QEF/q-e | atomic/src/scf.f90 | 2 | 5085 | !
! Copyright (C) 2004i-2010 Quantum ESPRESSO group
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.org/copyleft/gpl.txt .
!
!---------------------------------------------------------------
SU... | gpl-2.0 |
wilmarcardonac/hypermcmc | lapack-3.5.0/SRC/ilatrans.f | 25 | 2575 | *> \brief \b ILATRANS
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download ILATRANS + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/i... | gpl-2.0 |
e-q/scipy | scipy/linalg/src/lapack_deprecations/sgegv.f | 94 | 25204 | *> \brief <b> SGEEVX computes the eigenvalues and, optionally, the left and/or right eigenvectors for GE matrices</b>
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SGEGV + dependencies
*> <a hre... | bsd-3-clause |
wilmarcardonac/hypermcmc | lapack-3.5.0/TESTING/EIG/sdrges.f | 32 | 36972 | *> \brief \b SDRGES
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE SDRGES( NSIZES, NN, NTYPES, DOTYPE, ISEED, THRESH,
* NOUNIT, A, LDA, B, S, T, ... | gpl-2.0 |
omni-compiler/omni-compiler | tests/XMP/local-view/coarray/F/GET/a2d2.f90 | 2 | 1284 | program putgettest
!! include "xmp_coarray.h"
integer*2 a2d2(10,8)[*]
integer xmp_node_num
integer nerr
me = this_image()
!---------------------------- switch on message
!! call xmpf_coarray_msg(1)
!---------------------------- initialization
a2d2=0
sync all
!-----------... | lgpl-3.0 |
linzhaoming/origin | vendor/gonum.org/v1/gonum/lapack/internal/testdata/netlib/lsame.f | 204 | 3170 | *> \brief \b LSAME
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* LOGICAL FUNCTION LSAME( CA, CB )
*
* .. Scalar Arguments ..
* CHARACTER CA, CB
* ..
*
*
*> \... | apache-2.0 |
omni-compiler/omni-compiler | tests/old/F-test/OMP-test/do001.f | 2 | 2220 | C ********************************************************************
C OpenMP Fortran API Test Suite
C -----------------------------
C
C Test Name : do001
C
C Summary : do construct with nowait clause
C
C Description : F77 version of example A.4 from specification.
C
C Verificat... | lgpl-3.0 |
wilmarcardonac/hypermcmc | lapack-3.5.0/TESTING/LIN/sdrvgt.f | 32 | 19178 | *> \brief \b SDRVGT
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* SUBROUTINE SDRVGT( DOTYPE, NN, NVAL, NRHS, THRESH, TSTERR, A, AF,
* B, X, XACT, WORK, RWO... | gpl-2.0 |
markusappel/McCode | support/MacOSX/pgplot/pgplot-src-mac/sys_mac/grgenv.f | 6 | 4059 |
C*GRGENV -- get value of PGPLOT environment parameter (MAC)
C+
SUBROUTINE GRGENV(NAME, VALUE, L)
CHARACTER*(*) NAME, VALUE
INTEGER L
C
C Return the value of a PGPLOT environment parameter. In Sun/Convex-UNIX,
C environment parameters are UNIX environment variables; e.g. parameter
C ENVOPT is environm... | gpl-2.0 |
piyush0609/scipy | scipy/optimize/cobyla/trstlp.f | 128 | 17275 | C------------------------------------------------------------------------------
SUBROUTINE TRSTLP (N,M,A,B,RHO,DX,IFULL,IACT,Z,ZDOTA,VMULTC,
1 SDIRN,DXNEW,VMULTD,IPRINT)
IMPLICIT DOUBLE PRECISION (A-H,O-Z)
DOUBLE PRECISION TEMP
DIMENSION A(N,*),B(*),DX(*),IACT(*),Z(N,*),ZDOTA(*),
1 V... | bsd-3-clause |
piyush0609/scipy | scipy/integrate/quadpack/dqawce.f | 143 | 12260 | subroutine dqawce(f,a,b,c,epsabs,epsrel,limit,result,abserr,neval,
* ier,alist,blist,rlist,elist,iord,last)
c***begin prologue dqawce
c***date written 800101 (yymmdd)
c***revision date 830518 (yymmdd)
c***category no. h2a2a1,j4
c***keywords automatic integrator, special-purpose,
c cau... | bsd-3-clause |
LucasGandel/ITK | Modules/ThirdParty/VNL/src/vxl/v3p/netlib/napack/cg.f | 41 | 14263 | C
C ________________________________________________________
C | |
C | MINIMIZE A FUNCTION USING THE FLETCHER-REEVES FORM |
C | OF THE CONJUGATE GRADIENT METHOD |
C | WITH (OR WITHOUT) PRECONDITIONING ... | apache-2.0 |
QEF/q-e_schrodinger | atomic/src/export_upf.f90 | 2 | 15169 | !
! Copyright (C) 2008 PWSCF group
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.org/copyleft/gpl.txt .
!
!---------------------------------------------------------------------
SUBROUTINE ex... | gpl-2.0 |
QEF/q-e_schrodinger | CPV/src/print_out.f90 | 2 | 24425 | !
! Copyright (C) 2002-2011 Quantum ESPRESSO group
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.org/copyleft/gpl.txt .
!
!=------------------------------------------------------------------... | gpl-2.0 |
piyush0609/scipy | scipy/integrate/quadpack/dqk51.f | 145 | 9707 | subroutine dqk51(f,a,b,result,abserr,resabs,resasc)
c***begin prologue dqk51
c***date written 800101 (yymmdd)
c***revision date 830518 (yymmdd)
c***category no. h2a1a2
c***keywords 51-point gauss-kronrod rules
c***author piessens,robert,appl. math. & progr. div. - k.u.leuven
c de doncker,elis... | bsd-3-clause |
davidandrewnew/uclales | src/rfft.f90 | 1 | 29802 | !
!---------------------------------------------------------------------
! SUBROUTINE FFT2DC: This routine computes the two dimensional
! transform of a complex cubic array of square N and length NZ.
! FFT's are done for each square level for k=2->NZ inclusive. The
! first level is used as a scratch array for storing ... | gpl-3.0 |
LucasGandel/ITK | Modules/ThirdParty/Netlib/src/netlib/slatec/dlbeta.f | 48 | 1910 | *DECK DLBETA
DOUBLE PRECISION FUNCTION DLBETA (A, B)
C***BEGIN PROLOGUE DLBETA
C***PURPOSE Compute the natural logarithm of the complete Beta
C function.
C***LIBRARY SLATEC (FNLIB)
C***CATEGORY C7B
C***TYPE DOUBLE PRECISION (ALBETA-S, DLBETA-D, CLBETA-C)
C***KEYWORDS FNLIB, LOGARITHM OF THE ... | apache-2.0 |
kbai/specfem3d | utils/EXTERNAL_CODES_coupled_with_SPECFEM3D/DSM_for_SPECFEM3D/DSM-1-BIG_3D_storage_version/Part-3-modify_DSM_results_for_SPECFEM/FFT_MPI_FACES_VERT_SH/rotations_matrix.f90 | 15 | 5195 | !
!
! ROUTINES POUR FAIRE DES ROTATIONS 3D ET DIVERS CHANGEMENTS DE REPERES
!
! Vadim Monteiller Mars 2013
!
!-------------------------------------------------------------------------------
! matrice de rotation 3D d'axe "axe" et d'angle theta (degres)
! cette matrice est en complexe
subroutine rotation_matrix(R,axe,... | gpl-2.0 |
kbai/specfem3d | utils/EXTERNAL_CODES_coupled_with_SPECFEM3D/DSM_for_SPECFEM3D/DSM-1-BIG_3D_storage_version/Part-3-modify_DSM_results_for_SPECFEM/FFT_MPI_FACES_VERT_PSV/rotations_matrix.f90 | 15 | 5195 | !
!
! ROUTINES POUR FAIRE DES ROTATIONS 3D ET DIVERS CHANGEMENTS DE REPERES
!
! Vadim Monteiller Mars 2013
!
!-------------------------------------------------------------------------------
! matrice de rotation 3D d'axe "axe" et d'angle theta (degres)
! cette matrice est en complexe
subroutine rotation_matrix(R,axe,... | gpl-2.0 |
kbai/specfem3d | utils/Visualization/opendx_AVS/view_basin_model_box_dx.f90 | 8 | 2058 |
program test_opendx_hexahedra
!-------------------------------------------------------------------------
! creates an OpenDX file showing the edges of the SEM grid
!-------------------------------------------------------------------------
implicit none
include "../../../constants.h"
double precision, param... | gpl-2.0 |
skywalker00/sabermod_rom_toolchain | 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 |
QEF/q-e_schrodinger | PW/src/h_psi.f90 | 1 | 10060 | !
! Copyright (C) 2002-2022 Quantum ESPRESSO group
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.org/copyleft/gpl.txt .
!
!-------------------------------------------------------------------... | gpl-2.0 |
yangf4/phasta | phSolver/compressible/itrfdi.f | 1 | 8406 | subroutine itrFDI (ypre, y, ac, x,
& rmes, uBrg, BDiag,
& iBC, BC, iper,
& ilwork, shp, shgl,
& shpb, shglb)
c
c---------------------------------------------------... | bsd-3-clause |
piyush0609/scipy | scipy/interpolate/fitpack/cualde.f | 148 | 3040 | subroutine cualde(idim,t,n,c,nc,k1,u,d,nd,ier)
c subroutine cualde evaluates at the point u all the derivatives
c (l)
c d(idim*l+j) = sj (u) ,l=0,1,...,k, j=1,2,...,idim
c of a spline curve s(u) of order k1 (degree k=k1-1) and dimension idim
c given in its b-spline representation.
c
c... | bsd-3-clause |
LucasGandel/ITK | Modules/ThirdParty/VNL/src/vxl/v3p/netlib/blas/sdot.f | 55 | 1229 | real function sdot(n,sx,incx,sy,incy)
c
c forms the dot product of two vectors.
c uses unrolled loops for increments equal to one.
c jack dongarra, linpack, 3/11/78.
c modified 12/3/93, array(1) declarations changed to array(*)
c
real sx(*),sy(*),stemp
integer i,incx,incy,ix,iy,m,mp1,n... | apache-2.0 |
aidanheerdegen/MOM6 | src/core/MOM_PressureForce.F90 | 1 | 8767 | module MOM_PressureForce
!***********************************************************************
!* GNU General Public License *
!* This file is a part of MOM. *
!* *
!* ... | gpl-3.0 |
skywalker00/sabermod_rom_toolchain | gcc/testsuite/gfortran.dg/used_before_typed_1.f90 | 193 | 1320 | ! { dg-do compile }
! { dg-options "-std=f95" }
! PR fortran/32095
! PR fortran/34228
! Check that standards-conforming mode rejects uses of variables that
! are used before they are typed.
SUBROUTINE test1 (n, arr, m, arr2, k, arr3, a) ! { dg-error "has no IMPLICIT" }
IMPLICIT NONE
INTEGER :: arr(n) ! { dg-erro... | gpl-2.0 |
QEF/q-e_schrodinger | LR_Modules/lr_dot_magnons.f90 | 2 | 3012 | !
! Copyright (C) 2021 Quantum ESPRESSO group
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.org/copyleft/gpl.txt .
!
!-----------------------------------------------------------------------
... | gpl-2.0 |
QEF/q-e_schrodinger | PW/src/init_nsg.f90 | 1 | 4463 | !
! Copyright (C) 2001-2022 Quantum ESPRESSO group
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.org/copyleft/gpl.txt .
!
!
!-----------------------------------------------------------------... | gpl-2.0 |
skywalker00/sabermod_rom_toolchain | gcc/testsuite/gfortran.dg/g77/980519-2.f | 209 | 1605 | c { dg-do compile }
* Date: Fri, 17 Apr 1998 14:12:51 +0200
* From: Jean-Paul Jeannot <jeannot@gx-tech.fr>
* Organization: GX Technology France
* To: egcs-bugs@cygnus.com
* Subject: identified bug in g77 on Alpha
*
* Dear Sir,
*
* You will find below the assembly code of a simple Fortran routine which
* crashes with ... | gpl-2.0 |
piyush0609/scipy | scipy/linalg/src/det.f | 121 | 4747 |
c Calculate determinant of square matrix
c Author: Pearu Peterson, March 2002
c
c prefixes: d,z,s,c (double,complex double,float,complex float)
c suffixes: _c,_r (column major order,row major order)
subroutine ddet_c(det,a,n,piv,info)
integer n,piv(n),i
double precision det,a(n... | bsd-3-clause |
kbai/specfem3d | src/tomography/get_cg_direction.f90 | 2 | 17305 | !=====================================================================
!
! S p e c f e m 3 D V e r s i o n 3 . 0
! ---------------------------------------
!
! Main historical authors: Dimitri Komatitsch and Jeroen Tromp
! Princeton University, USA
! ... | gpl-2.0 |
piyush0609/scipy | scipy/interpolate/fitpack/curfit.f | 113 | 13785 | subroutine curfit(iopt,m,x,y,w,xb,xe,k,s,nest,n,t,c,fp,
* wrk,lwrk,iwrk,ier)
c given the set of data points (x(i),y(i)) and the set of positive
c numbers w(i),i=1,2,...,m,subroutine curfit determines a smooth spline
c approximation of degree k on the interval xb <= x <= xe.
c if iopt=-1 curfit calculates... | bsd-3-clause |
QEF/q-e_schrodinger | Modules/wgauss.f90 | 2 | 2505 | !
! Copyright (C) 2001 PWSCF group
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.org/copyleft/gpl.txt .
!
!
!-----------------------------------------------------------------------
function ... | gpl-2.0 |
kbai/specfem3d | src/inverse_problem/program03_smooth_sem.f90 | 2 | 24106 | !=====================================================================
!
! S p e c f e m 3 D V e r s i o n 3 . 0
! ---------------------------------------
!
! Main historical authors: Dimitri Komatitsch and Jeroen Tromp
! Princeton University, USA
! ... | gpl-2.0 |
QEF/q-e_schrodinger | Modules/eqn_lauevoid.f90 | 2 | 17227 | !
! Copyright (C) 2016 National Institute of Advanced Industrial Science and Technology (AIST)
! [ This code is written by Satomichi Nishihara. ]
!
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.... | gpl-2.0 |
yangf4/phasta | M2NFixBnd/src/readnblk.f | 5 | 27844 | c readnblk.f (pronounce "Reed and Block Dot Eff") contains:
c
c module readarrays ("Red Arrays") -- contains the arrays that
c are read in from binary files but not immediately blocked
c through pointers.
c
c subroutine readnblk ("Reed and Block") -- allocates space for
c and reads data to be contai... | bsd-3-clause |
khsk2/inc3d | module_param_diagp.f90 | 1 | 7018 | module variables
use decomp_2d, only : mytype
! Boundary conditions : ncl = 2 --> Dirichlet
! Boundary conditions : ncl = 1 --> Free-slip
! Boundary conditions : ncl = 0 --> Periodic
! l: power of 2,3,4,5 and 6
! if ncl = 1 or 2, --> n = 2l+ 1
! --> nm = n - 1
! --> m = n + 1
!... | gpl-3.0 |
QEF/q-e_schrodinger | HP/src/hp_summary_q.f90 | 2 | 6652 | !
! Copyright (C) 2001-2018 Quantum ESPRESSO group
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.org/copyleft/gpl.txt .
!
!
!-----------------------------------------------------------------... | gpl-2.0 |
skywalker00/sabermod_rom_toolchain | gcc/testsuite/gfortran.dg/typebound_operator_15.f90 | 141 | 1943 | ! { dg-do run }
!
! PR fortran/53255
!
! Contributed by Reinhold Bader.
!
! Before TYPE(ext)'s .tr. wrongly called the base type's trace
! instead of ext's trace_ext.
!
module mod_base
implicit none
private
integer, public :: base_cnt = 0
type, public :: base
private
real :: r(2,2) = reshape( (/ 1.0, ... | gpl-2.0 |
skywalker00/sabermod_rom_toolchain | gcc/testsuite/gfortran.dg/char_result_8.f90 | 188 | 1068 | ! Related to PR 15326. Compare functions that return string pointers with
! functions that return strings.
! { dg-do run }
program main
implicit none
character (len = 30), target :: string
call test (f1 (), 30)
call test (f2 (50), 50)
call test (f3 (), 30)
call test (f4 (70), 70)
call indirect (100)
c... | gpl-2.0 |
piyush0609/scipy | scipy/linalg/src/id_dist/src/idd_house.f | 100 | 6886 | c this file contains the following user-callable routines:
c
c
c routine idd_house calculates the vector and scalar
c needed to apply the Householder tranformation reflecting
c a given vector into its first component.
c
c routine idd_houseapp applies a Householder matrix to a vector.
c
c
c... | bsd-3-clause |
crazyleen/msp430-gdb-7.2a | gdb/testsuite/gdb.fortran/array-element.f | 5 | 1071 | c Copyright 2005, 2010 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 program ... | gpl-2.0 |
LucasGandel/ITK | Modules/ThirdParty/VNL/src/vxl/v3p/netlib/minpack/fdjac2.f | 173 | 3340 | subroutine fdjac2(fcn,m,n,x,fvec,fjac,ldfjac,iflag,epsfcn,wa)
integer m,n,ldfjac,iflag
double precision epsfcn
double precision x(n),fvec(m),fjac(ldfjac,n),wa(m)
c **********
c
c subroutine fdjac2
c
c this subroutine computes a forward-difference approximation
c to the m by n jac... | apache-2.0 |
QEF/q-e_schrodinger | UtilXlib/nvtx_wrapper.f90 | 2 | 4160 | !MIT License
!Copyright (c) 2019 maxcuda
!This module has been downloaded and adapted from
! https://github.com/maxcuda/NVTX_example
!
! Permission is hereby granted, free of charge, to any person obtaining a copy
! of this software and associated documentation files (the "Software"), to deal
! in the Softwar... | gpl-2.0 |
QEF/q-e_schrodinger | TDDFPT/src/environ_td_module.f90 | 2 | 2447 | !----------------------------------------------------------------------------------------
!>
!!
!----------------------------------------------------------------------------------------
MODULE environ_td_module
!------------------------------------------------------------------------------------
#if defined (__ENVI... | gpl-2.0 |
yangf4/phasta | phSolver/incompressible/soldir.f | 5 | 3630 | subroutine SolDir (y, ac, yold, acold,
& x,
& iBC, BC,
& res,
& iper, ilwork,
& shp, shgl, shpb, shglb)
c
c----------------------------------------... | bsd-3-clause |
yangf4/phasta | phSolver/compressible/i3ldu.f | 4 | 6535 | subroutine i3LDU (Diag, r, code)
c
c----------------------------------------------------------------------
c
c This routine preforms a Cholesky factorization/solve of a set of
c symmetric matrices for 3-D computations, used for block diagonal
c preconditioning in the iterative driver.
c
c input:
c Diag (numn... | bsd-3-clause |
skywalker00/sabermod_rom_toolchain | gcc/testsuite/gfortran.dg/coarray/image_index_2.f90 | 147 | 2047 | ! { dg-do run }
!
! Scalar coarray
!
! Run-time test for IMAGE_INDEX with cobounds only known at
! the compile time, suitable for any number of NUM_IMAGES()
! For compile-time cobounds, the -fcoarray=lib version still
! needs to run-time evalulation if image_index returns > 1
! as image_index is 0 if the index would ex... | gpl-2.0 |
kbai/specfem3d | utils/Cubit_or_Gmsh/convert_tetra_mesh_to_hexa_mesh_THex.f90 | 1 | 13971 | !=====================================================================
!
! S p e c f e m 3 D V e r s i o n 3 . 0
! ---------------------------------------
!
! Main historical authors: Dimitri Komatitsch and Jeroen Tromp
! Princeton University, USA
! ... | gpl-2.0 |
kbai/specfem3d | utils/small_SEM_solvers_in_Fortran_and_C_without_MPI_to_learn/mesher_for_serial/add_missing_nodes.f90 | 6 | 5562 | !=====================================================================
!
! S p e c f e m 3 D G l o b e V e r s i o n 4 . 0
! --------------------------------------------------
!
! Main authors: Dimitri Komatitsch and Jeroen Tromp
! Seismological Laboratory, California Institute of Techn... | gpl-2.0 |
skywalker00/sabermod_rom_toolchain | gcc/testsuite/gfortran.dg/transfer_assumed_size_1.f90 | 136 | 1340 | ! { dg-do run }
! Tests the fix for the regression PR34080, in which the character
! length of the assumed length arguments to TRANSFER were getting
! lost.
!
! Drew McCormack <drewmccormack@mac.com>
!
module TransferBug
type ByteType
private
character(len=1) :: singleByt... | gpl-2.0 |
QEF/q-e_schrodinger | PHonon/PH/solve_e.f90 | 1 | 11512 | !
! Copyright (C) 2001-2018 Quantum ESPRESSO group
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.org/copyleft/gpl.txt .
!
!
!-----------------------------------------------------------------... | gpl-2.0 |
davidandrewnew/uclales | src/modnudge.f90 | 1 | 12306 | !> \file modnudge.f90
!! Nudges theta_l and q_t profiles to the initial profiles on a timescale tnudgeT
!>
!>
!! Nudges theta_l and q_t profiles to the initial profiles on a timescale tnudgeT
!>
!! \author Thijs Heus,MPI-M
!! \par Revision list
!! \todo Documentation
! This file is part of DALES.
!
! DALES is fr... | gpl-3.0 |
yangf4/phasta | M2NFixBnd/src/commuMax.f | 5 | 9995 | subroutine commuMax (global, ilwork, n, code)
c---------------------------------------------------------------------
c
c This subroutine is responsible for interprocessor communication of
c the residual and solution vectors.
c
c input:
c global(nshg,n): global vector to be communicated. Note that
c ... | bsd-3-clause |
kbai/specfem3d | utils/ADJOINT_TOMOGRAPHY_TOOLS/iterate_adj/SEM2D_iterate/gji_paper/codes_18_06Aug2006/wave2d_constants.f90 | 7 | 6934 | module wave2d_constants
!
! GRID, TIME-STEP, AND SOURCE PARAMETERS
!
! NFRAME : number of frames to save
! NSAVE : timestep increment to save the wavefield
! NSTEP : number of timesteps
integer, parameter :: NFRAME = 10 ! 10,12,17
integer, parameter :: NSAVE = 400 ! 400
integer, parameter :: NSTEP = NF... | gpl-2.0 |
skywalker00/sabermod_rom_toolchain | gcc/testsuite/gfortran.dg/interface_3.f90 | 155 | 1587 | ! { dg-do compile }
! Tests the fix for PR20880, which was due to failure to the failure
! to detect the USE association of a nameless interface for a
! procedure with the same name as the encompassing scope.
!
! Contributed by Joost VandeVondele <jv244@cam.ac.uk>
!
! Modified for PR fortran/34657
!
module test_mod
in... | gpl-2.0 |
skywalker00/sabermod_rom_toolchain | gcc/testsuite/gfortran.dg/implicit_2.f90 | 157 | 1088 | ! { dg-do compile }
module implicit_2
! This should cause an error if function types are resolved from the
! module namespace.
implicit none
type t
integer i
end type
contains
! This caused an ICE because we were trying to apply the implicit type
! after we had applied the explicit type.
subroutine test(... | gpl-2.0 |
skywalker00/sabermod_rom_toolchain | gcc/testsuite/gfortran.dg/aliasing_array_result_1.f90 | 136 | 3787 | ! { dg-do run }
! Tests the fic for PR44582, where gfortran was found to
! produce an incorrect result when the result of a function
! was aliased by a host or use associated variable, to which
! the function is assigned. In these cases a temporary is
! required in the function assignments. The check has to be
! rather... | gpl-2.0 |
khsk2/inc3d | io_diagp.f90 | 1 | 27717 | !=======================================================================
! This is part of the 2DECOMP&FFT library
!
! 2DECOMP&FFT is a software framework for general-purpose 2D (pencil)
! decomposition. It also implements a highly scalable distributed
! three-dimensional Fast Fourier Transform (FFT).
!
! Copyright (... | gpl-3.0 |
QEF/q-e_schrodinger | Modules/suscept_laue.f90 | 2 | 20583 | !
! Copyright (C) 2016 National Institute of Advanced Industrial Science and Technology (AIST)
! [ This code is written by Satomichi Nishihara. ]
!
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.... | gpl-2.0 |
kbai/specfem3d | utils/EXTERNAL_CODES_coupled_with_SPECFEM3D/DSM_for_SPECFEM3D/Notes_Olds_and_Utils/OLD--VM_mesher_now_handled_by_meshfem3d/mesh_chunk.f90 | 3 | 36091 | !
!
! MAILLAGE D'UN CHUNK POUR INTERFACE SPECFEM/DSM
! !!!!!!! cas 8 noeuds
!
! Vadim Monteiler, Fevrier 2013
!
!
! J'ai une convention propre pour le mapping de la sphere cubique (a completer ... ) !!!!!!
!
program mesh_chunk
implicit none
integer nel_lat,nel_lon,nel_depth,NX,NY,NZ,Ndepth
integer NGLLX,NGLLY,... | gpl-2.0 |
T-J-Teru/binutils-gdb | gdb/testsuite/gdb.fortran/pointer-to-pointer.f90 | 5 | 1072 | ! Copyright 2020-2022 Free Software Foundation, Inc.
!
! This program 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; either version 3 of the License, or
! (at your option) any later version.
!
! This program ... | gpl-2.0 |
kbai/specfem3d | utils/Cubit_or_Gmsh/multiply_coordinates_of_the_whole_mesh_by_1000.f90 | 4 | 3536 | !=====================================================================
!
! S p e c f e m 3 D V e r s i o n 3 . 0
! ---------------------------------------
!
! Main historical authors: Dimitri Komatitsch and Jeroen Tromp
! Princeton University, USA
! ... | gpl-2.0 |
skywalker00/sabermod_rom_toolchain | gcc/testsuite/gfortran.dg/c_funloc_tests_6.f90 | 30 | 1065 | ! { dg-do compile }
! { dg-options "-std=f2008" }
!
! Check relaxed TS29113 constraints for procedures
! and c_f_*pointer argument checking for c_ptr/c_funptr.
!
use iso_c_binding
implicit none
type(c_ptr) :: cp
type(c_funptr) :: cfp
interface
subroutine sub() bind(C)
end subroutine sub
end interface
integer(c_in... | gpl-2.0 |
kbai/specfem3d | src/auxiliaries/combine_surf_data.f90 | 4 | 12688 | !=====================================================================
!
! S p e c f e m 3 D V e r s i o n 3 . 0
! ---------------------------------------
!
! Main historical authors: Dimitri Komatitsch and Jeroen Tromp
! Princeton University, USA
! ... | gpl-2.0 |
skywalker00/sabermod_rom_toolchain | libgfortran/generated/_exp_c10.F90 | 35 | 1484 | ! 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 |
prool/ccx_prool | ARPACK/LAPACK/slasr.f | 5 | 11491 | SUBROUTINE SLASR( SIDE, PIVOT, DIRECT, M, N, C, S, A, LDA )
*
* -- LAPACK auxiliary routine (version 2.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* October 31, 1992
*
* .. Scalar Arguments ..
CHARACTER ... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.8p2/src/e_c3d.f | 2 | 56011 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2015 Guido Dhondt
!
! This program 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(version 2);
!
!
! ... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.12/src/umat.f | 6 | 2859 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2015 Guido Dhondt
!
! This program 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(version 2);
!
!
! ... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.8p2/src/umat.f | 6 | 2859 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2015 Guido Dhondt
!
! This program 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(version 2);
!
!
! ... | gpl-2.0 |
epfl-cosmo/q-e | GWW/pw4gww/mp_wave_parallel.f90 | 9 | 11158 | !
! Copyright (C) 2001-2013 Quantum ESPRESSO group
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.org/copyleft/gpl.txt .
!
!
MODULE mp_wave_parallel
IMPLICIT NONE
SAVE
CON... | gpl-2.0 |
techno/gcc-mist32 | libgfortran/generated/_acosh_r8.F90 | 47 | 1477 | ! 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 |
prool/ccx_prool | CalculiX/ccx_2.16/src/negativepressure.f | 1 | 1444 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2019 Guido Dhondt
!
! This program 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(version 2);
!
!
! ... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.11/src/loadadd.f | 6 | 3794 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2015 Guido Dhondt
!
! This program 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(version 2);
!
!
! ... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.12/src/loadadd.f | 6 | 3794 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2015 Guido Dhondt
!
! This program 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(version 2);
!
!
! ... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.11/src/onedint.f | 6 | 7365 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2015 Guido Dhondt
!
! This program 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(version 2);
!
! ... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.11/src/rectcyl.f | 6 | 23567 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2015 Guido Dhondt
!
! This program 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(version 2);
!
!
! ... | gpl-2.0 |
jabbaqin/p3dfft | build/ftran.F90 | 3 | 24413 | ! This file is part of P3DFFT library
!
! P3DFFT
!
! Software Framework for Scalable Fourier Transforms in Three Dimensions
!
! Copyright (C) 2006-2014 Dmitry Pekurovsky
! Copyright (C) 2006-2014 University of California
! Copyright (C) 2010-2011 Jens Henrik Goebbert
!
! This program is free software:... | gpl-3.0 |
prool/ccx_prool | CalculiX/ccx_2.8p2/src/mafillem.f | 4 | 23787 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2015 Guido Dhondt
!
! This program 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(version 2);
!
!
! ... | gpl-2.0 |
epfl-cosmo/q-e | PHonon/PH/dvqpsi_us.f90 | 7 | 6447 | !
! Copyright (C) 2001-2016 Quantum ESPRESSO group
! This file is distributed under the terms of the
! GNU General Public License. See the file `License'
! in the root directory of the present distribution,
! or http://www.gnu.org/copyleft/gpl.txt .
!
!
!-----------------------------------------------------------------... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.10/src/dfluxs.f | 4 | 9170 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2015 Guido Dhondt
!
! This program 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(version 2);
!
!
! ... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.