I have the same question, so post his question here: Dears all, In the structural refinement of ABO3 type, e.g. A1-xCxB1-yCyO3 using GSAS. The dopant (atom C) may be occupied two atomic sites, A and B. Therefore the occupancy constraint should be considered. In order to perform the structural refinement of A1-xCxB1-yCyO3 allowing the occupancies of atom C in the A and B sites to be varied but the total occupancy of atom C must be fixed. How can I define the linear constrain in GSAS? The constraints set as follows, and then how to define the other constraint (g4+g5=fixed)? Would you give me any advice?
# Atom x y z g #1 A x1 y1 z1 g1 #2 B x2 y2 z2 g2 #3 O x3 y3 z3 g3 #4 C x1 y1 z1 g4 #5 C x2 y2 z2 g5 #Phase variable atom no. coeff 1 frac 1 1 1 frac 4 -1 1 frac 2 1 1 frac 5 -1 Thanks in advance, Charles
