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 |
|---|---|---|---|---|---|
prool/ccx_prool | CalculiX/ccx_2.17/src/fcrit.f | 1 | 1157 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2020 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/plinterpol.f | 2 | 2234 | ! 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.9/src/ts_calc.f | 4 | 2775 | !
! 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 |
spthm/sphray | src/particle_system.F90 | 1 | 24884 | !> \file particle_system.F90
!> \brief Particles, sources, and box, types and subroutines.
!!
!<
module particle_system_mod
use myf03_mod
use atomic_rates_mod, only: calc_colion_eq_fits
use mt19937_mod, only: genrand_real1
use m_mrgrnk, only: mrgrnk
implicit none
private
public :: particle_type
public :: particle_c... | gpl-3.0 |
prool/ccx_prool | CalculiX/ccx_2.15/src/calculated.f | 1 | 2947 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2018 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.9/src/genmodes.f | 6 | 1982 | !
! 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/genmodes.f | 6 | 1982 | !
! 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 |
grlee77/scipy | scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/snconv.f | 38 | 4001 | c-----------------------------------------------------------------------
c\BeginDoc
c
c\Name: snconv
c
c\Description:
c Convergence testing for the nonsymmetric Arnoldi eigenvalue routine.
c
c\Usage:
c call snconv
c ( N, RITZR, RITZI, BOUNDS, TOL, NCONV )
c
c\Arguments
c N Integer. (INPUT)
c Num... | bsd-3-clause |
freedesktop-unofficial-mirror/gstreamer-sdk__gcc | libgfortran/generated/_abs_c8.F90 | 22 | 1478 | ! Copyright 2002, 2007, 2009 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 publi... | gpl-2.0 |
freedesktop-unofficial-mirror/gstreamer-sdk__gcc | gcc/testsuite/gfortran.dg/widechar_intrinsics_9.f90 | 174 | 2747 | ! { dg-do run }
! { dg-options "-fbackslash" }
implicit none
character(kind=1,len=3) :: s1, t1
character(kind=4,len=3) :: s4, t4
s1 = "foo" ; t1 = "bar"
call check_minmax_1 ("foo", "bar", min("foo","bar"), max("foo","bar"))
call check_minmax_1 ("bar", "foo", min("foo","bar"), max("foo","bar"))
call chec... | gpl-2.0 |
techno/gcc-mist32 | libgomp/testsuite/libgomp.fortran/examples-4/e.54.6.f90 | 74 | 1070 | ! { dg-do run }
module e_54_6_mod
contains
subroutine init (v1, v2, N)
integer :: i, N
real, pointer, dimension(:) :: v1, v2
do i = 1, N
v1(i) = i + 2.0
v2(i) = i - 3.0
end do
end subroutine
subroutine check (p, N)
integer :: i, N
real, parameter :: EPS = 0.00001
real, po... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.17/src/add_bo_st.f | 1 | 1425 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2020 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/fcomm2.F90 | 3 | 8411 | ! 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: y... | gpl-3.0 |
prool/ccx_prool | CalculiX/ccx_2.10/src/plmix.f | 4 | 7030 | !
! 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/plmix.f | 4 | 7030 | !
! 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 |
dowoncha/COMP575 | PA4/lib/eigen/blas/testing/dblat3.f | 242 | 103029 | PROGRAM DBLAT3
*
* Test program for the DOUBLE PRECISION Level 3 Blas.
*
* The program must be driven by a short data file. The first 14 records
* of the file are read using list-directed input, the last 6 records
* are read using the format ( A6, L2 ). An annotated example of a data
* file can be obtained b... | mit |
prool/ccx_prool | CalculiX/ccx_2.16/src/cident.f | 1 | 1271 | !
! 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 | ARPACK_i8/BLAS/strsm.f | 16 | 12281 | SUBROUTINE STRSM ( SIDE, UPLO, TRANSA, DIAG, M, N, ALPHA, A, LDA,
$ B, LDB )
* .. Scalar Arguments ..
CHARACTER*1 SIDE, UPLO, TRANSA, DIAG
INTEGER M, N, LDA, LDB
REAL ALPHA
* .. Array Arguments ..
REAL A( LDA, * )... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.10/src/calc_residual_cross_split.f | 5 | 4983 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2007 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 | PW/src/compute_qdipol.f90 | 9 | 3631 | !
! Copyright (C) 2001-2004 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 compute_qdipol(dpqq)
!
! This routine computes the term dpqq, i.... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.10/src/resultsprint.f | 1 | 15202 | !
! 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.16/src/umatht.f | 1 | 5417 | !
! 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.15/src/writestadiv.f | 2 | 1429 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2018 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/rs.f | 10 | 19128 | c
c EISPACK -> SLATEC: public domain (cf. gams.nist.gov)
c
real*8 function pythag(a,b)
implicit none
real*8 a,b
c
c finds dsqrt(a**2+b**2) without overflow or destructive underflow
c
real*8 p,r,s,t,u
p = dmax1(dabs(a),dabs(b))
if (p .eq. 0.0d0) go to 20
r = (dmin1(dabs(... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.16/src/frictionheating.f | 1 | 11032 | !
! 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 |
patrickanderson1/XNLO | UPPE/eigen_3_2/blas/drotmg.f | 174 | 4889 | SUBROUTINE DROTMG(DD1,DD2,DX1,DY1,DPARAM)
* .. Scalar Arguments ..
DOUBLE PRECISION DD1,DD2,DX1,DY1
* ..
* .. Array Arguments ..
DOUBLE PRECISION DPARAM(5)
* ..
*
* Purpose
* =======
*
* CONSTRUCT THE MODIFIED GIVENS TRANSFORMATION MATRIX H WHICH ZEROS
* THE SECOND COMPONENT ... | mit |
epfl-cosmo/q-e | GWW/minpack/dpmpar.f | 155 | 5790 | double precision function dpmpar(i)
integer i
c **********
c
c Function dpmpar
c
c This function provides double precision machine parameters
c when the appropriate set of data statements is activated (by
c removing the c from column 1) and all other data statements are
c rendered in... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.9/src/extrapolatefluid.f | 3 | 3324 | !
! 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.17/src/materialdata_cp.f | 1 | 1580 | ! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2020 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.9/src/shape9q.f | 4 | 7115 | !
! 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.10/src/shape9q.f | 4 | 7115 | !
! 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.9/src/shape26h.f | 4 | 9751 | !
! 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 |
techno/gcc-mist32 | gcc/testsuite/gfortran.dg/elemental_subroutine_10.f90 | 72 | 2245 | ! { dg-do run }
!
! PR fortran/60066
!
! Contributed by F Martinez Fadrique <fmartinez@gmv.com>
!
! Fixed by the patch for PR59906 but adds another, different test.
!
module m_assertion_character
implicit none
type :: t_assertion_character
character(len=8) :: name
contains
procedure :: assertion_characte... | gpl-2.0 |
techno/gcc-mist32 | gcc/testsuite/gfortran.dg/assumed_charlen_function_5.f90 | 185 | 1073 | ! { dg-do compile }
! Tests the patch for PR28890, in which a reference to a legal reference
! to an assumed character length function, passed as a dummy, would
! cause an ICE.
!
! Contributed by Paul Thomas <pault@gcc.gnu.org>
!
character(*) function charrext (n) ! { dg-warning "Obsolescent feature" }
character(26... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.15/src/extrapol_oel5.f | 1 | 1721 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2018 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 |
ccilab/binutils | gdb/testsuite/gdb.fortran/subarray.f | 13 | 1159 | c Copyright 2005-2016 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 i... | gpl-3.0 |
techno/gcc-mist32 | gcc/testsuite/gfortran.dg/integer_exponentiation_3.F90 | 136 | 4468 | ! { dg-do run { xfail spu-*-* } }
! FAILs on SPU because of wrong compile-time rounding mode
! { dg-options "" }
! { dg-options "-ffloat-store" { target { { i?86-*-* x86_64-*-* } && ilp32 } } }
!
!
module mod_check
implicit none
interface check
module procedure check_i8
module procedure check_i4
modul... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.12/src/cd_own_albers.f | 6 | 1222 | !
! 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 | ARPACK/LAPACK/dgttrs.f | 5 | 5299 | SUBROUTINE DGTTRS( TRANS, N, NRHS, DL, D, DU, DU2, IPIV, B, LDB,
$ INFO )
*
* -- LAPACK routine (version 2.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* September 30, 1994
*
* .. Scalar A... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.16/src/createelemneigh.f | 1 | 2010 | !
! 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 | ARPACK/SRC/zgetv0.f | 3 | 12987 | c\BeginDoc
c
c\Name: zgetv0
c
c\Description:
c Generate a random initial residual vector for the Arnoldi process.
c Force the residual vector to be in the range of the operator OP.
c
c\Usage:
c call zgetv0
c ( IDO, BMAT, ITRY, INITV, N, J, V, LDV, RESID, RNORM,
c IPNTR, WORKD, IERR )
c
c\Arguments
c I... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.16/src/restartshort.f | 1 | 9579 | !
! 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.10/src/depvars.f | 6 | 2603 | !
! 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 |
dowoncha/COMP575 | PA4/lib/eigen/blas/testing/cblat1.f | 245 | 31188 | PROGRAM CBLAT1
* Test program for the COMPLEX Level 1 BLAS.
* Based upon the original BLAS test routine together with:
* F06GAF Example Program Text
* .. Parameters ..
INTEGER NOUT
PARAMETER (NOUT=6)
* .. Scalars in Common ..
INTEGER ICASE, INCX, I... | mit |
prool/ccx_prool | CalculiX/ccx_2.9/src/advecstiff.f | 2 | 6670 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2007 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 |
LucHermitte/ITK | Modules/ThirdParty/VNL/src/vxl/v3p/netlib/lapack/complex16/ztrsyl.f | 39 | 11621 | SUBROUTINE ZTRSYL( TRANA, TRANB, ISGN, M, N, A, LDA, B, LDB, C,
$ LDC, SCALE, INFO )
*
* -- LAPACK routine (version 3.2) --
* -- LAPACK is a software package provided by Univ. of Tennessee, --
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
* November 2... | apache-2.0 |
epfl-cosmo/q-e | EPW/src/poolgather.f90 | 2 | 7058 | !
! Copyright (C) 2010-2016 Samuel Ponce', Roxana Margine, Carla Verdi, Feliciano Giustino
! Copyright (C) 2007-2009 Jesse Noffsinger, Brad Malone, Feliciano Giustino
! ... | gpl-2.0 |
freedesktop-unofficial-mirror/gstreamer-sdk__gcc | gcc/testsuite/gfortran.dg/complex_intrinsic_8.f90 | 185 | 2536 | ! { dg-do link }
!
! PR fortran/33197
!
! Fortran complex trigonometric functions: acos, asin, atan, acosh, asinh, atanh
!
! Compile-time simplifications
!
implicit none
real(4), parameter :: pi = 2*acos(0.0_4)
real(8), parameter :: pi8 = 2*acos(0.0_8)
real(4), parameter :: eps = 10*epsilon(0.0_4)
real(8), parameter ... | gpl-2.0 |
techno/gcc-mist32 | gcc/testsuite/gfortran.dg/complex_intrinsic_8.f90 | 185 | 2536 | ! { dg-do link }
!
! PR fortran/33197
!
! Fortran complex trigonometric functions: acos, asin, atan, acosh, asinh, atanh
!
! Compile-time simplifications
!
implicit none
real(4), parameter :: pi = 2*acos(0.0_4)
real(8), parameter :: pi8 = 2*acos(0.0_8)
real(4), parameter :: eps = 10*epsilon(0.0_4)
real(8), parameter ... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.17/src/calcmach.f | 1 | 2390 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2020 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 |
ajanson/SCIRun | src/Externals/eigen/blas/testing/sblat1.f | 291 | 43388 | *> \brief \b SBLAT1
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* PROGRAM SBLAT1
*
*
*> \par Purpose:
* =============
*>
*> \verbatim
*>
*> Test program for the REAL Level 1 B... | mit |
prool/ccx_prool | CalculiX/ccx_2.9/src/dashpots.f | 4 | 6738 | !
! 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/distattachline.f | 6 | 3367 | !
! 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 |
freedesktop-unofficial-mirror/gstreamer-sdk__gcc | libgomp/testsuite/libgomp.fortran/allocatable2.f90 | 182 | 1472 | ! { dg-do run }
! { dg-require-effective-target tls_runtime }
!$ use omp_lib
integer, save, allocatable :: a(:, :)
integer, allocatable :: b(:, :)
integer :: n
logical :: l
!$omp threadprivate (a)
if (allocated (a)) call abort
call omp_set_dynamic (.false.)
l = .false.
!$omp parallel num_threads (4) redu... | gpl-2.0 |
kaliveda-dev/kaliveda | KVIndra/INDRA2ROOT/kali_lecture_dst_camp1.f | 2 | 118981 | c************************************************************************
c Eric Bonnet 04/2010
c Derniere compilation sous SL5 64 bits
c g77 -w -I/afs/in2p3.fr/home/throng/indra/veda1/for fortran.f -c
c************************************************************************
c ... | gpl-3.0 |
LucHermitte/ITK | Modules/ThirdParty/VNL/src/vxl/v3p/netlib/eispack/tred2.f | 41 | 4123 | subroutine tred2(nm,n,a,d,e,z)
c
integer i,j,k,l,n,ii,nm,jp1
double precision a(nm,n),d(n),e(n),z(nm,n)
double precision f,g,h,hh,scale
c
c this subroutine is a translation of the algol procedure tred2,
c num. math. 11, 181-195(1968) by martin, reinsch, and wilkinson.
c handbook for ... | apache-2.0 |
techno/gcc-mist32 | libgfortran/intrinsics/f2c_specifics.F90 | 47 | 4852 | ! Copyright (C) 2002-2015 Free Software Foundation, Inc.
! Contributed by Tobias Schl"uter
!
!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 published by the F... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.16/src/dynamics.f | 1 | 7746 | !
! 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.17/src/cident80.f | 1 | 1273 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2020 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 | ARPACK_i8/SRC/dstats.f | 170 | 1166 | c
c\SCCS Information: @(#)
c FILE: stats.F SID: 2.1 DATE OF SID: 4/19/96 RELEASE: 2
c %---------------------------------------------%
c | Initialize statistic and timing information |
c | for symmetric Arnoldi code. |
c %---------------------------------------------%
subro... | gpl-2.0 |
val-github/lammps-dev | examples/comb/elastic.f90 | 15 | 4827 | ! This program calculates elastic constants
! Must be used with in.comb-elastic script, and reads output log.lammps
! Written by T-R Shan, MSE, UF, Feb 2010
program main
implicit none
integer :: i,j,k,l
real*8 :: box(6,11),force(6,11),vol(11),eps(11),strbox(6,11)
real*8 :: sumx,sumx2,sumy,sumxy,c11,c12,c13,c1... | gpl-2.0 |
techno/gcc-mist32 | libgfortran/generated/_acosh_r10.F90 | 47 | 1484 | ! Copyright (C) 2002-2015 Free Software Foundation, Inc.
! Contributed by Paul Brook <paul@nowt.org>
!
!This file is part of the GNU Fortran 95 runtime library (libgfortran).
!
!GNU libgfortran is free software; you can redistribute it and/or
!modify it under the terms of the GNU General Public
!License as publishe... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.15/src/extrapolate_u.f | 2 | 1650 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2018 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 |
alexfrolov/grappa | applications/NPB/OMP/SP/txinvr.f | 4 | 1835 |
c---------------------------------------------------------------------
c---------------------------------------------------------------------
subroutine txinvr
c---------------------------------------------------------------------
c---------------------------------------------------------------------
c-----... | bsd-3-clause |
epfl-cosmo/q-e | atomic/src/elsdps_paw.f90 | 15 | 3050 | !
! Copyright (C) 2007 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 .
!
!
!---------------------------------------------------------------
subrou... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.15/src/materials.f | 2 | 2499 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2018 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 |
techno/gcc-mist32 | gcc/testsuite/gfortran.dg/allocate_error_2.f90 | 181 | 1104 | ! { dg-do compile }
program main
type t1
integer, allocatable :: x(:)
integer, allocatable :: y(:)
end type t1
type(t1), allocatable :: v(:)
allocate (v(3), v(4)) ! { dg-error "Allocate-object at \\(1\\) also appears at \\(2\\)" }
allocate (v(1), v(1)%x(2)) ! { dg-error "Allocate-object at \\(1\\) ... | gpl-2.0 |
LucHermitte/ITK | Modules/ThirdParty/VNL/src/vxl/v3p/netlib/blas/dasum.f | 71 | 1063 | double precision function dasum(n,dx,incx)
c
c takes the sum of the absolute values.
c jack dongarra, linpack, 3/11/78.
c modified 3/93 to return if incx .le. 0.
c modified 12/3/93, array(1) declarations changed to array(*)
c
double precision dx(*),dtemp
integer i,incx,m,mp1,n,nincx
c
... | apache-2.0 |
prool/ccx_prool | ARPACK_i8/EXAMPLES/NONSYM/sndrv4.f | 3 | 19591 | program sndrv4
c
c Simple program to illustrate the idea of reverse communication
c in shift-invert mode for a generalized nonsymmetric eigenvalue
c problem.
c
c We implement example four of ex-nonsym.doc in DOCUMENTS directory
c
c\Example-4
c ... Suppose we want to solve A*x = lambda*B*x in ... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.11/src/generateeminterfaces.f | 3 | 7020 | !
! 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 |
techno/gcc-mist32 | gcc/testsuite/gfortran.dg/bessel_6.f90 | 123 | 1476 | ! { dg-do run { xfail spu-*-* } }
! { dg-add-options ieee }
!
! PR fortran/36158
! PR fortran/33197
!
! XFAILed for SPU targets since we don't have an accurate library
! implementation of the single-precision Bessel functions.
!
! Run-time tests for transformations BESSEL_JN
!
implicit none
real,parameter :: values(*) ... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.17/src/genfirstactif.f | 1 | 10840 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2020 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.17/src/interpolsubmodel.f | 1 | 5037 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2020 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 |
techno/gcc-mist32 | gcc/testsuite/gfortran.dg/widechar_select_1.f90 | 174 | 1479 | ! { dg-do run }
! { dg-options "-fbackslash" }
call testme(test("foo"), test4(4_"foo"), 1)
call testme(test(""), test4(4_""), 1)
call testme(test("gee"), test4(4_"gee"), 4)
call testme(test("bar"), test4(4_"bar"), 1)
call testme(test("magi"), test4(4_"magi"), 4)
call testme(test("magic"), test4(4_"magic"),... | gpl-2.0 |
epfl-cosmo/q-e | PHonon/PH/d2ionq_mm.f90 | 8 | 6082 | !
! Copyright (C) 2016 Quantum ESPRESSO Foundation
! 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 .
!
! Calculation of Grimme D2 contribution to the dyamical matrix
! See... | gpl-2.0 |
prool/ccx_prool | CalculiX/ccx_2.17/src/cd_pk_albers.f | 1 | 1342 | !
! CalculiX - A 3-dimensional finite element program
! Copyright (C) 1998-2020 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 |
freedesktop-unofficial-mirror/gstreamer-sdk__gcc | gcc/testsuite/gfortran.dg/whole_file_9.f90 | 169 | 1069 | ! { dg-do compile }
! { dg-options "-fwhole-file" }
! Test the fix for the fourth problem in PR40011, where the
! entries were not resolved, resulting in a segfault.
!
! Contributed by Dominique d'Humieres <dominiq@lps.ens.fr>
!
program test
interface
function bad_stuff(n)
integer :: bad_stuff (2)
integer :: ... | gpl-2.0 |
epfl-cosmo/q-e | CPV/src/ortho.f90 | 9 | 15766 | !
! 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 |
techno/gcc-mist32 | libgomp/testsuite/libgomp.fortran/allocatable11.f90 | 102 | 2814 | ! { dg-do run }
! { dg-require-effective-target tls_runtime }
use omp_lib
integer, allocatable, save :: a, b(:), c(:,:)
integer :: p
!$omp threadprivate (a, b, c)
if (allocated (a) .or. allocated (b) .or. allocated (c)) call abort
call omp_set_dynamic (.false.)
call omp_set_num_threads (4)
!$omp parallel... | gpl-2.0 |
sonnyhu/scipy | scipy/sparse/linalg/eigen/arpack/ARPACK/UTIL/iswap.f | 168 | 1227 | subroutine iswap (n,sx,incx,sy,incy)
c
c interchanges two vectors.
c uses unrolled loops for increments equal to 1.
c jack dongarra, linpack, 3/11/78.
c
integer sx(1),sy(1),stemp
integer i,incx,incy,ix,iy,m,mp1,n
c
if(n.le.0)return
if(incx.eq.1.and.incy.eq.1)go to 20
c
c ... | bsd-3-clause |
foss-for-synopsys-dwc-arc-processors/gcc | libgfortran/intrinsics/selected_int_kind.f90 | 4 | 1592 | ! Copyright (C) 2003-2021 Free Software Foundation, Inc.
! Contributed by Kejia Zhao <kejia_zh@yahoo.com.cn>
!
!This file is part of the GNU Fortran 95 runtime library (libgfortran).
!
!Libgfortran is free software; you can redistribute it and/or
!modify it under the terms of the GNU General Public
!License as publ... | gpl-2.0 |
zwizwa/staapl | pic18/p18f1220.f | 1 | 1187 | \ chip constants
load p18f1220-const.f
staapl pic18/pic18-serial
macro
: serial-div 16 ; \ High baud rate with 8 bit counter.
\ chip config macros for core code
\ FIXME: should i set chip pins to output? according to johannes
\ inputs shouldn't hurt.
: init-chip
-1 LATB ! \ prevent TX pin glitch
\ ... | gpl-2.0 |
sonnyhu/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 |
wavebitscientific/wavy | src/lib/mod_linear_wave_theory.f90 | 2 | 5980 | !
! wavy - A spectral ocean wave modeling and development framework
! Copyright (c) 2017, Wavebit Scientific LLC
! All rights reserved.
!
! Licensed under the BSD-3 clause license. See LICENSE for details.
!
!===============================================================================
module mod_linear_wave_theory
... | bsd-3-clause |
wavebitscientific/wavy | docs/src/mod_linear_wave_theory.f90 | 2 | 5980 | !
! wavy - A spectral ocean wave modeling and development framework
! Copyright (c) 2017, Wavebit Scientific LLC
! All rights reserved.
!
! Licensed under the BSD-3 clause license. See LICENSE for details.
!
!===============================================================================
module mod_linear_wave_theory
... | bsd-3-clause |
Pakketeretet2/lammps | lib/linalg/dlaev2.f | 21 | 6202 | *> \brief \b DLAEV2 computes the eigenvalues and eigenvectors of a 2-by-2 symmetric/Hermitian matrix.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download DLAEV2 + dependencies
*> <a href="http://www.netl... | gpl-2.0 |
buaabyl/lm8-gcc | gcc-4.4.3/gcc/testsuite/gfortran.dg/argument_checking_11.f90 | 181 | 10346 | ! { dg-do compile }
! { dg-options "-std=f95 -fmax-errors=100" }
!
! PR fortran/34665
!
! Test argument checking
!
! TODO: Check also expressions, e.g. "(a(1))" instead of "a(1)
! for strings; check also "string" and [ "string" ]
!
implicit none
CONTAINS
SUBROUTINE test1(a,b,c,d,e)
integer, dimension(:) :: a
integer,... | gpl-2.0 |
hisashiyashiro/nicam_dckernel_2016 | dckernel_communication/src/mod_process.f90 | 1 | 7652 | !-------------------------------------------------------------------------------
!> module PROCESS
!!
!! @par Description
!! MPI/non-MPI management module
!! Imported from SCALE library
!!
!! @author Team SCALE
!!
!<
module mod_process
!---------------------------------------------------------------... | bsd-2-clause |
OpenFAST/OpenFAST | modules/aerodyn/src/AeroAcoustics.f90 | 1 | 162024 | !**********************************************************************************************************************************
! File last committed: 2020-02-12
!**********************************************************************************************************************************
module AeroAcoustics
... | apache-2.0 |
sonnyhu/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 |
ensemblr/llvm-project-boilerplate | include/llvm/projects/test-suite/MultiSource/Benchmarks/ASC_Sequoia/sphot/rdinput.f | 4 | 6793 |
subroutine rdinput( NRuns )
C----------------------------------------------------------------------
C The input deck is read by MPI task=0 as a derived datatype. It
C is then sent to all other MPI tasks. This replaces the original
C routine, which redirected stdin to every task, for portability
C reasons... | mit |
rofirrim/gcc-tiny | gcc/testsuite/gfortran.dg/list_read_4.f90 | 182 | 1552 | ! { dg-do run }
! Test of gfortran list directed read> check delimiters are correctly
! treated. Written in f77 so that g77 will run for comparison.
!
! f , e and i edit reads are terminated separately by read_real.c
!
! PThomas Jan 2005
! BDavis
program ... | gpl-2.0 |
foss-for-synopsys-dwc-arc-processors/gcc | gcc/testsuite/gfortran.dg/typebound_operator_11.f90 | 155 | 1035 | ! { dg-do compile }
!
! PR fortran/46328
!
! Contributed by Damian Rouson
!
module foo_module
type ,abstract :: foo
contains
procedure(t_interface) ,deferred :: t
procedure(assign_interface) ,deferred :: assign
procedure(multiply_interface) ,deferred :: multiply
generic :: operator(*) => multiply
... | gpl-2.0 |
rofirrim/gcc-tiny | gcc/testsuite/gfortran.dg/typebound_operator_11.f90 | 155 | 1035 | ! { dg-do compile }
!
! PR fortran/46328
!
! Contributed by Damian Rouson
!
module foo_module
type ,abstract :: foo
contains
procedure(t_interface) ,deferred :: t
procedure(assign_interface) ,deferred :: assign
procedure(multiply_interface) ,deferred :: multiply
generic :: operator(*) => multiply
... | gpl-2.0 |
buaabyl/lm8-gcc | gcc-4.4.3/gcc/testsuite/gfortran.dg/nan_3.f90 | 8 | 1151 | ! { dg-do run }
! { dg-options "-fno-range-check" }
! { dg-options "-fno-range-check -mieee" { target alpha*-*-* sh*-*-* } }
! { dg-skip-if "NaN not supported" { spu-*-* } { "*" } { "" } }
!
! PR fortran/34319
!
! Check support of INF/NaN for I/O.
!
program main
implicit none
real :: r
complex :: z
character(le... | gpl-2.0 |
rofirrim/gcc-tiny | gcc/testsuite/gfortran.dg/class_optional_2.f90 | 133 | 21203 | ! { dg-do run }
! { dg-options "-fcoarray=single" }
!
! PR fortran/50981
! PR fortran/54618
! PR fortran/55978
implicit none
type t
integer, allocatable :: i
end type t
type, extends (t):: t2
integer, allocatable :: j
end type t2
call s1a1()
call s1a()
call s1ac1()
call s1ac()
call s2()
ca... | gpl-2.0 |
rofirrim/gcc-tiny | 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 |
rofirrim/gcc-tiny | gcc/testsuite/gfortran.dg/goacc/routine-5.f90 | 3 | 1956 | ! Test invalid intra-routine parallellism.
module param
integer, parameter :: N = 32
end module param
subroutine gang (a)
!$acc routine gang
integer, intent (inout) :: a(N)
integer :: i
!$acc loop
do i = 1, N
a(i) = a(i) - a(i)
end do
!$acc loop gang
do i = 1, N
a(i) = a(i) - a(i)
end ... | gpl-2.0 |
foss-for-synopsys-dwc-arc-processors/gcc | libgomp/testsuite/libgomp.fortran/examples-4/target_update-1.f90 | 12 | 1422 | ! { dg-do run }
module e_52_1_mod
contains
subroutine init (v1, v2, N)
integer :: i, N
real :: v1(N), v2(N)
do i = 1, N
v1(i) = i + 2.0
v2(i) = i - 3.0
end do
end subroutine
subroutine init_again (v1, v2, N)
integer :: i, N
real :: v1(N), v2(N)
do i = 1, N
v1(i) = i... | gpl-2.0 |
unofficial-opensource-apple/gcc_os | gcc/testsuite/g77.dg/20010216-1.f | 10 | 1404 | C Test for bug in reg-stack handling conditional moves.
C Reported by Tim Prince <tprince@computer.org>
C
C { dg-do run { target "i[6789]86-*-*" } }
C { dg-options "-ffast-math -march=pentiumpro" }
double precision function foo(x, y)
implicit none
double precision x, y
double precision... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.