Changeset 91f592 for src/LinkedCell


Ignore:
Timestamp:
Dec 28, 2011, 3:30:06 PM (13 years ago)
Author:
Frederik Heber <heber@…>
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:
6f0841
Parents:
aa6c75
git-author:
Frederik Heber <heber@…> (11/15/11 14:15:25)
git-committer:
Frederik Heber <heber@…> (12/28/11 15:30:06)
Message:

Added own convenience library for LinkedCell construct.

Location:
src/LinkedCell
Files:
2 added
2 moved

Legend:

Unmodified
Added
Removed
  • src/LinkedCell/unittests/linkedcellUnitTest.cpp

    raa6c75 r91f592  
    3838#include "World.hpp"
    3939
    40 #include "LinkedCellUnitTest.hpp"
     40#include "linkedcellUnitTest.hpp"
    4141
    4242#ifdef HAVE_TESTRUNNER
     
    4747
    4848// Registers the fixture into the 'registry'
    49 CPPUNIT_TEST_SUITE_REGISTRATION( LinkedCellTest );
    50 
    51 
    52 void LinkedCellTest::setUp()
     49CPPUNIT_TEST_SUITE_REGISTRATION( linkedcelltest );
     50
     51
     52void linkedcelltest::setUp()
    5353{
    5454  // failing asserts should be thrown
     
    8484
    8585
    86 void LinkedCellTest::tearDown()
     86void linkedcelltest::tearDown()
    8787{
    8888  delete(LC);
     
    9393/** UnitTest for LinkedCell::CheckBounds().
    9494 */
    95 void LinkedCellTest::CheckBoundsTest()
     95void linkedcelltest::CheckBoundsTest()
    9696{
    9797  // check for within bounds
     
    124124 * Note that CheckBounds() is used and has to be tested already.
    125125 */
    126 void LinkedCellTest::GetCurrentCellTest()
     126void linkedcelltest::GetCurrentCellTest()
    127127{
    128128  // within bounds
     
    145145/** UnitTest for LinkedCell::GetRelativeToCurrentCell().
    146146 */
    147 void LinkedCellTest::GetRelativeToCurrentCellTest()
     147void linkedcelltest::GetRelativeToCurrentCellTest()
    148148{
    149149  int offset[3];
     
    202202/** UnitTest for LinkedCell::SetIndexToNode().
    203203 */
    204 void LinkedCellTest::SetIndexToNodeTest()
     204void linkedcelltest::SetIndexToNodeTest()
    205205{
    206206  // check all atoms
     
    227227/** UnitTest for LinkedCell::SetIndexToVector().
    228228 */
    229 void LinkedCellTest::SetIndexToVectorTest()
     229void linkedcelltest::SetIndexToVectorTest()
    230230{
    231231  Vector tester;
     
    263263/** UnitTest for LinkedCell::GetNeighbourBounds().
    264264 */
    265 void LinkedCellTest::GetNeighbourBoundsTest()
     265void linkedcelltest::GetNeighbourBoundsTest()
    266266{
    267267  Vector tester;
     
    280280/** UnitTest for LinkedCell::GetallNeighbours().
    281281 */
    282 void LinkedCellTest::GetallNeighboursTest()
     282void linkedcelltest::GetallNeighboursTest()
    283283{
    284284  Vector tester;
     
    341341/** UnitTest for LinkedCell::GetPointsInsideSphere().
    342342 */
    343 void LinkedCellTest::GetPointsInsideSphereTest()
     343void linkedcelltest::GetPointsInsideSphereTest()
    344344{
    345345  Vector tester;
  • src/LinkedCell/unittests/linkedcellUnitTest.hpp

    raa6c75 r91f592  
    2525/********************************************** Test classes **************************************/
    2626
    27 class LinkedCellTest : public CppUnit::TestFixture
     27class linkedcelltest : public CppUnit::TestFixture
    2828{
    29     CPPUNIT_TEST_SUITE( LinkedCellTest) ;
     29    CPPUNIT_TEST_SUITE( linkedcelltest) ;
    3030    CPPUNIT_TEST ( CheckBoundsTest );
    3131    CPPUNIT_TEST ( GetCurrentCellTest );
Note: See TracChangeset for help on using the changeset viewer.