Hi! I'm having problems retrieving the mesh data, using LiveLink with Matlab. Once the mesh is created, I get the data by using the function [stats, data] = mphmeshstats(model). I must use the nodes, the elements topology and the boundary elements topology of my tetrahedral mesh to pass them as input to another functions. The vertex are obtained by simply doing vtx = data.vertex. As I understand, the elements topology are obtained by: H = data.elem{2}' + 1 (+1 beacuse of the zero indexing), but I'm not sure how to recreate the boundaries elements topology from the data structure. Any idea? Thanks!
↧