44 const char *cFileName,
45 const char *cTimeKeeper_Message,
46 const char *cWriteType
56 area = localtime(&tx);
60 fprintf(fp, cTimeKeeper_Message, asctime(area));
80 const char *cFileName,
81 const char *cTimeKeeper_Message,
82 const char *cWriteType,
93 area = localtime(&tx);
97 fprintf(fp, cTimeKeeper_Message, istep, asctime(area));
119 const char *cFileName,
120 const char *cTimeKeeper_Message,
121 const char *cWriteType,
132 area = localtime(&tx);
136 fprintf(fp, cTimeKeeper_Message, irand, istep, asctime(area));
struct DefineList Def
Definision of system (Hamiltonian) etc.
int childfopenMPI(const char *_cPathChild, const char *_cmode, FILE **_fp)
Only the root process open file in output/ directory.
char * CDataFileHead
Read from Calcmod in readdef.h. Header of output file such as Green's function.
int TimeKeeperWithStep(struct BindStruct *X, const char *cFileName, const char *cTimeKeeper_Message, const char *cWriteType, const int istep)
Functions for writing a time log.
int TimeKeeperWithRandAndStep(struct BindStruct *X, const char *cFileName, const char *cTimeKeeper_Message, const char *cWriteType, const int irand, const int istep)
Functions for writing a time log.
int TimeKeeper(struct BindStruct *X, const char *cFileName, const char *cTimeKeeper_Message, const char *cWriteType)
Functions for writing a time log.