Changeset 4430
- Timestamp:
- May 21, 2020 12:21:57 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIphsGUI.py
r4427 r4430 4638 4638 'Xray real space data; G(r): ':['Select',0.01,'G(r)',True], 4639 4639 'Xray reciprocal space data; F(Q): ':['Select',0.01,'F(Q)',True],} 4640 data['RMC']['fullrmc'] = {'SuperCell':[1,1,1],'Box':[10.,10.,10.],'aTypes':aTypes,'byMolec': False,4640 data['RMC']['fullrmc'] = {'SuperCell':[1,1,1],'Box':[10.,10.,10.],'aTypes':aTypes,'byMolec':True, 4641 4641 'Natoms':1,'atSeq':atSeq,'Pairs':Pairs,'files':files,'ReStart':[False,False],'Cycles':1, 4642 4642 'Swaps':[],'useBVS':False,'FitScale':False,'AveCN':[],'FxCN':[],'Angles':[],'Angle Weight':1.e-5, … … 4805 4805 RMCPdict.update({'moleculePdb':'Select','targetDensity':1.0,'maxRecursion':10000}) 4806 4806 if 'byMolec' not in RMCPdict: 4807 RMCPdict['byMolec'] = False4807 RMCPdict['byMolec'] = True 4808 4808 if 'Natoms' not in RMCPdict: 4809 4809 RMCPdict['Natoms'] = 1 … … 4837 4837 lineSizer.Add(wx.StaticText(G2frame.FRMC,label=' Lattice multipliers:'),0,WACV) 4838 4838 lineSizer.Add(GetSuperSizer(),0,WACV) 4839 bymolec = wx.CheckBox(G2frame.FRMC,label='Save in molecule order?')4840 bymolec.SetValue(RMCPdict['byMolec'])4841 bymolec.Bind(wx.EVT_CHECKBOX,OnByMolec)4842 lineSizer.Add(bymolec,0,WACV)4843 lineSizer.Add(wx.StaticText(G2frame.FRMC,label=' Num. atoms per molecule'),0,WACV)4839 # bymolec = wx.CheckBox(G2frame.FRMC,label='Save in molecule order?') 4840 # bymolec.SetValue(RMCPdict['byMolec']) 4841 # bymolec.Bind(wx.EVT_CHECKBOX,OnByMolec) 4842 # lineSizer.Add(bymolec,0,WACV) 4843 lineSizer.Add(wx.StaticText(G2frame.FRMC,label=' Num. atoms per group '),0,WACV) 4844 4844 lineSizer.Add(G2G.ValidatedTxtCtrl(G2frame.FRMC,RMCPdict,'Natoms',min=1,size=[40,25]),0,WACV) 4845 4845 else: -
trunk/GSASIIpwd.py
r4427 r4430 2623 2623 from fullrmc.Engine import Engine 2624 2624 from fullrmc.Constraints.PairDistributionConstraints import PairDistributionConstraint 2625 from fullrmc.Constraints.PairCorrelationConstraints import PairCorrelationConstraint2626 2625 from fullrmc.Constraints.StructureFactorConstraints import ReducedStructureFactorConstraint 2627 2626 from fullrmc.Constraints.DistanceConstraints import InterMolecularDistanceConstraint … … 2629 2628 from fullrmc.Constraints.AngleConstraints import BondsAngleConstraint 2630 2629 from fullrmc.Constraints.DihedralAngleConstraints import DihedralAngleConstraint 2631 from fullrmc.Core.MoveGenerator import MoveGeneratorCollector2632 2630 from fullrmc.Generators.Swaps import SwapPositionsGenerator 2633 from fullrmc.Core.GroupSelector import RecursiveGroupSelector2634 from fullrmc.Selectors.RandomSelectors import RandomSelector2635 from fullrmc.Selectors.OrderedSelectors import DefinedOrderSelector2636 from fullrmc.Generators.Translations import TranslationGenerator, TranslationAlongSymmetryAxisGenerator2637 from fullrmc.Generators.Agitations import DistanceAgitationGenerator, AngleAgitationGenerator2638 from fullrmc.Generators.Rotations import RotationGenerator, RotationAboutAxisGenerator2639 from fullrmc.Core.Collection import get_principal_axis2640 2631 from fullrmc.debugStuff import * 2641 2632 InvokeDebugOpts() … … 2643 2634 SwapGen = {} 2644 2635 # engine setup\n''' 2636 #Unused imports 2637 # from fullrmc.Constraints.PairCorrelationConstraints import PairCorrelationConstraint 2638 # from fullrmc.Core.MoveGenerator import MoveGeneratorCollector 2639 # from fullrmc.Core.GroupSelector import RecursiveGroupSelector 2640 # from fullrmc.Selectors.RandomSelectors import RandomSelector 2641 # from fullrmc.Selectors.OrderedSelectors import DefinedOrderSelector 2642 # from fullrmc.Generators.Translations import TranslationGenerator, TranslationAlongSymmetryAxisGenerator 2643 # from fullrmc.Generators.Agitations import DistanceAgitationGenerator, AngleAgitationGenerator 2644 # from fullrmc.Generators.Rotations import RotationGenerator, RotationAboutAxisGenerator 2645 # from fullrmc.Core.Collection import get_principal_axis 2646 #End unused imports 2645 2647 rundata += 'LOGGER.set_log_file_basename("%s")\n'%pName 2646 2648 rundata += 'engineFileName = "%s.rmc"\n'%pName
Note: See TracChangeset
for help on using the changeset viewer.