mesh_crop.m

From Spinach Documentation Wiki
Revision as of 10:03, 28 July 2023 by Kuprov (talk | contribs) (Created page with "{{DISPLAYTITLE:mesh_crop.m}} __NOTOC__ 2D microfluidic mesh cropping. Updates the mesh object to remove anything outside the user-specified vertex coordinate ranges. ==Syntax...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

2D microfluidic mesh cropping. Updates the mesh object to remove anything outside the user-specified vertex coordinate ranges.

Syntax

    spin_system=mesh_crop(spin_system,xrange,yrange)

Arguments

   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