source: src/Fragmentation/Exporters/unittests/Makefile.am@ 0983e6

Action_Thermostats Add_AtomRandomPerturbation Add_FitFragmentPartialChargesAction Add_RotateAroundBondAction Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.5.4 Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator 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_ChargeSampling_PBC Fix_ChronosMutex Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers Fix_ForceAnnealing Fix_IndependentFragmentGrids Fix_ParseParticles Fix_ParseParticles_split_forward_backward_Actions Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion GeometryObjects Gui_displays_atomic_force_velocity IndependentFragmentGrids IndependentFragmentGrids_IndividualZeroInstances IndependentFragmentGrids_IntegrationTest IndependentFragmentGrids_Sole_NN_Calculation JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo SaturateAtoms_findBestMatching StoppableMakroAction Subpackage_CodePatterns Subpackage_JobMarket Subpackage_LinearAlgebra Subpackage_levmar Subpackage_mpqc_open Subpackage_vmg ThirdParty_MPQC_rebuilt_buildsystem TrajectoryDependenant_MaxOrder TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes stable
Last change on this file since 0983e6 was b67d89, checked in by Frederik Heber <heber@…>, 8 years ago

Using the idea of three points giving a triangle to find rotation axis.

  • we calculate the center of either triangle and rotate the center of the ideal point distribution to match the one from the given points.
  • next we have the triangles normals as axis, take the first matching point and rotate align it.
  • we have to deal with a lot of special cases: What if only zero, one, or two points are given ...
  • in general we assume that the triangle lies relatively flat on the sphere's surface but what if the origin is in the triangle plane or even the calculated center is at the origin ...
  • TESTS: SphericalPointDistributionUnitTest working again, regression tests FragmentMolecule-cylces and StoreSaturatedFragment working.
  • Property mode set to 100644
File size: 2.6 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4FRAGMENTATIONEXPORTERSSOURCES = \
5 ../Fragmentation/Exporters/unittests/HydrogenPoolUnitTest.cpp \
6 ../Fragmentation/Exporters/unittests/SaturatedFragmentUnitTest.cpp \
7 ../Fragmentation/Exporters/unittests/SaturationDistanceMaximizerUnitTest.cpp \
8 ../Fragmentation/Exporters/unittests/SphericalPointDistributionUnitTest.cpp
9
10FRAGMENTATIONEXPORTERSTESTSHEADERS = \
11 ../Fragmentation/Exporters/unittests/HydrogenPoolUnitTest.hpp \
12 ../Fragmentation/Exporters/unittests/SaturatedFragmentUnitTest.hpp \
13 ../Fragmentation/Exporters/unittests/SaturationDistanceMaximizerUnitTest.hpp \
14 ../Fragmentation/Exporters/unittests/SphericalPointDistributionUnitTest.hpp
15
16FRAGMENTATIONEXPORTERSTESTS = \
17 HydrogenPoolUnitTest \
18 SaturatedFragmentUnitTest \
19 SaturationDistanceMaximizerUnitTest \
20 SphericalPointDistributionUnitTest
21
22TESTS += $(FRAGMENTATIONEXPORTERSTESTS)
23check_PROGRAMS += $(FRAGMENTATIONEXPORTERSTESTS)
24noinst_PROGRAMS += $(FRAGMENTATIONEXPORTERSTESTS)
25
26FRAGMENTATIONEXPORTERSLIBS = \
27 libUnitTest.la \
28 ../libMolecuilder.la \
29 ../libMolecuilderFragmentation.la \
30 ${CodePatterns_LIBS} \
31 $(BOOST_LIB)
32
33HydrogenPoolUnitTest_SOURCES = \
34 ../Fragmentation/Exporters/unittests/HydrogenPoolUnitTest.cpp \
35 ../Fragmentation/Exporters/unittests/HydrogenPoolUnitTest.hpp
36HydrogenPoolUnitTest_LDADD = \
37 ../libMolecuilderUI.la \
38 ${FRAGMENTATIONEXPORTERSLIBS}
39
40SaturatedFragmentUnitTest_SOURCES = \
41 ../Fragmentation/Exporters/unittests/SaturatedFragmentUnitTest.cpp \
42 ../Fragmentation/Exporters/unittests/SaturatedFragmentUnitTest.hpp
43SaturatedFragmentUnitTest_LDADD = \
44 ../libMolecuilderUI.la \
45 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
46 ${FRAGMENTATIONEXPORTERSLIBS}
47
48SaturationDistanceMaximizerUnitTest_SOURCES = \
49 ../Fragmentation/Exporters/unittests/SaturationDistanceMaximizerUnitTest.cpp \
50 ../Fragmentation/Exporters/unittests/SaturationDistanceMaximizerUnitTest.hpp \
51 ../Fragmentation/Exporters/unittests/stubs/SaturatedBondStub.cpp
52SaturationDistanceMaximizerUnitTest_LDADD = \
53 ../libMolecuilderUI.la \
54 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
55 ${FRAGMENTATIONEXPORTERSLIBS}
56
57SphericalPointDistributionUnitTest_SOURCES = \
58 ../Fragmentation/Exporters/unittests/SphericalPointDistributionUnitTest.cpp \
59 ../Fragmentation/Exporters/unittests/SphericalPointDistributionUnitTest.hpp
60SphericalPointDistributionUnitTest_LDADD = \
61 ../libMolecuilderUI.la \
62 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
63 ${FRAGMENTATIONEXPORTERSLIBS}
64
65
66#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.