Changeset c52e08
- Timestamp:
- Feb 22, 2012, 11:28:42 AM (13 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:
- 7b9fe0
- Parents:
- d66cb7
- git-author:
- Frederik Heber <heber@…> (01/03/12 11:22:24)
- git-committer:
- Frederik Heber <heber@…> (02/22/12 11:28:42)
- Files:
-
- 8 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/GlobalListOfActions.hpp
rd66cb7 rc52e08 72 72 (WorldCenterOnEdge) \ 73 73 (WorldSetWorldTime) \ 74 (WorldSetBoundaryConditions) \ 74 75 (WorldOutput) \ 75 76 (WorldSetDefaultName) \ -
src/Actions/Makefile.am
rd66cb7 rc52e08 389 389 Actions/WorldAction/RepeatBoxAction.cpp \ 390 390 Actions/WorldAction/ScaleBoxAction.cpp \ 391 Actions/WorldAction/SetBoundaryConditionsAction.cpp \ 391 392 Actions/WorldAction/SetDefaultNameAction.cpp \ 392 393 Actions/WorldAction/SetWorldTimeAction.cpp … … 401 402 Actions/WorldAction/RepeatBoxAction.hpp \ 402 403 Actions/WorldAction/ScaleBoxAction.hpp \ 404 Actions/WorldAction/SetBoundaryConditionsAction.hpp \ 403 405 Actions/WorldAction/SetDefaultNameAction.hpp \ 404 406 Actions/WorldAction/SetWorldTimeAction.hpp … … 413 415 Actions/WorldAction/RepeatBoxAction.def \ 414 416 Actions/WorldAction/ScaleBoxAction.def \ 417 Actions/WorldAction/SetBoundaryConditionsAction.def \ 415 418 Actions/WorldAction/SetDefaultNameAction.def \ 416 419 Actions/WorldAction/SetWorldTimeAction.def … … 484 487 # echo "#include \"Actions/Action_impl_undef.hpp\"" >>$@; 485 488 486 AllActionHeaders.hpp: $(ACTIONPROTOTYPESHEADER) 489 AllActionHeaders.hpp: $(ACTIONPROTOTYPESHEADER) Actions/GlobalListOfActions.hpp 487 490 echo "#ifndef ALLACTIONHEADERS_HPP_" >$@; \ 488 491 echo "#define ALLACTIONHEADERS_HPP_" >>$@; \ … … 496 499 497 500 if CONDPYTHON 498 AllActionPython.hpp: $(ACTIONPROTOTYPESHEADER) 501 AllActionPython.hpp: $(ACTIONPROTOTYPESHEADER) Actions/GlobalListOfActions.hpp 499 502 echo "#ifndef ALLACTIONPYTHON_HPP_" >$@; \ 500 503 echo "#define ALLACTIONPYTHON_HPP_" >>$@; \ -
src/Box.cpp
rd66cb7 rc52e08 23 23 24 24 #include <cmath> 25 #include <cstdlib> 25 26 #include <iostream> 26 #include < cstdlib>27 #include <sstream> 27 28 28 29 #include "CodePatterns/Assert.hpp" … … 304 305 } 305 306 306 const BoundaryConditions::Conditions_t Box::getConditions() const 307 const std::string Box::getConditionNames() const 308 { 309 std::stringstream outputstream; 310 outputstream << conditions; 311 return outputstream.str(); 312 } 313 314 const BoundaryConditions::Conditions_t & Box::getConditions() const 307 315 { 308 316 return conditions.get(); 309 317 } 310 318 311 void Box::setCondition(size_t i, const BoundaryConditions::BoundaryCondition_t condition) 319 const BoundaryConditions::BoundaryCondition_t Box::getCondition(size_t i) const 320 { 321 return conditions.get(i); 322 } 323 324 void Box::setCondition(size_t i, const BoundaryConditions::BoundaryCondition_t _condition) 312 325 { 313 326 OBSERVE; 314 327 NOTIFY(BoundaryConditionsChanged); 315 conditions.set(i, condition); 328 conditions.set(i, _condition); 329 } 330 331 void Box::setConditions(const BoundaryConditions::Conditions_t & _conditions) 332 { 333 OBSERVE; 334 NOTIFY(BoundaryConditionsChanged); 335 conditions.set(_conditions); 336 } 337 338 void Box::setConditions(const std::string & _conditions) 339 { 340 OBSERVE; 341 NOTIFY(BoundaryConditionsChanged); 342 std::stringstream inputstream(_conditions); 343 inputstream >> conditions; 316 344 } 317 345 -
src/Box.hpp
rd66cb7 rc52e08 116 116 Shape getShape() const; 117 117 118 const BoundaryConditions::Conditions_t getConditions() const; 119 void setCondition(size_t i,const BoundaryConditions::BoundaryCondition_t condition); 118 const std::string getConditionNames() const; 119 const BoundaryConditions::Conditions_t & getConditions() const; 120 const BoundaryConditions::BoundaryCondition_t getCondition(size_t i) const; 121 void setCondition(size_t i,const BoundaryConditions::BoundaryCondition_t _condition); 122 void setConditions(const BoundaryConditions::Conditions_t & _conditions); 123 void setConditions(const std::string & _conditions); 120 124 121 125 const std::vector<std::pair<Plane,Plane> > getBoundingPlanes() const; -
src/Box_BoundaryConditions.cpp
rd66cb7 rc52e08 129 129 EnumToStringMap::const_iterator iter = ConverterBiMap.find(condition); 130 130 ASSERT(iter != ConverterBiMap.end(), 131 "BCContainer::get Enum() - enum "+toString(condition)+" is unknown for any enum name.");131 "BCContainer::getName() - enum "+toString(condition)+" is unknown for any enum name."); 132 132 return iter->second; 133 133 } -
src/Box_BoundaryConditions.hpp
rd66cb7 rc52e08 61 61 const BoundaryCondition_t &getEnum(const std::string &condition) const; 62 62 63 63 64 private: 64 65 //!> typedef for the internal enum to string map -
src/LinkedCell/unittests/stubs/ObserverBoxStub.cpp
rd66cb7 rc52e08 56 56 } 57 57 58 const BoundaryConditions::Conditions_t Box::getConditions() const 58 Vector Box::WrapPeriodically(const Vector &point) const{ 59 return point; 60 } 61 62 const BoundaryConditions::Conditions_t & Box::getConditions() const 59 63 { 60 64 return conditions.get(); 65 } 66 67 double Box::periodicDistanceSquared(const Vector &point1,const Vector &point2) const 68 { 69 return point1.DistanceSquared(point2); 61 70 } 62 71 -
tests/Python/AllActions/options.dat
rd66cb7 rc52e08 151 151 select-molecules-by-formula "H2O" 152 152 select-molecules-by-name "water" 153 set-boundary-conditions "Wrap, Wrap, Wrap" 153 154 set-parser-parameters "basis = 4-31G" 154 155 set-parser-parameters "basis = 4-31G;maxiter=499;theory=CLKS;" -
tests/regression/Domain/testsuite-domain.at
rd66cb7 rc52e08 21 21 # duplicating box 22 22 m4_include([Domain/RepeatBox/testsuite-domain-repeat-box.at]) 23 24 # set boundary conditions 25 m4_include([Domain/SetBoundaryConditions/testsuite-domain-set-boundary-conditions.at]) -
tests/regression/Graph/testsuite-graph.at
rd66cb7 rc52e08 7 7 m4_include([Graph/SubgraphDissection/testsuite-graph-subgraph-dissection.at]) 8 8 9 # Subgraph dissection with specific boundary conditions 10 m4_include([Graph/SubgraphDissection-BoundaryConditions/testsuite-graph-subgraph-dissection_boundary-conditions.at]) -
tests/regression/Makefile.am
rd66cb7 rc52e08 54 54 $(srcdir)/Domain/CenterOnEdge/testsuite-domain-center-on-edge.at \ 55 55 $(srcdir)/Domain/ScaleBox/testsuite-domain-scale-box.at \ 56 $(srcdir)/Domain/SetBoundaryConditions/testsuite-domain-set-boundary-conditions.at \ 56 57 $(srcdir)/Domain/RepeatBox/testsuite-domain-repeat-box.at \ 57 58 $(srcdir)/Filling/testsuite-filling.at \ … … 65 66 $(srcdir)/Graph/DepthFirstSearch/testsuite-graph-depth-first-search.at \ 66 67 $(srcdir)/Graph/SubgraphDissection/testsuite-graph-subgraph-dissection.at \ 68 $(srcdir)/Graph/SubgraphDissection-BoundaryConditions/testsuite-graph-subgraph-dissection_boundary-conditions.at \ 67 69 $(srcdir)/Molecules/testsuite-molecules.at \ 68 70 $(srcdir)/Molecules/BondFile/testsuite-molecules-fragmentation-bond-file.at \
Note:
See TracChangeset
for help on using the changeset viewer.