
nVerts nTri nScal number of vertices, number of triangles, number of scalars
x1 y1 z1 coordinates of the vertices
x2 y2 z2
x3 y3 z3
.....
.....
v11 v12 v13 triangles definition (3 integers)
v21 v22 v23
.....
.....
.....
1 1 1 1 1 1 2 2 2 2 3 3 3 3 1 2 component number for each triangle
.....
0.0000 0.0000 0.0000 ..... scalars values (1,..,nScal) for each vertex
......NOTE: The file is assumed to be written in FORTRAN style (ASCII free format or
unformatted).Example of reading code:
read(iUnit,*) nVerts, nTri, nScal
read(iUnit,*) ( x(j), y(j), z(j) ,j=1,nVerts)
read(iUnit,*) ( v1(j),v2(j),v3(j) ,j=1,nTri )
read(iUnit,*) ( comp(j) ,j=1,nTri )
read(iUnit,*) ((scalar(j,k),k=1,nScal),j=1,nVerts)Remark: The first scalar (k=1) is always assumed to correspond to the pressure
coefficient !