- Timestamp:
- Jun 11, 2010, 3:48:32 PM (15 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
- Children:
- a307af
- Parents:
- aacce8
- Location:
- src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MapOfActions.cpp
raacce8 ra02462 113 113 DescriptionMap["element"] = "single element"; 114 114 DescriptionMap["elements"] = "set of elements"; 115 DescriptionMap["end-mol"] = "last or end step"; 115 DescriptionMap["end-step"] = "last or end step"; 116 DescriptionMap["id-mapping"] = "whether the identity shall be used in mapping atoms onto atoms or some closest distance measure shall be used"; 116 117 DescriptionMap["input"] = "name of input file"; 117 118 DescriptionMap["length"] = "length in space"; … … 124 125 DescriptionMap["periodic"] = "system is constraint to periodic boundary conditions (y/n)"; 125 126 DescriptionMap["position"] = "position in R^3 space"; 126 DescriptionMap["start- mol"] = "first or start step";127 DescriptionMap["start-step"] = "first or start step"; 127 128 128 129 // short forms for the actions … … 177 178 TypeMap["depth-first-search"] = Double; 178 179 TypeMap["element-db"] = String; 179 TypeMap["end-mol"] = Molecule;180 180 TypeMap["fastparsing"] = Boolean; 181 181 TypeMap["fill-molecule"] = String; … … 197 197 TypeMap["scale-box"] = Vector; 198 198 TypeMap["set-basis"] = String; 199 TypeMap["start-mol"] = Molecule;200 199 TypeMap["suspend-in-water"] = Double; 201 200 TypeMap["translate-mol"] = Vector; … … 214 213 TypeMap["element"] = Element; 215 214 TypeMap["elements"] = ListOfElements; 215 TypeMap["end-step"] = Integer; 216 TypeMap["id-mapping"] = Boolean; 216 217 TypeMap["length"] = Double; 217 218 TypeMap["lengths"] = Vector; … … 223 224 TypeMap["periodic"] = Boolean; 224 225 TypeMap["position"] = Vector; 226 TypeMap["start-step"] = Integer; 225 227 226 228 // default values for any action that needs one (always string!) … … 251 253 generic.insert("fragment-mol"); 252 254 generic.insert("help"); 253 //generic.insert("linear-interpolate");255 generic.insert("linear-interpolate"); 254 256 // generic.insert("molecular-volume"); 255 257 // generic.insert("nonconvex-envelope"); … … 276 278 // generic.insert("distances"); 277 279 // generic.insert("element"); 278 // generic.insert("end-mol");279 280 generic.insert("input"); 280 281 // generic.insert("length"); 281 // generic.insert("start-mol");282 282 283 283 // positional arguments … … 295 295 generic.insert("element"); 296 296 generic.insert("elements"); 297 generic.insert("end-step"); 298 generic.insert("id-mapping"); 297 299 generic.insert("lengths"); 298 300 generic.insert("MaxDistance"); … … 303 305 generic.insert("periodic"); 304 306 generic.insert("position"); 307 generic.insert("start-step"); 305 308 } 306 309 -
src/Actions/MoleculeAction/LinearInterpolationofTrajectoriesAction.cpp
raacce8 ra02462 58 58 59 59 dialog->queryString(NAME, &filename, MapOfActions::getInstance().getDescription(NAME)); 60 dialog->queryInt("start- mol", &start, MapOfActions::getInstance().getDescription("start"));61 dialog->queryInt("end- mol", &start, MapOfActions::getInstance().getDescription("end"));60 dialog->queryInt("start-step", &start, MapOfActions::getInstance().getDescription("start-step")); 61 dialog->queryInt("end-step", &end, MapOfActions::getInstance().getDescription("end-step")); 62 62 dialog->queryMolecule("molecule-by-id", &mol, MapOfActions::getInstance().getDescription("molecule-by-id")); 63 63 dialog->queryBoolean("id-mapping", &IdMapping, MapOfActions::getInstance().getDescription("id-mapping")); -
src/builder.cpp
raacce8 ra02462 1966 1966 case 'L': 1967 1967 if (ExitFlag == 0) ExitFlag = 1; 1968 if ((argptr >= argc) || (argv[argptr][0] == '-')) {1968 if ((argptr+8 >= argc) || (argv[argptr][0] == '-')) { 1969 1969 ExitFlag = 255; 1970 DoeLog(0) && (eLog()<< Verbose(0) << "Not enough or invalid arguments given for linear interpolation: -L < step0> <step1> <prefix> <identity mapping?>" << endl);1970 DoeLog(0) && (eLog()<< Verbose(0) << "Not enough or invalid arguments given for linear interpolation: -L <prefix> --start-step <step0> --end-step <step1> --molecule-by-id 0 --id-mapping <0/1>" << endl); 1971 1971 performCriticalExit(); 1972 1972 } else { 1973 SaveFlag = true; 1974 DoLog(1) && (Log() << Verbose(1) << "Linear interpolation between configuration " << argv[argptr] << " and " << argv[argptr+1] << "." << endl); 1975 if (atoi(argv[argptr+3]) == 1) 1976 DoLog(1) && (Log() << Verbose(1) << "Using Identity for the permutation map." << endl); 1977 if (!mol->LinearInterpolationBetweenConfiguration(atoi(argv[argptr]), atoi(argv[argptr+1]), argv[argptr+2], configuration, atoi(argv[argptr+3])) == 1 ? true : false) 1978 DoLog(2) && (Log() << Verbose(2) << "Could not store " << argv[argptr+2] << " files." << endl); 1979 else 1980 DoLog(2) && (Log() << Verbose(2) << "Steps created and " << argv[argptr+2] << " files stored." << endl); 1981 argptr+=4; 1973 ArgcList.insert(argptr-1); 1974 ArgcList.insert(argptr); 1975 ArgcList.insert(argptr+1); 1976 ArgcList.insert(argptr+2); 1977 ArgcList.insert(argptr+3); 1978 ArgcList.insert(argptr+4); 1979 ArgcList.insert(argptr+5); 1980 ArgcList.insert(argptr+6); 1981 ArgcList.insert(argptr+7); 1982 ArgcList.insert(argptr+8); 1983 argptr+=9; 1982 1984 } 1983 1985 break;
Note:
See TracChangeset
for help on using the changeset viewer.