Changeset c72112
- Timestamp:
- Mar 24, 2010, 12:54:47 PM (15 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:
- 05a97c
- Parents:
- 760ef4
- Location:
- src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Patterns/Cacheable.hpp
r760ef4 rc72112 128 128 129 129 const bool isValid() const; 130 const T &operator*() const;130 const T operator*() const; 131 131 132 132 // methods implemented for base-class Observer … … 171 171 172 172 template<typename T> 173 const T &Cacheable<T>::operator*() const{173 const T Cacheable<T>::operator*() const{ 174 174 // we can only use the cacheable when the owner is not changing at the moment 175 175 if(!owner->isBlocked()){ -
src/boundary.cpp
r760ef4 rc72112 1044 1044 status = CheckListOfBaselines(TesselStruct); 1045 1045 1046 cout << "before correction" << endl; 1047 1046 1048 // store before correction 1047 StoreTrianglesinFile(mol, (const Tesselation *&)TesselStruct, filename, "");1049 StoreTrianglesinFile(mol, TesselStruct, filename, ""); 1048 1050 1049 1051 // correct degenerated polygons … … 1055 1057 // write final envelope 1056 1058 CalculateConcavityPerBoundaryPoint(TesselStruct); 1057 StoreTrianglesinFile(mol, (const Tesselation *&)TesselStruct, filename, ""); 1059 cout << "after correction" << endl; 1060 StoreTrianglesinFile(mol, TesselStruct, filename, ""); 1058 1061 1059 1062 if (freeLC) -
src/molecule.hpp
r760ef4 rc72112 161 161 Vector *GetCenter() const ; 162 162 TesselPoint *GetPoint() const ; 163 //int GetMaxId() const;163 int GetMaxId() const; 164 164 void GoToNext() const ; 165 165 void GoToFirst() const ; -
src/molecule_pointcloud.cpp
r760ef4 rc72112 78 78 return (InternalPointer == atoms.end()); 79 79 }; 80 81 int molecule::GetMaxId() const { 82 return getAtomCount(); 83 } -
src/tesselation.cpp
r760ef4 rc72112 368 368 Counter++; 369 369 } 370 cout << "Counter is now: " << Counter << endl;371 370 ASSERT(Counter >= 3,"We have a triangle with only two distinct endpoints!"); 372 371 }; -
src/tesselationhelpers.cpp
r760ef4 rc72112 868 868 int i=cloud->GetMaxId(); 869 869 int *LookupList = new int[i]; 870 for (cloud->GoToFirst(), i=0; !cloud->IsEnd(); cloud->GoToNext(), i++) 870 for (cloud->GoToFirst(), i=0; !cloud->IsEnd(); cloud->GoToNext(), i++){ 871 871 LookupList[i] = -1; 872 } 872 873 873 874 // print atom coordinates 874 875 int Counter = 1; 875 876 TesselPoint *Walker = NULL; 876 for (PointMap::const_iterator target = TesselStruct->PointsOnBoundary.begin(); target != TesselStruct->PointsOnBoundary.end(); target++) {877 for (PointMap::const_iterator target = TesselStruct->PointsOnBoundary.begin(); target != TesselStruct->PointsOnBoundary.end(); ++target) { 877 878 Walker = target->second->node; 878 879 LookupList[Walker->nr] = Counter++;
Note:
See TracChangeset
for help on using the changeset viewer.