SPEED
READ_DIME_FILEXYZ.f90
Go to the documentation of this file.
1
! Copyright (C) 2012 The SPEED FOUNDATION
2
! Author: Ilario Mazzieri
3
!
4
! This file is part of SPEED.
5
!
6
! SPEED is free software; you can redistribute it and/or modify it
7
! under the terms of the GNU Affero General Public License as
8
! published by the Free Software Foundation, either version 3 of the
9
! License, or (at your option) any later version.
10
!
11
! SPEED is distributed in the hope that it will be useful, but
12
! WITHOUT ANY WARRANTY; without even the implied warranty of
13
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
! Affero General Public License for more details.
15
!
16
! You should have received a copy of the GNU Affero General Public License
17
! along with SPEED. If not, see <http://www.gnu.org/licenses/>.
18
26
27
subroutine
read_dime_filexyz
(filec,num_nodes,num_tria)
28
29
implicit none
30
31
integer*4
:: num_nodes,num_tria,ileft,iright,status
32
33
character*70
:: filec
34
character*100000
:: input_line
35
36
open
(20,file=filec)
37
read
(20,
'(A)'
,iostat = status) input_line
38
ileft = 1
39
iright = len(input_line)
40
read
(input_line(ileft:iright),*)num_nodes,num_tria
41
close
(20)
42
43
44
return
45
46
end subroutine
read_dime_filexyz
47
read_dime_filexyz
subroutine read_dime_filexyz(filec, num_nodes, num_tria)
Reads dimension of triangular grids.
Definition
READ_DIME_FILEXYZ.f90:28
speed
READ_DIME_FILEXYZ.f90
Generated by
1.9.8