# Magnetic isotropy subgroups of several coupled irreps
# (crystod-mag --parent SG --irrep A B ...); testsuite section 05-10
#
# No structure file is needed. Every irrep given is magnetic (time-odd, ISOTROPY's
# mR4+, mM3+). The report lists each irrep alone, then the coupled order
# parameters: the stabilizers, in the paramagnetic group Pm-3m1', of the vectors
# of the direct sum R4+ + M3+ in which both irreps condense. Every irrep keeps
# its own letters (R4+: a, b, c; M3+: d, e, f). A coupled row whose group is
# also a single-irrep row of one of its parts (GM4+ GM5+, for example) is a
# direction in which one order parameter induces the other as a secondary one.
# --order-parameter takes the components irrep after irrep, as printed.
# Time-even (structural) irreps can be combined with magnetic ones from Python:
#   crystod.mag.coupled_magnetic_isotropy_subgroups("Pm-3m", ["R4+", "GM4+"],
#                                                    parities=["even", "odd"])

$ crystod-mag --parent Pm-3m --irrep R4+ M3+

* Supergroup *
Pm-3m (No. 221)

* Coupled irreps *
R4+: order parameter dimension 3
M3+: order parameter dimension 3 (star of 3 arm(s) x small dim 1)
coupled order parameter dimension 6 (3 + 3)

* Order parameter directions and isotropy subgroups (R4+ alone) *
irrep                subgroup           size  index
R4+(0,0,a)           140.550 I_c4/mcm   2     6    
R4+(a,a,a)           167.108 R_I-3c     2     8    
R4+(0,a,a)           74.562 I_bmma      2     12   
R4+(0,a,b)           12.64 C_a2/m       2     24   
R4+(a,a,b)           15.90 C_c2/c       2     24   
R4+(a,b,c)           2.7 P_S-1          2     48   

* Order parameter directions and isotropy subgroups (M3+ alone) *
irrep                subgroup           size  index
M3+(0;0;d)           127.397 P_C4/mbm   2     6    
M3+(d;d;d)           229.143 Im-3m'     4     8    
M3+(0;d;d)           139.540 I_c4/mmm   4     12   
M3+(0;d;e)           71.538 I_cmmm      4     24   
M3+(d;d;e)           139.535 I4'/mmm'   4     24   
M3+(d;e;f)           71.533 Immm        4     48   

* Order parameter directions and isotropy subgroups (coupled) *
irrep                  subgroup            size  index
R4+(0,0,a) M3+(0;0;d)  127.397 P_C4/mbm    4     12   
R4+(0,a,a) M3+(d;0;0)  62.454 P_Bnma       4     24   
R4+(0,0,a) M3+(0;d;0)  63.467 C_amcm       4     24   
R4+(0,0,a) M3+(d;d;0)  137.516 P_c4_2/nmc  8     24   
R4+(0,a,a) M3+(0;d;d)  63.466 C_cmcm       8     48   
R4+(a,a,a) M3+(d;d;d)  166.101 R-3m'       8     64   
R4+(0,a,b) M3+(d;0;0)  11.55 P_a2_1/m      4     48   
R4+(0,a,b) M3+(0;0;d)  12.64 C_a2/m        4     48   
R4+(a,a,b) M3+(0;0;d)  14.83 P_A2_1/c      4     48   
R4+(0,0,a) M3+(0;d;e)  59.412 P_bmmn       8     48   
R4+(0,0,a) M3+(d;e;0)  59.413 P_cmmn       8     48   
R4+(0,0,a) M3+(d;d;e)  129.415 P4'/nmm'    8     48   
R4+(a,a,b) M3+(d;d;0)  15.90 C_c2/c        8     96   
R4+(0,a,a) M3+(d;e;e)  63.462 Cm'c'm       8     96   
R4+(a,b,c) M3+(0;0;d)  2.7 P_S-1           4     96   
R4+(0,a,b) M3+(d;0;e)  11.55 P_a2_1/m      8     96   
R4+(0,a,b) M3+(0;d;e)  11.56 P_b2_1/m      8     96   
R4+(0,0,a) M3+(d;e;f)  59.405 Pmmn         8     96   
R4+(a,a,b) M3+(d;d;e)  12.62 C2'/m'        8     192  
R4+(a,b,c) M3+(0;d;e)  2.7 P_S-1           8     192  
R4+(0,a,b) M3+(d;e;f)  11.50 P2_1/m        8     192  
R4+(a,b,c) M3+(d;e;f)  2.4 P-1             8     384  

Every irrep of the coupled table condenses with a nonzero
amplitude; every irrep keeps its own independent free
parameters (R4+: a, b, c; M3+: d, e, f).

Magnetic (time-odd) irreps of the paramagnetic group Pm-3m1': R4+, M3+
= ISOTROPY's mR4+, mM3+;
subgroup = BNS number and symbol; size = cell of the translations without
time reversal, in parent primitive cells;
index = [Pm-3m1' : H], the number of domains.

Conventions: the magnetic isotropy subgroups of the ISOTROPY Software Suite
(H. T. Stokes, D. M. Hatch and B. J. Campbell, https://iso.byu.edu); BNS numbers
and symbols of ISO-MAG (H. T. Stokes and B. J. Campbell, 2010).

$ crystod-mag --parent Pm-3m --irrep R4+ M3+ --order-parameter "0 a a d 0 0"

* Supergroup *
Pm-3m (No. 221)

* Magnetic isotropy subgroup *
R4+(0,a,a) M3+(d;0;0) -> 62.454 P_Bnma (BNS), type IV
UNI symbol: Pnma.1'_B[Bbmm]; magnetic point group mmm1'
unitary subgroup: Pnma (No. 62)
cell size 4, index 24
sublattice basis (parent primitive units): (2,0,0), (1,1,0), (0,0,2)
