[a0bcf1] | 1 | #ifndef gramsch_h
|
---|
| 2 | #define gramsch_h
|
---|
| 3 |
|
---|
| 4 | /** \file gramsch.h
|
---|
| 5 | * Header file for \ref gramsch.c
|
---|
| 6 | *
|
---|
| 7 | * Contains declarations of the functions implemented in \ref gramsch.c
|
---|
| 8 | *
|
---|
| 9 | Project: ParallelCarParrinello
|
---|
| 10 | Jan Hamaekers
|
---|
| 11 | 2000
|
---|
| 12 |
|
---|
| 13 | File: gramsch.h
|
---|
| 14 | $Id: gramsch.h,v 1.14.2.1 2007-04-21 12:49:50 foo Exp $
|
---|
| 15 | */
|
---|
| 16 |
|
---|
[79290f] | 17 | #ifdef HAVE_CONFIG_H
|
---|
| 18 | #include <config.h>
|
---|
| 19 | #endif
|
---|
| 20 |
|
---|
[a0bcf1] | 21 | MPI_Datatype MPI_OnePsiElement; //!< OnePsiElement defined for the MPI structure to exchange between processes
|
---|
| 22 |
|
---|
| 23 | void FreeMPI_OnePsiElement();
|
---|
| 24 | void FirstInitGramSchData(struct Problem *P, struct Psis *Psi);
|
---|
| 25 | void GramSch(struct Problem *P, struct LatticeLevel *Lev, struct Psis *Psi, enum PsiGramSchToDoType ToDo);
|
---|
[e00f47] | 26 | double GramSchNormalize(const struct Problem *P, struct LatticeLevel *Lev, fftw_complex *LPsiDat, double PsiSP);
|
---|
| 27 | double GramSchGetNorm2(const struct Problem *P, struct LatticeLevel *Lev, fftw_complex *LPsiDat);
|
---|
[a0bcf1] | 28 | void SetGramSchExtraPsi(const struct Problem *P, struct Psis *Psi, enum PsiGramSchStatusType PsiGramSchStatus);
|
---|
| 29 | void SetGramSchActualPsi(const struct Problem *P, struct Psis *Psi, enum PsiGramSchStatusType PsiGramSchStatus);
|
---|
| 30 | void UpdateGramSchAllPsiStatus(struct Problem *P, struct Psis *Psi);
|
---|
| 31 | void UpdateGramSchActualPsiNo(struct Problem *P, struct Psis *Psi);
|
---|
| 32 | void SetGramSchOldActualPsi(const struct Problem *P, struct Psis *Psi, enum PsiGramSchStatusType PsiGramSchStatus);
|
---|
| 33 | void UpdateGramSchOldActualPsiNo(struct Problem *P, struct Psis *Psi);
|
---|
| 34 | void ResetGramSch(const struct Problem *P, struct Psis *Psi);
|
---|
| 35 | void ResetGramSchTagType(const struct Problem *P, struct Psis *Psi, enum PsiTypeTag type, enum PsiGramSchStatusType ToDo);
|
---|
[79290f] | 36 | void TestGramSch(struct Problem *P, struct LatticeLevel *Lev, struct Psis *Psi, enum PsiTypeTag Type2test);
|
---|
[a0bcf1] | 37 | void TestForOrth(struct Problem *P, struct LatticeLevel *Lev, fftw_complex *psi);
|
---|
| 38 |
|
---|
| 39 | #endif
|
---|