HPhi++
3.1.0
|
Functions to open file(s) in output/ directory. More...
#include "FileIO.hpp"
#include "wrapperMPI.hpp"
Go to the source code of this file.
Functions | |
int | childfopenMPI (const char *_cPathChild, const char *_cmode, FILE **_fp) |
Only the root process open file in output/ directory. More... | |
int | childfopenALL (const char *_cPathChild, const char *_cmode, FILE **_fp) |
All processes open file in output/ directory. More... | |
Functions to open file(s) in output/ directory.
Definition in file FileIO.cpp.
int childfopenALL | ( | const char * | _cPathChild, |
const char * | _cmode, | ||
FILE ** | _fp | ||
) |
All processes open file in output/ directory.
[in] | _cPathChild | File name |
[in] | _cmode | "w", "r", etc. |
[in,out] | _fp | File pointr |
Definition at line 50 of file FileIO.cpp.
Referenced by CalcByLOBPCG(), CalcByTEM(), CalcByTPQ(), CalcSpectrum(), CalcSpectrumByBiCG(), Initialize_wave(), and Output_restart().
int childfopenMPI | ( | const char * | _cPathChild, |
const char * | _cmode, | ||
FILE ** | _fp | ||
) |
Only the root process open file in output/ directory.
[in] | _cPathChild | File name |
[in] | _cmode | "w", "r", etc. |
[in,out] | _fp | File pointer |
Definition at line 27 of file FileIO.cpp.
References fopenMPI(), and stdoutMPI.
Referenced by CalcByLOBPCG(), CalcByTEM(), CalcByTPQ(), CalcSpectrumByBiCG(), check(), diagonalcalc(), expec_cisajs(), expec_cisajscktaltdc(), HPhiTrans(), inputHam(), lapack_diag(), LOBPCG_Main(), output(), output_list(), outputHam(), OutputSpectrum(), OutputTimer(), Read_sz(), SetOmega(), sz(), TimeKeeper(), TimeKeeperWithRandAndStep(), and TimeKeeperWithStep().