comsol_conc.m

From Spinach Documentation Wiki
Revision as of 18:35, 6 June 2026 by Kuprov (talk | contribs) (Update function See also links and function index membership)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Imports ASCII 2D concentration files produced by COMSOL.

Syntax

    spin_system=comsol_conc(spin_system,file_name)

Parameters

   spin_system  - Spinach spin system object

   file_name    - a character string

Outputs

   the following fields are added to spin_system object

      mesh.c    - stack of column vectors with 
                  concentrations (in rows) at
                  each vertex of the mesh

See also

comsol_import.m, comsol_mesh.m, comsol_velo.m, conc_plot.m, mesh_crop.m, mesh_inact.m, mesh_plot.m, mesh_preplot.m, mesh_vorn.m, Import,_export,_and_visualisation

Version 2.8, authors: Ilya Kuprov