1function [ xc, ia, v ] = ascii_read_meshvector( fname )
3% Loads the 2D triangular mesh (coordinates, vertex
connectivity)
4% together with values on its vertices from an ASCII file.
5% Matlab indexing is stored (starts with 1).
7% The input file format is compatible
8% with Mesh_2d_3_matlab:Write_ascii_matlab(..) in jacobi_oo_stl/geom.
h
12% OUT:
xc - coordinates
21nn = dlmread(fname,DELIMETER,[0 0 0 3]); %%
row_1,
col_1,
row_2, col_2 in C indexing!!!
fprintf('Read file %s\n', fname) % Read mesh const ants nn
Read coordinates row_start
function vertex minimal boundary edge info in an ASCII file Matlab indexing is stored(starts with 1). % % The output file format is compatible with Mesh_2d_3_matlab nnode
function vertex connectivity