Difference between revisions of "Mesh crop.m"
m (Correct function page syntax from current Spinach source) |
m (Rename Arguments section heading to Parameters) |
||
| Line 7: | Line 7: | ||
mesh=mesh_crop(mesh,ranges) | mesh=mesh_crop(mesh,ranges) | ||
| − | == | + | ==Parameters== |
spin_system - Spinach data structure with | spin_system - Spinach data structure with | ||
Revision as of 17:50, 5 June 2026
2D microfluidic mesh cropping. Updates the mesh object to remove anything outside the user-specified vertex coordinate ranges.
Syntax
mesh=mesh_crop(mesh,ranges)
Parameters
spin_system - Spinach data structure with
a .mesh subfield present
xrange - two-element vector specify-
ing X axis range, [min max]
yrange - two-element vector specify-
ing Y axis range, [min max]
Outputs
spin_system - updated data structure
See also
Microfluidic mesh import and plotting
Version 2.8, authors: Anupama Acharya, Ilya Kuprov