Changeset 79290f for pcp/src/perturbed.h


Ignore:
Timestamp:
Jun 7, 2008, 1:13:29 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
02bc3c
Parents:
a97897
Message:

config.h is included in each and every file. After trying to compile on JUMP (with xlc).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pcp/src/perturbed.h

    ra97897 r79290f  
    1212
    1313*/
     14
     15#ifdef HAVE_CONFIG_H
     16#include <config.h>
     17#endif
    1418
    1519
     
    3640void OutputOrbitalPositions(struct Problem *P, const enum PsiTypeTag type);
    3741void fft_Psi(struct Problem *P, const fftw_complex *Psi, fftw_real *PsiR, const int index, const int symmetry);
    38 inline int cross(const int i, const int j);
    39 inline int crossed(int i, int j);
    4042void AllocCurrentDensity(struct Density *Dens0);
    4143void DisAllocCurrentDensity(struct Density *Dens0);
    4244void PlotVectorPlane(struct Problem *P, int B_Index, int n_orth);
    4345void ReadSrcPerturbedPsis(struct Problem *P, enum PsiTypeTag type);
    44 inline double ShiftGaugeOrigin(struct Problem *P, double r[NDIM], const int index);
    45 inline double sawtooth(struct Lattice *Lat, double L[NDIM], const int index);
    46 inline void MinImageConv(struct Lattice *Lat, const double R[NDIM], const double r[NDIM], double *result);
     46double ShiftGaugeOrigin(struct Problem *P, double r[NDIM], const int index);
     47#ifdef HAVE_INLINE
     48  inline double sawtooth(struct Lattice *Lat, double L[NDIM], const int index);
     49  inline void MinImageConv(struct Lattice *Lat, const double R[NDIM], const double r[NDIM], double *result);
     50  inline int cross(const int i, const int j);
     51  inline int crossed(int i, int j);
     52#else
     53  double sawtooth(struct Lattice *Lat, double L[NDIM], const int index);
     54  void MinImageConv(struct Lattice *Lat, const double R[NDIM], const double r[NDIM], double *result);
     55  int cross(const int i, const int j);
     56  int crossed(int i, int j);
     57#endif
    4758void test_fft_symmetry(struct Problem *P, const int l);
    4859void test_rxp(struct Problem *P);
Note: See TracChangeset for help on using the changeset viewer.