Action_Thermostats
        Add_AtomRandomPerturbation
        Add_SelectAtomByNameAction
        Adding_Graph_to_ChangeBondActions
        Adding_MD_integration_tests
        Adding_StructOpt_integration_tests
        AutomationFragmentation_failures
        Candidate_v1.6.1
        Candidate_v1.7.0
        ChangeBugEmailaddress
        ChemicalSpaceEvaluator
        EmpiricalPotential_contain_HomologyGraph_documentation
        Enhance_userguide
        Enhanced_StructuralOptimization
        Enhanced_StructuralOptimization_continued
        Example_ManyWaysToTranslateAtom
        Exclude_Hydrogens_annealWithBondGraph
        Fix_Verbose_Codepatterns
        ForceAnnealing_oldresults
        ForceAnnealing_with_BondGraph
        ForceAnnealing_with_BondGraph_continued
        ForceAnnealing_with_BondGraph_continued_betteresults
        ForceAnnealing_with_BondGraph_contraction-expansion
        GeometryObjects
        Gui_displays_atomic_force_velocity
        IndependentFragmentGrids_IntegrationTest
        JobMarket_RobustOnKillsSegFaults
        JobMarket_StableWorkerPool
        PythonUI_with_named_parameters
        QtGui_reactivate_TimeChanged_changes
        Recreated_GuiChecks
        StoppableMakroAction
        TremoloParser_IncreasedPrecision
        TremoloParser_MultipleTimesteps
        stable
      
      
        
          | Last change
 on this file since f79d65 was             6bd7e0, checked in by Frederik Heber <heber@…>, 14 years ago | 
        
          | 
Renamed old LinkedCell class to LinkedCell_deprecated.
 this is preparatory for a smooth transition to the new implementation.
note that class LinkedCell and namespace LinkedCell bite each other so far.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            1.4 KB | 
      
      
| Rev | Line |  | 
|---|
| [dcea0f] | 1 | /* | 
|---|
|  | 2 | * LinkedCellUnitTest.hpp | 
|---|
|  | 3 | * | 
|---|
|  | 4 | *  Created on: Apr 9, 2010 | 
|---|
|  | 5 | *      Author: heber | 
|---|
|  | 6 | */ | 
|---|
|  | 7 |  | 
|---|
|  | 8 | #ifndef LINKEDCELLUNITTEST_HPP_ | 
|---|
|  | 9 | #define LINKEDCELLUNITTEST_HPP_ | 
|---|
|  | 10 |  | 
|---|
| [56f73b] | 11 | // include config.h | 
|---|
|  | 12 | #ifdef HAVE_CONFIG_H | 
|---|
|  | 13 | #include <config.h> | 
|---|
|  | 14 | #endif | 
|---|
|  | 15 |  | 
|---|
|  | 16 |  | 
|---|
| [dcea0f] | 17 | #include <cppunit/extensions/HelperMacros.h> | 
|---|
|  | 18 |  | 
|---|
|  | 19 |  | 
|---|
|  | 20 | class element; | 
|---|
| [6bd7e0] | 21 | class LinkedCell_deprecated; | 
|---|
| [dcea0f] | 22 | class molecule; | 
|---|
|  | 23 | class periodentafel; | 
|---|
|  | 24 |  | 
|---|
|  | 25 | /********************************************** Test classes **************************************/ | 
|---|
|  | 26 |  | 
|---|
| [91f592] | 27 | class linkedcelltest : public CppUnit::TestFixture | 
|---|
| [dcea0f] | 28 | { | 
|---|
| [91f592] | 29 | CPPUNIT_TEST_SUITE( linkedcelltest) ; | 
|---|
| [4f9e47] | 30 | CPPUNIT_TEST ( CheckBoundsTest ); | 
|---|
| [dcea0f] | 31 | CPPUNIT_TEST ( GetCurrentCellTest ); | 
|---|
|  | 32 | CPPUNIT_TEST ( GetRelativeToCurrentCellTest ); | 
|---|
|  | 33 | CPPUNIT_TEST ( SetIndexToNodeTest ); | 
|---|
|  | 34 | CPPUNIT_TEST ( SetIndexToVectorTest ); | 
|---|
|  | 35 | CPPUNIT_TEST ( GetNeighbourBoundsTest ); | 
|---|
| [4f9e47] | 36 | CPPUNIT_TEST ( GetallNeighboursTest ); | 
|---|
| [dcea0f] | 37 | CPPUNIT_TEST ( GetPointsInsideSphereTest ); | 
|---|
|  | 38 | CPPUNIT_TEST_SUITE_END(); | 
|---|
|  | 39 |  | 
|---|
|  | 40 | public: | 
|---|
|  | 41 | void setUp(); | 
|---|
|  | 42 | void tearDown(); | 
|---|
|  | 43 |  | 
|---|
|  | 44 | void GetCurrentCellTest(); | 
|---|
|  | 45 | void GetRelativeToCurrentCellTest(); | 
|---|
|  | 46 | void SetIndexToNodeTest(); | 
|---|
|  | 47 | void SetIndexToVectorTest(); | 
|---|
|  | 48 | void CheckBoundsTest(); | 
|---|
|  | 49 | void GetNeighbourBoundsTest(); | 
|---|
|  | 50 | void GetallNeighboursTest(); | 
|---|
|  | 51 | void GetPointsInsideSphereTest(); | 
|---|
|  | 52 |  | 
|---|
|  | 53 | private: | 
|---|
|  | 54 |  | 
|---|
|  | 55 | molecule *TestMolecule; | 
|---|
| [4eb4fe] | 56 | const element *hydrogen; | 
|---|
| [6bd7e0] | 57 | LinkedCell_deprecated *LC; | 
|---|
| [dcea0f] | 58 | }; | 
|---|
|  | 59 |  | 
|---|
|  | 60 |  | 
|---|
|  | 61 | #endif /* LINKEDCELLUNITTEST_HPP_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.