Ignore:
Timestamp:
Aug 15, 2013, 8:41:17 AM (12 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:
f6c19d
Parents:
d9d028
git-author:
Frederik Heber <heber@…> (04/15/13 19:03:31)
git-committer:
Frederik Heber <heber@…> (08/15/13 08:41:17)
Message:

InterfaceVMGJob now may also use open boundary (FAS instead of CS).

  • so far, according to Julian, only order 2 is implemented correctly.
  • we choose between open and periodic boundary conditions by a parameter in VMGJob.
  • VMGFragmentController uses the parameter when instantating VMGJobs.
Location:
src/Fragmentation/Automation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Automation/VMGFragmentController.cpp

    rd9d028 ree9018  
    7575    const TreatGrid_t _TreatGrid,
    7676    const MPQCData::DoValenceOnly_t _DoValenceOnly,
    77     const bool _DoPrintDebug)
     77    const bool _DoPrintDebug,
     78    const bool _OpenBoundaryConditions)
    7879{
    7980  std::vector<FragmentJob::ptr> jobs;
     
    9798            interpolation_degree,
    9899            _SampleParticles == DoSampleParticles,
    99             _DoPrintDebug) );
     100            _DoPrintDebug,
     101            _OpenBoundaryConditions) );
    100102    jobs.push_back(testJob);
    101103  }
     
    143145            interpolation_degree,
    144146            _SampleParticles == DoSampleParticles,
    145             _DoPrintDebug) );
     147            _DoPrintDebug,
     148            _OpenBoundaryConditions) );
    146149    jobs.push_back(testJob);
    147150  }
  • src/Fragmentation/Automation/VMGFragmentController.hpp

    rd9d028 ree9018  
    6161   * \param _DoValenceOnly whether to neglect core electron and nuclei charges
    6262   * \param _DoPrintDebug whether we do print grid for debug visualization or not
     63   * \param _OpenBoundaryConditions whether we have open (true) or periodic (false)
     64   *        boundary conditions
    6365   */
    6466  bool createLongRangeJobs(
     
    7072      const TreatGrid_t _TreatGrid,
    7173      const MPQCData::DoValenceOnly_t _DoValenceOnly,
    72       const bool _DoPrintDebug);
     74      const bool _DoPrintDebug,
     75      const bool _OpenBoundaryConditions = false);
    7376
    7477  /** Get results of finished long-range jobs.
Note: See TracChangeset for help on using the changeset viewer.