FUNCTION REFERENCE
pde.PDEModel.geometryFromEdges
Attach a decomposed 2-D geometry matrix to a pde.PDEModel.
Attach a decomposed 2-D geometry matrix to a pde.PDEModel.
Syntax
g = geometryFromEdges(model, dl)Syntax
g = model.geometryFromEdges(dl)Creates a pde.AnalyticGeometry from the decomposed geometry matrix dl, stores it in model.Geometry and returns it.
Example
m = createpde; g = m.geometryFromEdges(decsg([3;4;0;1;1;0;0;0;1;1])); g.NumEdges % 4Differences from MATLAB: 2-D decomposed geometry matrices only; geometry cannot be replaced once a mesh exists on model.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.