jacobi.template
Functions | Variables
ascii_write_subdomains.m File Reference

Go to the source code of this file.

Functions

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
 

Variables

function vertex connectivity
 
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))
 
 ndim = int32(size(xc,1))
 
 nelem
 

Function Documentation

◆ ascii_write_subdomains()

function ascii_write_subdomains ( xc  ,
ia  ,
e  ,
basename   
)

◆ 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()

ia(4,: int32 ( )
virtual

◆ size()

e,2 size ( )
virtual

◆ tmp()

tmp ( ,
 
)

Variable Documentation

◆ connectivity

function vertex connectivity

Definition at line 3 of file ascii_write_subdomains.m.

◆ ndim

ndim = int32(size(xc,1))

Definition at line 24 of file ascii_write_subdomains.m.

◆ nelem

nelem
Initial value:
= int32(size(ia,2))

Definition at line 25 of file ascii_write_subdomains.m.

◆ 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))

Definition at line 23 of file ascii_write_subdomains.m.

int32
ia(4,: int32()
size
e, 2 size()
ia
ia
Definition: ascii_read_meshvector.m:35
nvert_e
nvert_e
Definition: ascii_write_mesh.m:26