Ignore:
Timestamp:
Oct 9, 2009, 10:54:52 AM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
3efb4a
Parents:
70b7aa
Message:

forward declarations used to untangle interdependet classes.

  • basically, everywhere in header files we removed '#include' lines were only pointer to the respective classes were used and the include line was moved to the implementation file.
  • as a sidenote, lots of funny errors happened because headers were included via a nesting over three other includes. Now, all should be declared directly as needed, as only very little include lines remain in header files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/boundary.cpp

    r70b7aa r17b3a5c  
    1 /** \file boundary.hpp
     1/** \file boundary.cpp
    22 *
    33 * Implementations and super-function for envelopes
    44 */
    55
    6 
     6#include "atom.hpp"
     7#include "bond.hpp"
    78#include "boundary.hpp"
     9#include "config.hpp"
     10#include "element.hpp"
     11#include "helpers.hpp"
     12#include "linkedcell.hpp"
    813#include "memoryallocator.hpp"
     14#include "molecule.hpp"
     15#include "tesselation.hpp"
     16#include "tesselationhelpers.hpp"
    917
    1018#include<gsl/gsl_poly.h>
     
    2129 * \return NDIM array of the diameters
    2230 */
    23 double *
    24 GetDiametersOfCluster(ofstream *out, Boundaries *BoundaryPtr, molecule *mol,
    25     bool IsAngstroem)
     31double *GetDiametersOfCluster(ofstream *out, Boundaries *BoundaryPtr, molecule *mol, bool IsAngstroem)
    2632{
    2733  // get points on boundary of NULL was given as parameter
     
    822828  int N[NDIM];
    823829  int n[NDIM];
    824   double *M =  filler->ReturnFullMatrixforSymmetric(filler->cell_size);
     830  double *M =  ReturnFullMatrixforSymmetric(filler->cell_size);
    825831  double Rotations[NDIM*NDIM];
    826832  Vector AtomTranslations;
Note: See TracChangeset for help on using the changeset viewer.