CCEX-1.0.0
Loading...
Searching...
No Matches
output.h
1
#ifndef __CCEX_OUTPUT_H_
2
#define __CCEX_OUTPUT_H_
3
4
#include "general.h"
5
#include "bath.h"
6
#include "utilities.h"
7
8
typedef
struct
{
9
10
// Intermediate Save
11
// char* InterSaveClusterFile; /**< File name to save clusters' information */
12
// char* InterSaveCoherenceFile; /**< File name to save coherence functions of clusters */
13
char
savemode
[20];
14
// all : coherence function for each cluster and each state : output = output_{cluster}_{state}_wD/nD
15
// normal : coherence function for each state (default) : output = output_{state}_wD/nD
16
// avg : averaged coherence function for all states : ouput = output_avg_wD/nD
17
// info : normal save mode + deep learning information (Azx, Azz, bathfile) : output = output_{state}_wD/nD
18
20
// Final Save (Main result)
21
// outfile1. actual result
22
// outfile2. the result to compare them to remove the diverged points
23
// char* OutputFileHead; /**< File name to save final result */
24
// char* OutputFileTail; /**< File name to save final result */
25
// char* OutputFileHeadDisjoint; /**< File name to save final result */
26
// char* OutputFileTailDisjoint; /**< File name to save final result */
27
char
* outfile;
// output file name with mode (auto generated)
28
}
Output
;
29
30
Output
* Output_init();
31
void
Output_save(
Output
* op, MatrixXcd* result_wD, MatrixXcd* result_nD,
int
nstep,
float
deltat,
int
istate);
32
void
Output_save_all(
Output
* op, MatrixXcd* result,
int
nstep,
float
deltat,
int
* cluster,
int
nspin,
int
istate);
33
void
Output_save_info(
Output
* op, MatrixXcd* result_wD, MatrixXcd* result_nD,
int
nstep,
float
deltat,
int
istate,
double
Azx,
double
Azz,
char
* bathfile);
34
35
void
Output_setSavemode(
Output
* op,
char
* savemode);
36
char
* Output_getSavemode(
Output
* op);
37
38
void
Output_allocOutfile(
Output
* op);
39
void
Output_freeOutfile(
Output
* op);
40
void
Output_setOutfile(
Output
* op,
char
* outfile);
41
char
* Output_getOutfile(
Output
* op);
42
43
void
Output_report(
Output
* op);
44
45
void
Output_freeAll(
Output
* op);
46
47
48
49
#endif
// __CCEX_OUTPUT_H_
Output
Definition
output.h:8
Output::savemode
char savemode[20]
Definition
output.h:13
include
output.h
Generated by
1.13.2