Difference between revisions of "Mesh crop.m"
(Sync syntax/arguments/outputs with current Spinach source) |
(Update function See also links and function index membership) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:mesh_crop.m}} __NOTOC__ | {{DISPLAYTITLE:mesh_crop.m}} __NOTOC__ | ||
| − | |||
2D microfluidic mesh cropping. Updates the mesh object to remove anything outside the user-specified vertex coordinate ranges. | 2D microfluidic mesh cropping. Updates the mesh object to remove anything outside the user-specified vertex coordinate ranges. | ||
==Syntax== | ==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== | ==Outputs== | ||
| − | + | spin_system - updated data structure | |
| − | |||
| − | |||
| − | |||
==See also== | ==See also== | ||
| − | + | [[comsol_conc.m]], [[comsol_import.m]], [[comsol_mesh.m]], [[comsol_velo.m]], [[conc_plot.m]], [[mesh_inact.m]], [[mesh_plot.m]], [[mesh_preplot.m]], [[mesh_vorn.m]], [[Import,_export,_and_visualisation]] | |
| − | [[Import,_export,_and_visualisation | ||
| − | |||
''Version 2.8, authors: [[Anupama Acharya]], [[Ilya Kuprov]]'' | ''Version 2.8, authors: [[Anupama Acharya]], [[Ilya Kuprov]]'' | ||
Latest revision as of 18:38, 6 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
comsol_conc.m, comsol_import.m, comsol_mesh.m, comsol_velo.m, conc_plot.m, mesh_inact.m, mesh_plot.m, mesh_preplot.m, mesh_vorn.m, Import,_export,_and_visualisation
Version 2.8, authors: Anupama Acharya, Ilya Kuprov