Difference between revisions of "Mesh preplot.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(Restore pre-bulk-edit wiki content)
Line 1: Line 1:
 
{{DISPLAYTITLE:mesh_preplot.m}} __NOTOC__
 
{{DISPLAYTITLE:mesh_preplot.m}} __NOTOC__
−
 
 
Mesh preprocessing for drawing. Creates edge, triangle, and rectangle data structures needed for fast plotting later.
 
Mesh preprocessing for drawing. Creates edge, triangle, and rectangle data structures needed for fast plotting later.
  
 
==Syntax==
 
==Syntax==
  
−
mesh=mesh_preplot(mesh)
+
    spin_system=mesh_preplot(spin_system)
  
 
==Arguments==
 
==Arguments==
  
−
mesh - Spinach mesh object
+
    spin_system - Spinach data structure with
−
 
+
                  a .mesh subfield present
 +
 
==Outputs==
 
==Outputs==
  
−
mesh - updated mesh object
+
    spin_system - Spinach data structure with a .plot
−
 
+
                  subfield added to the mesh structure
−
ilya.kuprov@weizmann.ac.il
 
  
 
==See also==
 
==See also==
−
 
 
[[Import,_export,_and_visualisation#Microfluidic_mesh_import_and_plotting|Microfluidic mesh import and plotting]]
 
[[Import,_export,_and_visualisation#Microfluidic_mesh_import_and_plotting|Microfluidic mesh import and plotting]]
  
  
 
''Version 2.8, authors: [[Ilya Kuprov]]''
 
''Version 2.8, authors: [[Ilya Kuprov]]''

Revision as of 14:49, 5 April 2026

Mesh preprocessing for drawing. Creates edge, triangle, and rectangle data structures needed for fast plotting later.

Syntax

   spin_system=mesh_preplot(spin_system)

Arguments

   spin_system - Spinach data structure with 
                 a .mesh subfield present

Outputs

   spin_system - Spinach data structure with a .plot
                 subfield added to the mesh structure

See also

Microfluidic mesh import and plotting


Version 2.8, authors: Ilya Kuprov