Go to the source code of this file.
|
function | ascii_write_subdomains (xc, ia, e, basename) % % Saves the 2D triangular mesh in the minimal way(only coordinates |
|
| dlmwrite (fname, nnode, 'delimiter','\t', 'precision', 16) % number of nodes % dlmwrite(fname |
|
ia(4,: | int32 () |
|
| dlmwrite (fname, tmp(:),'-append', 'delimiter','\t', 'precision', 16) % connectivity in Matlab indexing % dlmwrite(fname |
|
| tmp (:,:).' |
|
e, 2 | size () |
|
| dlmwrite (fname, nbedges,'-append', 'delimiter','\t', 'precision', 16) % number boundary edges % tmp |
|
◆ ascii_write_subdomains()
◆ dlmwrite() [1/3]
dlmwrite |
( |
fname |
, |
|
|
nbedges |
, |
|
|
'-append' |
, |
|
|
'delimiter' |
, |
|
|
'\t' |
, |
|
|
'precision' |
, |
|
|
16 |
|
|
) |
| |
◆ dlmwrite() [2/3]
dlmwrite |
( |
fname |
, |
|
|
nnode |
, |
|
|
'delimiter' |
, |
|
|
'\t' |
, |
|
|
'precision' |
, |
|
|
16 |
|
|
) |
| |
◆ dlmwrite() [3/3]
dlmwrite |
( |
fname |
, |
|
|
tmp(:) |
, |
|
|
'-append' |
, |
|
|
'delimiter' |
, |
|
|
'\t' |
, |
|
|
'precision' |
, |
|
|
16 |
|
|
) |
| |
◆ int32()
◆ size()
◆ tmp()
◆ connectivity
◆ ndim
◆ nelem
◆ nnode
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 = int32(size(xc,2)) |
◆ nvert_e