Reference page for TetMesh

Contents

Summary

TetMesh minimal mesh of 3D tetrahedrons.

(c) 2018 Antti Lehikoinen / Aalto University Documentation for TetMesh doc TetMesh


PROPERTIES


METHODS

Class methods are listed below. Inherited methods are not included.

TetMesh/this = A(arguments) is a function.

Bvec = A(this, A, els, varargin)

TetMesh/this.Aquiver(arguments) is a function.

[Bvec, h] = Aquiver(this, A, els, varargin)

TetMesh/this.B(arguments) is a function.

B*vec = *B(this, A, els, varargin)

TetMesh/this.Bquiver(arguments) is a function.

[Bvec, h] = Bquiver(this, A, els, varargin)

TetMesh/this.J(arguments) is a function.

Bvec = J(this, N, els, varargin)

TetMesh/this.Nquiver(arguments) is a function.

[Bvec, h] = Nquiver(this, N, els, varargin)

this.TetMesh(arguments) mesh constructor.

Call syntax msh = Simple*TetMesh*(p, t)

TetMesh/this.closest_local(arguments) is a function.

[x_closest, ind] = closest_local(this, X, els)

TetMesh/this.elementCenters(arguments) is a function.

x0 = elementCenters(this, elem)

TetMesh/this.element_nodal_coordinates(arguments) is a function.

ps = element_nodal_coordinates(this, k, els)

this.getMappingMatrix(arguments) Mapping matrix from reference to global

element.

Call syntax [F, F0] = getMappingMatrix(this, elem) OR [F, F0] = getMappingMatrix(this, elem, unused_args)

this.init(arguments) Initialize edge arrays and element-edge incidence.

TetMesh/this.integration_point(arguments) is a function.

[x_quad, w_quad] = integration_point(this, order)

TetMesh/this.plot_edges(arguments) is a function.

plot_edges(this, inds, varargin)

TetMesh/this.plot_nodes(arguments) is a function.

plot_nodes(this, inds, varargin)

init Initialize edge arrays and element-edge incidence.

TetMesh/this.to_local(arguments) is a function.

x = to_local(this, X, els)

TRIPLOT Plots a 2D triangulation

TRIPLOT(TRI,X,Y) displays the triangles defined in the M-by-3 matrix TRI. A row of TRI contains indices into X,Y that define a single triangle. The default line color is blue.

TRIPLOT(TR) displays the triangles in the triangulation TR.

TRIPLOT(...,COLOR) uses the string COLOR as the line color.

H = TRIPLOT(...) returns a line handle representing the displayed triangles edges.

TRIPLOT(...,'param','value','param','value'...) allows additional line param/value pairs to be used when creating the plot.

Example 1: X = rand(10,2); dt = delaunayTriangulation(X); triplot(dt)

Example 2: % Plotting a Delaunay triangulation in face-vertex format X = rand(10,2); dt = delaunayTriangulation(X); tri = dt(:,:); triplot(tri, X(:,1), X(:,2));

See also TRISURF, TRIMESH, DELAUNAY, triangulation, delaunayTriangulation.