Difference between revisions of "Mesh preplot.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Correct function page syntax from current Spinach source)
m (Rename Arguments section heading to Parameters)
Line 7: Line 7:
 
     mesh=mesh_preplot(mesh)
 
     mesh=mesh_preplot(mesh)
  
−
==Arguments==
+
==Parameters==
  
 
     spin_system - Spinach data structure with  
 
     spin_system - Spinach data structure with  

Revision as of 18:50, 5 June 2026

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

Syntax

    mesh=mesh_preplot(mesh)

Parameters

   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