HΦ
3.2.0
|
Functions to open file(s) in output/ directory. More...
#include "FileIO.h"
#include "wrapperMPI.h"
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.c.
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.c.
References cErrFIOpen, cParentOutputFolder, and D_FileNameMax.
Referenced by CalcByLanczos(), CalcByLOBPCG(), CalcByTEM(), CalcByTPQ(), CalcSpectrum(), CalcSpectrumByBiCG(), CalcSpectrumByTPQ(), Initialize_wave(), Output_restart(), OutputLanczosVector(), ReadInitialVector(), and ReadTMComponents_BiCG().
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.c.
References cErrFIOpen, cParentOutputFolder, D_FileNameMax, fopenMPI(), and stdoutMPI.
Referenced by CalcByLanczos(), CalcByLOBPCG(), CalcByTEM(), CalcByTPQ(), CalcSpectrumByBiCG(), CG_EigenVector(), check(), diagonalcalc(), expec_cisajs(), expec_cisajscktaltdc(), HPhiTrans(), inputHam(), Lanczos_EigenValue(), lapack_diag(), LOBPCG_Main(), output(), output_list(), outputHam(), OutputTimer(), OutputTMComponents(), OutputTMComponents_BiCG(), Read_sz(), ReadTMComponents(), SetOmega(), sz(), TimeKeeper(), TimeKeeperWithRandAndStep(), and TimeKeeperWithStep().