Changeset 47d041 for src/UIElements/CommandLineUI/Query
- Timestamp:
- Nov 3, 2011, 7:44:01 PM (14 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, Candidate_v1.7.0, 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:
- 41a467
- Parents:
- 50e4e5
- git-author:
- Frederik Heber <heber@…> (10/27/11 11:53:58)
- git-committer:
- Frederik Heber <heber@…> (11/03/11 19:44:01)
- Location:
- src/UIElements/CommandLineUI/Query
- Files:
-
- 20 edited
-
AtomCommandLineQuery.cpp (modified) (1 diff)
-
AtomsCommandLineQuery.cpp (modified) (1 diff)
-
BooleanCommandLineQuery.cpp (modified) (1 diff)
-
BoxCommandLineQuery.cpp (modified) (1 diff)
-
DoubleCommandLineQuery.cpp (modified) (1 diff)
-
DoublesCommandLineQuery.cpp (modified) (1 diff)
-
ElementCommandLineQuery.cpp (modified) (1 diff)
-
ElementsCommandLineQuery.cpp (modified) (1 diff)
-
FileCommandLineQuery.cpp (modified) (1 diff)
-
IntCommandLineQuery.cpp (modified) (1 diff)
-
IntsCommandLineQuery.cpp (modified) (1 diff)
-
MoleculeCommandLineQuery.cpp (modified) (1 diff)
-
MoleculesCommandLineQuery.cpp (modified) (1 diff)
-
RandomNumberDistribution_ParametersCommandLineQuery.cpp (modified) (1 diff)
-
StringCommandLineQuery.cpp (modified) (1 diff)
-
StringsCommandLineQuery.cpp (modified) (1 diff)
-
UnsignedIntCommandLineQuery.cpp (modified) (1 diff)
-
UnsignedIntsCommandLineQuery.cpp (modified) (1 diff)
-
VectorCommandLineQuery.cpp (modified) (1 diff)
-
VectorsCommandLineQuery.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/CommandLineUI/Query/AtomCommandLineQuery.cpp
r50e4e5 r47d041 46 46 return true; 47 47 } else { 48 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing atom for " << getTitle() << "." << endl);48 ELOG(1, "CommandLineUI parsing error: Missing atom for " << getTitle() << "."); 49 49 return false; 50 50 } -
src/UIElements/CommandLineUI/Query/AtomsCommandLineQuery.cpp
r50e4e5 r47d041 45 45 return true; 46 46 } else { 47 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing atoms for " << getTitle() << "." << endl);47 ELOG(1, "CommandLineUI parsing error: Missing atoms for " << getTitle() << "."); 48 48 return false; 49 49 } -
src/UIElements/CommandLineUI/Query/BooleanCommandLineQuery.cpp
r50e4e5 r47d041 36 36 return true; 37 37 } else { 38 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing boolean for " << getTitle() << "." << endl);38 ELOG(1, "CommandLineUI parsing error: Missing boolean for " << getTitle() << "."); 39 39 return false; 40 40 } -
src/UIElements/CommandLineUI/Query/BoxCommandLineQuery.cpp
r50e4e5 r47d041 41 41 return true; 42 42 } else { 43 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing symmetric box matrix for " << getTitle() << "." << endl);43 ELOG(1, "CommandLineUI parsing error: Missing symmetric box matrix for " << getTitle() << "."); 44 44 return false; 45 45 } -
src/UIElements/CommandLineUI/Query/DoubleCommandLineQuery.cpp
r50e4e5 r47d041 37 37 return true; 38 38 } else { 39 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing double for " << getTitle() << "." << endl);39 ELOG(1, "CommandLineUI parsing error: Missing double for " << getTitle() << "."); 40 40 return false; 41 41 } -
src/UIElements/CommandLineUI/Query/DoublesCommandLineQuery.cpp
r50e4e5 r47d041 36 36 return true; 37 37 } else { 38 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing doubles for " << getTitle() << "." << endl);38 ELOG(1, "CommandLineUI parsing error: Missing doubles for " << getTitle() << "."); 39 39 return false; 40 40 } -
src/UIElements/CommandLineUI/Query/ElementCommandLineQuery.cpp
r50e4e5 r47d041 44 44 return true; 45 45 } else { 46 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing element for " << getTitle() << "." << endl);46 ELOG(1, "CommandLineUI parsing error: Missing element for " << getTitle() << "."); 47 47 return false; 48 48 } -
src/UIElements/CommandLineUI/Query/ElementsCommandLineQuery.cpp
r50e4e5 r47d041 47 47 return true; 48 48 } else { 49 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing elements for " << getTitle() << "." << endl);49 ELOG(1, "CommandLineUI parsing error: Missing elements for " << getTitle() << "."); 50 50 return false; 51 51 } -
src/UIElements/CommandLineUI/Query/FileCommandLineQuery.cpp
r50e4e5 r47d041 36 36 return true; 37 37 } else { 38 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing string for " << getTitle() << "." << endl);38 ELOG(1, "CommandLineUI parsing error: Missing string for " << getTitle() << "."); 39 39 return false; 40 40 } -
src/UIElements/CommandLineUI/Query/IntCommandLineQuery.cpp
r50e4e5 r47d041 36 36 return true; 37 37 } else { 38 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing integer for " << getTitle() << "." << endl);38 ELOG(1, "CommandLineUI parsing error: Missing integer for " << getTitle() << "."); 39 39 return false; 40 40 } -
src/UIElements/CommandLineUI/Query/IntsCommandLineQuery.cpp
r50e4e5 r47d041 36 36 return true; 37 37 } else { 38 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing integers for " << getTitle() << "." << endl);38 ELOG(1, "CommandLineUI parsing error: Missing integers for " << getTitle() << "."); 39 39 return false; 40 40 } -
src/UIElements/CommandLineUI/Query/MoleculeCommandLineQuery.cpp
r50e4e5 r47d041 41 41 return true; 42 42 } else { 43 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing molecule for " << getTitle() << "." << endl);43 ELOG(1, "CommandLineUI parsing error: Missing molecule for " << getTitle() << "."); 44 44 return false; 45 45 } -
src/UIElements/CommandLineUI/Query/MoleculesCommandLineQuery.cpp
r50e4e5 r47d041 46 46 return true; 47 47 } else { 48 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing molecules for " << getTitle() << "." << endl);48 ELOG(1, "CommandLineUI parsing error: Missing molecules for " << getTitle() << "."); 49 49 return false; 50 50 } -
src/UIElements/CommandLineUI/Query/RandomNumberDistribution_ParametersCommandLineQuery.cpp
r50e4e5 r47d041 41 41 std::string stringtext = CommandLineParser::getInstance().vm[getTitle()].as<std::string>(); 42 42 std::stringstream text(stringtext); 43 // DoLog(1) && (Log() << Verbose(1) << "Parameter set from CommandLine is '" 44 // << text.str() << "'" << std::endl); 43 // LOG(1, "INFO: Parameter set from CommandLine is '" << text.str() << "'"); 45 44 text >> tmp; 46 45 return true; 47 46 } else { 48 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing RandomNumberDistribution_Parameters for " << getTitle() << "." << endl);47 ELOG(1, "CommandLineUI parsing error: Missing RandomNumberDistribution_Parameters for " << getTitle() << "."); 49 48 return false; 50 49 } -
src/UIElements/CommandLineUI/Query/StringCommandLineQuery.cpp
r50e4e5 r47d041 36 36 return true; 37 37 } else { 38 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing string for " << getTitle() << "." << endl);38 ELOG(1, "CommandLineUI parsing error: Missing string for " << getTitle() << "."); 39 39 return false; 40 40 } -
src/UIElements/CommandLineUI/Query/StringsCommandLineQuery.cpp
r50e4e5 r47d041 36 36 return true; 37 37 } else { 38 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing strings for " << getTitle() << "." << endl);38 ELOG(1, "CommandLineUI parsing error: Missing strings for " << getTitle() << "."); 39 39 return false; 40 40 } -
src/UIElements/CommandLineUI/Query/UnsignedIntCommandLineQuery.cpp
r50e4e5 r47d041 36 36 return true; 37 37 } else { 38 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing integer for " << getTitle() << "." << endl);38 ELOG(1, "CommandLineUI parsing error: Missing integer for " << getTitle() << "."); 39 39 return false; 40 40 } -
src/UIElements/CommandLineUI/Query/UnsignedIntsCommandLineQuery.cpp
r50e4e5 r47d041 36 36 return true; 37 37 } else { 38 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing integers for " << getTitle() << "." << endl);38 ELOG(1, "CommandLineUI parsing error: Missing integers for " << getTitle() << "."); 39 39 return false; 40 40 } -
src/UIElements/CommandLineUI/Query/VectorCommandLineQuery.cpp
r50e4e5 r47d041 42 42 tmp = temp.toVector(); 43 43 if ((check) && (!World::getInstance().getDomain().isInside(tmp))) { 44 DoeLog(1) && (eLog() << Verbose(1) << "Vector " << tmp << " would be outside of box domain." << endl);44 ELOG(1, "Vector " << tmp << " would be outside of box domain."); 45 45 return false; 46 46 } 47 47 return true; 48 48 } else { 49 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing vector for " << getTitle() << "." << endl);49 ELOG(1, "CommandLineUI parsing error: Missing vector for " << getTitle() << "."); 50 50 return false; 51 51 } -
src/UIElements/CommandLineUI/Query/VectorsCommandLineQuery.cpp
r50e4e5 r47d041 45 45 tmp.push_back(temp); 46 46 else 47 DoeLog(1) && (eLog() << Verbose(1) << "Vector " << temp << " would be outside of box domain." << endl);47 ELOG(1, "Vector " << temp << " would be outside of box domain."); 48 48 } 49 49 return true; 50 50 } else { 51 DoeLog(1) && (eLog() << Verbose(1) << "CommandLineUI parsing error: Missing vectors for " << getTitle() << "." << endl);51 ELOG(1, "CommandLineUI parsing error: Missing vectors for " << getTitle() << "."); 52 52 return false; 53 53 }
Note:
See TracChangeset
for help on using the changeset viewer.
