Changeset 6dea43
- Timestamp:
- Apr 24, 2008, 5:03:14 PM (17 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:
- 13aab9
- Parents:
- a16756
- Location:
- src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/helpers.hpp
ra16756 r6dea43 20 20 21 21 #include "defs.hpp" 22 23 // include config.h 24 #ifdef HAVE_CONFIG_H 25 #include <config.h> 26 #endif 22 27 23 28 /********************************************** helpful functions *********************************/ -
src/molecules.hpp
ra16756 r6dea43 19 19 #include <set> 20 20 #include <deque> 21 22 // system specific headers23 #include <time.h>24 25 21 26 22 #include "helpers.hpp" -
src/parser.cpp
ra16756 r6dea43 5 5 */ 6 6 7 using namespace std;8 9 7 // ======================================= INCLUDES ========================================== 10 8 … … 19 17 */ 20 18 #ifdef HAVE_INLINE 21 inline 19 inline bool FilePresent(const char *filename) 20 #else 21 bool FilePresent(const char *filename) 22 22 #endif 23 bool FilePresent(const char *filename)24 23 { 25 24 ifstream input; … … 39 38 * \return given inputdir is valid 40 39 */ 41 #ifdef HAVE_INLINE42 inline43 #endif44 40 bool TestParams(int argc, char **argv) 45 41 { -
src/parser.hpp
ra16756 r6dea43 9 9 #define PARSING_HPP_ 10 10 11 using namespace std; 12 13 // include config.h 14 #ifdef HAVE_CONFIG_H 15 #include <config.h> 16 #endif 17 11 18 // ======================================= DEFINES ========================================== 12 19 13 #define MYEPSILON 1e-1314 20 #define FactorsFile "BondFragmentTE-Factors.dat" 15 21 #define ForcesFile "BondFragmentForces-Factors.dat" … … 26 32 27 33 #ifdef HAVE_INLINE 28 inline 34 inline bool FilePresent(const char *filename); 35 #else 36 bool FilePresent(const char *filename); 29 37 #endif 30 bool FilePresent(const char *filename);31 38 32 #ifdef HAVE_INLINE33 inline34 #endif35 39 bool TestParams(int argc, char **argv); 40 36 41 37 42 // ======================================= CLASS MatrixContainer =============================
Note:
See TracChangeset
for help on using the changeset viewer.