Changeset 8d2772
- Timestamp:
- Mar 18, 2010, 4:45:41 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:
- 80c63d
- Parents:
- 24725c
- Location:
- src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Helpers/Assert.cpp
r24725c r8d2772 21 21 { 22 22 if(!res){ 23 cout << "Assertion " << condition <<" failed in file " << filename << " at line " << line << endl;23 cout << "Assertion \"" << condition << "\" failed in file " << filename << " at line " << line << endl; 24 24 cout << "Assertion Message: " << message << std::endl; 25 25 if(always_throw){ -
src/molecule.cpp
r24725c r8d2772 938 938 void molecule::CountAtoms() 939 939 { 940 cout << "!!!!!!!!!!! Assigning Numbers to atoms " << endl;941 940 int i = size(); 942 941 if ((AtomCount == 0) || (i != AtomCount)) { … … 961 960 } else 962 961 Log() << Verbose(3) << "AtomCount is still " << AtomCount << ", thus counting nothing." << endl; 963 }964 else {965 cout << "!!!!!!!!! Nothing changed while counting" << endl;966 962 } 967 963 }; -
src/tesselation.cpp
r24725c r8d2772 16 16 #include "vector.hpp" 17 17 #include "verbose.hpp" 18 19 #include "Helpers/Assert.hpp" 18 20 19 21 class molecule; … … 366 368 Counter++; 367 369 } 368 if (Counter < 3) { 369 eLog() << Verbose(0) << "We have a triangle with only two distinct endpoints!" << endl; 370 performCriticalExit(); 371 } 370 ASSERT(Counter >= 3,"We have a triangle with only two distinct endpoints!"); 372 371 }; 373 372 … … 2100 2099 } 2101 2100 2101 2102 2102 BTS = NULL; 2103 2103 AddCandidateTriangle(OptCandidates); 2104 2104 2105 // delete(BaseLine.endpoints[0]); 2105 2106 // delete(BaseLine.endpoints[1]); … … 2431 2432 // fill the set of neighbours 2432 2433 TesselPointSet SetOfNeighbours; 2434 2433 2435 SetOfNeighbours.insert(CandidateLine.BaseLine->endpoints[1]->node); 2434 2436 for (TesselPointList::iterator Runner = CandidateLine.pointlist.begin(); Runner != CandidateLine.pointlist.end(); Runner++) … … 2455 2457 2456 2458 // add the triangles 2457 BTS = new classBoundaryTriangleSet(BLS, TrianglesOnBoundaryCount);2459 BTS = new BoundaryTriangleSet(BLS, TrianglesOnBoundaryCount); 2458 2460 AddTesselationTriangle(); 2459 2461 BTS->GetCenter(&Center); -
src/unittests/AnalysisCorrelationToSurfaceUnitTest.cpp
r24725c r8d2772 26 26 #include "tesselation.hpp" 27 27 #include "World.hpp" 28 #include "Helpers/Assert.hpp" 28 29 29 30 #ifdef HAVE_TESTRUNNER … … 38 39 void AnalysisCorrelationToSurfaceUnitTest::setUp() 39 40 { 41 ASSERT_DO_THROW; 42 40 43 atom *Walker = NULL; 41 44
Note:
See TracChangeset
for help on using the changeset viewer.