gfields
Loading...
Searching...
No Matches
GField ASCII-map factory

Generic ASCII field-map plugin (dipole, cylindrical, phi-segmented, cartesian 3D). More...

Collaboration diagram for GField ASCII-map factory:

Data Structures

class  GField_AsciiMapFactory
 Concrete GField reading a magnetic field from an ASCII map and a YAML definition. More...

Detailed Description

This is the GEMC3 successor of the clas12Tags asciiField. The two responsibilities of the legacy implementation are now split:

  • the map definition (symmetry, grid coordinates, units, interpolation, placement) lives in the YAML options, forwarded verbatim through the generic gfields node (the same mechanism used by the clas12-systems plugins);
  • the map file holds only data rows (coordinate columns followed by field components). The legacy embedded <mfield> ... </mfield> XML header is gone.

The plugin is selected with type: asciimap, which resolves to the shared library gfieldasciimapFactory.