1
C Copyright (C) 2006 Imperial College London and others.
3
C Please see the AUTHORS file in the main source directory for a full list
4
C of copyright holders.
7
C Applied Modelling and Computation Group
8
C Department of Earth Science and Engineering
9
C Imperial College London
11
C adrian@Imperial.ac.uk
13
C This library is free software; you can redistribute it and/or
14
C modify it under the terms of the GNU Lesser General Public
15
C License as published by the Free Software Foundation; either
16
C version 2.1 of the License.
18
C This library is distributed in the hope that it will be useful,
19
C but WITHOUT ANY WARRANTY; without even the implied warranty of
20
C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21
C Lesser General Public License for more details.
23
C You should have received a copy of the GNU Lesser General Public
24
C License along with this library; if not, write to the Free Software
25
C Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
27
SUBROUTINE QLYOUT( BIGLST, NODLST, MSHNAM, LENFIL, COUNT )
28
C-----------------------------------------------------------------------
32
C-----------------------------------------------------------------------
43
INTEGER I, J, K, IBAS, QLYFL1, QLYFL2, QLYFL3
45
LOGICAL DMPQLY, RSPNSE
47
CHARACTER CNTCHR*3, NUMLST*10
57
IBAS = ( IBAS - I )/10
59
IBAS = ( IBAS - J )/10
61
IBAS = ( IBAS - K )/10
65
CNTCHR = NUMLST(K:K)//NUMLST(J:J)//NUMLST(I:I)
67
DMPQLY = RSPNSE( 'Do you want to dump the histograms?' ,35 )
71
MSHNAM = MSHNAM(1:LENFIL)//'.'//CNTCHR//'.hsted'
72
OPEN( UNIT = QLYFL1, FILE = MSHNAM(1:LENFIL+10),
73
: STATUS = 'UNKNOWN', FORM = 'FORMATTED' )
75
MSHNAM = MSHNAM(1:LENFIL)//'.'//CNTCHR//'.hstel'
76
OPEN( UNIT = QLYFL2, FILE = MSHNAM(1:LENFIL+10),
77
: STATUS = 'UNKNOWN', FORM = 'FORMATTED' )
79
MSHNAM = MSHNAM(1:LENFIL)//'.'//CNTCHR//'.hstfn'
80
OPEN( UNIT = QLYFL3, FILE = MSHNAM(1:LENFIL+10),
81
: STATUS = 'UNKNOWN', FORM = 'FORMATTED' )
83
CALL SHWHST( BIGLST, NODLST, QLYFL1, QLYFL2, QLYFL3 )
89
PRINT*,'EDGE SIZES WRITTEN TO FILE ',
90
: MSHNAM(1:LENFIL+8),'ed'
92
PRINT*,'IN-SPHERE RADII WRITTEN TO FILE ',
93
: MSHNAM(1:LENFIL+8),'el'
95
PRINT*,'ELEMENT FUNCTIONALS WRITTEN TO FILE ',
96
: MSHNAM(1:LENFIL+8),'fn'
100
MSHNAM = MSHNAM(1:LENFIL)