Commit e37f7b08 authored by Pierre Cazenave's avatar Pierre Cazenave

Make the example usage actually vaguely useful and change the mesh name to...

Make the example usage actually vaguely useful and change the mesh name to something more traditional (mesh)
parent 466833ad
......@@ -19,7 +19,7 @@ function write_SMS_2dm(file, tri, x, y, bnd)
% file - ASCII file in SMS 2dm format.
%
% EXAMPLE USAGE:
% write_SMS_2dm(file, tri, x, y)
% write_SMS_2dm('/tmp/test.2dm', Mobj.tri, Mobj.x, Mobj.y)
%
% Author(s):
% Pierre Cazenave (Plymouth Marine Laboratory)
......@@ -50,7 +50,7 @@ end
nt = size(tri, 1);
% Header
fprintf(f, 'MESH2D\nMESHNAME "test"\n');
fprintf(f, 'MESH2D\nMESHNAME "mesh"\n');
% Add the connectivity table
for t = 1:nt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment