Ignore:
Timestamp:
Jul 7, 2010, 11:53:05 AM (15 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:
ed6dd8
Parents:
192f6e
Message:

InputAction now parses all possible formats, not only pcp.

  • new function FormatParserStorage::get() that checks on the suffix and calls the load() function of the respective specialized FormatParser.
  • InputAction changed such that ...
    • prefix and suffix are extracted.
    • FormatParserStorage::get() is used.
    • empty configs are handled, too.
  • FormatParserStorage::ParserSuffix changed, removed ".conf".
  • TESTFIX: renamed all files to diff accordingly: .conf.xyz -> .xyz, .conf.in -> .in
  • BUGFIX: xyz files were written without initial tab in front of comment, fix in ParserUnitTest necessary (i.e. a tab was missing there as we always write it now)
  • ChangeElementAction: now needs --atom-by-id and takes the element as argument
File:
1 moved

Legend:

Unmodified
Added
Removed
  • tests/regression/Molecules/6/post/test2.conf

    r192f6e r86cff86  
    3535RelEpsTotalE    1e-07   # relative change in total energy
    3636RelEpsKineticE  1e-05   # relative change in kinetic energy
    37 MaxMinStopStep  2       # check every ..th steps
     37MaxMinStopStep  10      # check every ..th steps
    3838MaxMinGapStopStep       1       # check every ..th steps
    3939
     
    4242InitRelEpsTotalE        1e-05   # relative change in total energy
    4343InitRelEpsKineticE      0.0001  # relative change in kinetic energy
    44 InitMaxMinStopStep      2       # check every ..th steps
     44InitMaxMinStopStep      10      # check every ..th steps
    4545InitMaxMinGapStopStep   1       # check every ..th steps
    4646
     
    5555RiemannTensor   0       # (Use metric)
    5656PsiType         0       # 0 - doubly occupied, 1 - SpinUp,SpinDown
    57 MaxPsiDouble    2       # here: specifying both maximum number of SpinUp- and -Down-states
    58 PsiMaxNoUp      2       # here: specifying maximum number of SpinUp-states
    59 PsiMaxNoDown    2       # here: specifying maximum number of SpinDown-states
     57MaxPsiDouble    10      # here: specifying both maximum number of SpinUp- and -Down-states
     58PsiMaxNoUp      10      # here: specifying maximum number of SpinUp-states
     59PsiMaxNoDown    10      # here: specifying maximum number of SpinDown-states
    6060AddPsis         0       # Additional unoccupied Psis for bandgap determination
    6161
     
    6464IsAngstroem     1       # 0 - Bohr, 1 - Angstroem
    6565RelativeCoord   0       # whether ion coordinates are relative (1) or absolute (0)
    66 MaxTypes        1       # maximum number of different ion types
     66MaxTypes        2       # maximum number of different ion types
    6767
    6868# Ion type data (PP = PseudoPotential, Z = atomic number)
    6969#Ion_TypeNr.    Amount  Z       RGauss  L_Max(PP)L_Loc(PP)IonMass       # chemical name, symbol
    70 Ion_Type1       1       6       1.0     3       3       12.01100000000  Carbon  C
     70Ion_Type1       8       1       1.0     3       3       1.00800000000   Hydrogen        H
     71Ion_Type2       3       6       1.0     3       3       12.01100000000  Carbon  C
    7172#Ion_TypeNr._Nr.R[0]    R[1]    R[2]    MoveType (0 MoveIon, 1 FixedIon)
    72 Ion_Type1_1     10.000000000    10.000000000    10.000000000    0 # molecule nr 0
     73Ion_Type1_1     8.782085945     1.645886050     1.645886050     0 # molecule nr 0
     74Ion_Type1_2     8.782085945     1.645886050     3.425886024     0 # molecule nr 1
     75Ion_Type1_3     9.672039608     2.904536878     2.535886037     0 # molecule nr 2
     76Ion_Type1_4     7.532785963     3.787886018     1.645886050     0 # molecule nr 3
     77Ion_Type1_5     7.532785963     3.787886018     3.425886024     0 # molecule nr 4
     78Ion_Type1_6     5.393632318     2.904536877     2.535886037     0 # molecule nr 5
     79Ion_Type1_7     6.283585982     1.645886050     1.645886050     0 # molecule nr 6
     80Ion_Type1_8     6.283585982     1.645886050     3.425886024     0 # molecule nr 7
     81Ion_Type2_1     8.782085945     2.275186040     2.535886037     0 # molecule nr 8
     82Ion_Type2_2     7.532785963     3.158586027     2.535886037     0 # molecule nr 9
     83Ion_Type2_3     6.283585982     2.275186040     2.535886037     0 # molecule nr 10
Note: See TracChangeset for help on using the changeset viewer.