@@ -22,6 +22,18 @@ Time and space-dependent fields enable:
2222- **Demagnetization effects **: Back-action of the sample's magnetization on applied fields via shape anisotropy
2323- **Frequency broadening **: Spectral richness for simulating laboratory pulse shapes with finite bandwidth
2424
25+ The microwave field module supports nine types of electromagnetic pulses and fields:
26+
27+ 1. **Global Monochromatic Microwave Field ** - Uniform sinusoidal oscillating field applied to the entire system
28+ 2. **Site-Dependent Monochromatic Field ** - Spatially varying sinusoidal field with different amplitudes at different sites
29+ 3. **Frequency-Broadened Gaussian Microwave Field ** - Monochromatic field with Gaussian frequency envelope (FT-limited pulse)
30+ 4. **Spatially Gaussian-Shaped Frequency-Broadened Field ** - Frequency-broadened field with additional Gaussian spatial distribution
31+ 5. **Static Gaussian Pulse ** - Spatially localized static magnetic pulse with Gaussian profile
32+ 6. **Moving Gaussian Pulse ** - Gaussian-shaped static field that moves along a predefined trajectory
33+ 7. **Moving Circular Pulse ** - Circular-shaped static field moving along a trajectory
34+ 8. **Moving Cubic Pulse ** - Cubic-shaped static field moving along a trajectory
35+ 9. **Moving Microwave Fields ** - Time-dependent Gaussian/circular/cubic shaped fields moving along trajectories
36+
2537Applications include:
2638
2739- **Spin dynamics **: Response of magnetic systems to femtosecond laser-induced magnetization changes
@@ -484,6 +496,95 @@ This moves a Gaussian field along the x-direction at z = 10 Å with spatial widt
484496The field pushes the domain wall forward. Adjusting ``mov_gauss_ampl `` and ``mov_gauss_step ``
485497controls wall velocity and possible depinning phenomena.
486498
499+ --------------------------------------------------
500+ Flag Values
501+ --------------------------------------------------
502+
503+ **Field Enable Flags ** (``mwf ``, ``mwf_gauss ``, ``do_gauss ``, ``mov_gauss ``, ``mov_circle ``, ``mov_square ``, etc.):
504+
505+ - ``Y `` - Enabled with standard behavior
506+ - ``P `` - Enabled with phase lag correction
507+ - ``I `` - Instantaneous field (monochromatic microwave only)
508+ - ``S `` - Site-dependent field using site file
509+ - ``W `` - Weighted site-dependent field
510+ - ``N `` - Disabled (default)
511+
512+ **Print Flags ** (``prn_mwf ``, ``prn_gauss ``, ``prn_mov_gauss ``, ``prn_mov_circle ``, ``prn_mov_square ``, etc.):
513+
514+ - ``Y `` - Enable output to file
515+ - ``N `` - Disable output (default)
516+
517+ --------------------------------------------------
518+ Output Files and Naming Conventions
519+ --------------------------------------------------
520+
521+ The module generates output files when the respective ``prn_* `` flags are set to ``Y ``. All output files follow the naming convention ``<fieldtype>.simid.out ``:
522+
523+ - Monochromatic microwave field: ``mwf.simid.out ``
524+ - Frequency-broadened Gaussian microwave field: ``mwf_gauss.simid.out ``
525+ - Spatially Gaussian-shaped frequency-broadened field: ``mwf_gauss_spatial.simid.out ``
526+ - Static Gaussian pulse: ``gauss.simid.out ``
527+ - Moving Gaussian pulse: ``mov_gauss.simid.out ``
528+ - Moving circular pulse: ``mov_circle.simid.out ``
529+ - Moving cubic pulse: ``mov_square.simid.out ``
530+ - Moving Gaussian microwave: ``mwf_mov_gauss.simid.out ``
531+ - Moving circular microwave: ``mwf_mov_circle.simid.out ``
532+ - Moving cubic microwave: ``mwf_mov_square.simid.out ``
533+
534+ **Output format ** (generic):
535+
536+ .. list-table ::
537+ :widths: auto
538+ :header-rows: 0
539+ :class: borderless centered
540+
541+ * - :math: `\text {step}`
542+ - :math: `B_x`
543+ - :math: `B_y`
544+ - :math: `B_z`
545+
546+ where :math: `B_i` are the field components in units matching the input amplitude.
547+
548+ --------------------------------------------------
549+ Example Configuration
550+ --------------------------------------------------
551+
552+ A typical configuration file section for time and space-dependent fields might look like:
553+
554+ .. code-block :: text
555+
556+ # Monochromatic microwave field
557+ mwf Y
558+ mwfampl 100.0
559+ mwffreq 10.0
560+ mwfdir 1.0 0.0 0.0
561+ mwf_pulse_time 10000
562+ prn_mwf Y
563+ mwf_step 100
564+ mwf_buff 100
565+
566+ # Frequency-broadened Gaussian microwave field
567+ mwf_gauss Y
568+ mwf_gauss_ampl 150.0
569+ mwf_gauss_freq 10.5
570+ mwf_gauss_time_sigma 50.0
571+ mwf_gauss_dir 0.0 1.0 0.0
572+ mwf_gauss_pulse_time 5000
573+ prn_mwf_gauss Y
574+ mwf_gauss_step 100
575+ mwf_gauss_buff 50
576+
577+ # Moving Gaussian pulse (static)
578+ mov_gauss Y
579+ mov_gauss_file mov_gauss_traj.dat
580+ mov_gauss_step 100
581+ mov_gauss_pulse_time 8000
582+ mov_gauss_ampl 200.0
583+ mov_gauss_space_sigma 2.0 2.0 2.0
584+ prn_mov_gauss Y
585+ mov_gauss_pstep 100
586+ mov_gauss_buff 80
587+
487588--------------------------------------------------
488589Technical considerations
489590--------------------------------------------------
@@ -503,12 +604,21 @@ Technical considerations
503604- Moving fields require position tracking and interpolation
504605- Demagnetization field requires global magnetization reduction (~O(Natom))
505606
506- **Units: **
507- - Magnetic field: Tesla (T)
508- - Frequency: Gigahertz (GHz) (internally converted to rad/s)
509- - Time: Femtoseconds (fs)
510- - Length: Ångströms (Å)
511- - Volume: Ų for demagnetization
607+ **Units and Conventions: **
608+ - **Magnetic field amplitude **: mT (millitesla) or Tesla (T), depending on parameter
609+ - **Frequency **: Gigahertz (GHz)
610+ - **Spatial dimensions **: Ångströms (Å)
611+ - **Time **: Simulation time steps or femtoseconds (fs)
612+ - **Sigma parameters **: Real space coordinates (Ångströms) for spatial dimensions, time steps for temporal widths
613+
614+ **Important Notes: **
615+
616+ - Multiple field types can be enabled simultaneously and will be superposed
617+ - The direction vectors should typically be normalized or scaled appropriately
618+ - Site-dependent fields require corresponding input files with proper formatting
619+ - Trajectory files for moving fields must contain sufficient data points for the entire simulation
620+ - The temporal Gaussian envelope (``*_time_sigma ``) creates FT-limited pulses with frequency bandwidth inversely proportional to the temporal width
621+ - Spatial Gaussian widths (``*_space_sigma ``) define the extent of field localization in 3D space
512622
513623--------------------------------------------------
514624
0 commit comments