Changeset 1bef07


Ignore:
Timestamp:
Oct 17, 2011, 4:56:36 PM (13 years ago)
Author:
Frederik Heber <heber@…>
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:
154a45
Parents:
ee50c1
git-author:
Frederik Heber <heber@…> (10/05/11 08:52:25)
git-committer:
Frederik Heber <heber@…> (10/17/11 16:56:36)
Message:

Added first working version of a Psi3Parser.

  • is so far mostly copy&paste from MpqcParser.
  • important parameters all are in (including valid ranges).
  • also added unit tests.
Location:
src/Parser
Files:
6 added
4 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/FormatParserStorage.cpp

    ree50c1 r1bef07  
    3535#include "PcpParser.hpp"
    3636#include "PdbParser.hpp"
     37#include "Psi3Parser.hpp"
    3738#include "TremoloParser.hpp"
    3839#include "XyzParser.hpp"
  • src/Parser/Makefile.am

    ree50c1 r1bef07  
    1515  Parser/PdbAtomInfoContainer.cpp \
    1616  Parser/PdbParser.cpp \
     17  Parser/Psi3Parser.cpp \
     18  Parser/Psi3Parser_Parameters.cpp \
    1719  Parser/TremoloParser.cpp \
    1820  Parser/TremoloAtomInfoContainer.cpp \
     
    3840  Parser/PdbKey.hpp \
    3941  Parser/PdbParser.hpp \
     42  Parser/Psi3Parser.hpp \
     43  Parser/Psi3Parser_Parameters.hpp \
    4044  Parser/TremoloKey.hpp \
    4145  Parser/TremoloParser.hpp \
  • src/Parser/ParserTypes.def

    ree50c1 r1bef07  
    11//!> preprocessor sequence of all known parser types. Just add new parser here
    2 #define PARSERSEQUENCE (mpqc)(pcp)(pdb)(tremolo)(xyz)
     2#define PARSERSEQUENCE (mpqc)(pcp)(pdb)(psi3)(tremolo)(xyz)
    33//!> Number of enumerations calculate automatically
    44#define ParserTypes_END BOOST_PP_SEQ_SIZE(PARSERSEQUENCE)
  • src/Parser/unittests/Makefile.am

    ree50c1 r1bef07  
    88        ../Parser/unittests/ParserPcpUnitTest.cpp \
    99        ../Parser/unittests/ParserPdbUnitTest.cpp \
     10        ../Parser/unittests/ParserPsi3UnitTest.cpp \
    1011        ../Parser/unittests/ParserTremoloUnitTest.cpp \
    1112        ../Parser/unittests/ParserXyzUnitTest.cpp
     
    1516        ../Parser/unittests/ParserPcpUnitTest.hpp \
    1617        ../Parser/unittests/ParserPdbUnitTest.hpp \
     18        ../Parser/unittests/ParserPsi3UnitTest.hpp \
    1719        ../Parser/unittests/ParserTremoloUnitTest.hpp \
    1820        ../Parser/unittests/ParserXyzUnitTest.hpp
     
    2224  ParserPcpUnitTest \
    2325  ParserPdbUnitTest \
     26  ParserPsi3UnitTest \
    2427  ParserTremoloUnitTest \
    2528  ParserXyzUnitTest
     
    5154ParserPdbUnitTest_LDADD = ${PARSERLIBS}
    5255
     56ParserPsi3UnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
     57        ../Parser/unittests/ParserPsi3UnitTest.cpp \
     58        ../Parser/unittests/ParserPsi3UnitTest.hpp
     59ParserPsi3UnitTest_LDADD = ${PARSERLIBS}
     60
    5361ParserTremoloUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
    5462        ../Parser/unittests/ParserTremoloUnitTest.cpp \
Note: See TracChangeset for help on using the changeset viewer.