Ignore:
Timestamp:
Apr 27, 2010, 2:25:42 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
90c4460
Parents:
1561e2 (diff), 2bc713 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'Analysis_PairCorrelation' into StructureRefactoring

Conflicts:

molecuilder/src/Makefile.am
molecuilder/src/World.cpp
molecuilder/src/World.hpp
molecuilder/src/boundary.cpp
molecuilder/src/builder.cpp
molecuilder/src/log.cpp
molecuilder/src/moleculelist.cpp
molecuilder/src/periodentafel.cpp
molecuilder/src/tesselation.cpp
molecuilder/src/unittests/AnalysisCorrelationToSurfaceUnitTest.cpp
molecuilder/src/unittests/Makefile.am
molecuilder/src/unittests/bondgraphunittest.cpp
molecuilder/src/unittests/gslvectorunittest.cpp
molecuilder/src/unittests/logunittest.cpp
molecuilder/src/unittests/tesselation_boundarytriangleunittest.hpp
molecuilder/src/vector.cpp
molecuilder/tests/Tesselations/defs.in

Conflicts have been many and too numerous to listen here, just the few general cases

  • new molecule() replaced by World::getInstance().createMolecule()
  • new atom() replaced by World::getInstance().createAtom() where appropriate.
  • Some DoLog()s added interfered with changes to the message produced by Log() << Verbose(.) << ...
  • DoLog() has been erroneously added to TestRunner.cpp as well, there cout is appropriate
  • ...

Additionally, there was a bug in atom::clone(), sort was set to atom::nr of the atom to clone not of the clone itself. This caused a failure of the fragmentation.

This merge has been fully checked from a clean build directory with subsequent configure,make all install and make check.
It configures, compiles and runs all test cases and the test suite without errors.

Signed-off-by: Frederik Heber <heber@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/World.hpp

    r1561e2 r075729  
    99#define WORLD_HPP_
    1010
     11/*********************************************** includes ***********************************/
     12
    1113#include <string>
    1214#include <map>
     
    2224#include "Patterns/Singleton.hpp"
    2325
     26// include config.h
     27#ifdef HAVE_CONFIG_H
     28#include <config.h>
     29#endif
    2430
    2531// forward declarations
     
    3642class AtomsCalculation;
    3743
    38 
     44/****************************************** forward declarations *****************************/
     45
     46/********************************************** Class World *******************************/
    3947
    4048class World : public Singleton<World>, public Observable
     
    107115  int numMolecules();
    108116
     117  /**
     118   * get the domain size as a symmetric matrix (6 components)
     119   */
     120  double * getDomain();
     121
     122  /**
     123   * set the domain size as a symmetric matrix (6 components)
     124   */
     125  void setDomain(double * matrix);
     126
     127  /**
     128   * get the default name
     129   */
     130  char * getDefaultName();
     131
     132  /**
     133   * set the default name
     134   */
     135  void setDefaultName(char * name);
     136
    109137  /***** Methods to work with the World *****/
    110138
     
    206234
    207235  periodentafel *periode;
     236  static double *cell_size;
     237  static char *defaultName;
    208238public:
    209239  AtomSet atoms;
Note: See TracChangeset for help on using the changeset viewer.