SPEED
READ_DIME_FILEXYZ.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine read_dime_filexyz (filec, num_nodes, num_tria)
 Reads dimension of triangular grids.
 

Function/Subroutine Documentation

◆ read_dime_filexyz()

subroutine read_dime_filexyz ( character*70  filec,
integer*4  num_nodes,
integer*4  num_tria 
)

Reads dimension of triangular grids.

Author
Ilario Mazzieri
Date
September, 2013
Version
1.0
Parameters
[in]filecfile name of the gird
[out]num_nodesnumber of nodes
[out]num_tiranumber of triangles

Definition at line 27 of file READ_DIME_FILEXYZ.f90.

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

Referenced by make_nothonoring().

Here is the caller graph for this function: