| 1 | #ifndef density_h
 | 
|---|
| 2 | #define density_h
 | 
|---|
| 3 | /** \file density.h
 | 
|---|
| 4 |  * Header file for \ref density.c
 | 
|---|
| 5 |  * 
 | 
|---|
| 6 |  * Contains declarations of the functions implemented in \ref density.c
 | 
|---|
| 7 |  * 
 | 
|---|
| 8 |   Project: ParallelCarParrinello
 | 
|---|
| 9 |   Jan Hamaekers
 | 
|---|
| 10 |   2000
 | 
|---|
| 11 | 
 | 
|---|
| 12 |   File: density.h
 | 
|---|
| 13 |   $Id: density.h,v 1.14 2006/10/16 11:09:05 foo Exp $
 | 
|---|
| 14 | */
 | 
|---|
| 15 | 
 | 
|---|
| 16 | void InitDensity(struct Problem *const P);
 | 
|---|
| 17 | void InitDensityCalculation(struct Problem *P);
 | 
|---|
| 18 | void UpdateDensityCalculation(struct Problem *P);
 | 
|---|
| 19 | void ChangePsiAndDensToLevUp(struct Problem *P);
 | 
|---|
| 20 | void ControlNativeDensity(struct Problem *P);
 | 
|---|
| 21 | double CalculateNativeIntDens(const struct Problem *P, const struct LatticeLevel *Lev, fftw_real *densR, const double factor);
 | 
|---|
| 22 | void CalculateOneDensityR(const struct Lattice *Lat, const struct LatticeLevel *Lev, const struct Density *Dens, const fftw_complex *source, fftw_real *destR, const double Factor, int StorePsi);
 | 
|---|
| 23 | void CalculateOneDensityImR(const struct Lattice *Lat, const struct LatticeLevel *Lev, const struct Density *Dens, fftw_complex *source, fftw_real *destR, const double Factor, int StorePsi); 
 | 
|---|
| 24 | void CalculateOneDensityC(const struct Lattice *Lat, const struct LatticeLevel *Lev, const struct Density *Dens, const fftw_real *srcR, fftw_complex *destC, const double Factor);
 | 
|---|
| 25 | void LockDensityArray(struct Density *Dens, enum UseType DensityType, enum complex re_im);
 | 
|---|
| 26 | void UnLockDensityArray(struct Density *Dens, enum UseType DensityType, enum complex re_im);
 | 
|---|
| 27 | 
 | 
|---|
| 28 | 
 | 
|---|
| 29 | void DensityRTransformPos(const struct LatticeLevel *Lev, fftw_real *source, fftw_real *dest);
 | 
|---|
| 30 | #endif
 | 
|---|