sisi4s
Loading...
Searching...
No Matches
ParticleHoleCoulombVertexReader.hpp
Go to the documentation of this file.
1#ifndef PARTICLE_HOLE_COULOMB_VERTEX_READER_DEFINED
2#define PARTICLE_HOLE_COULOMB_VERTEX_READER_DEFINED
3
5#include <DryTensor.hpp>
6#include <util/Tensor.hpp>
7#include <cstdint>
8#include <fstream>
9
10namespace sisi4s {
18public:
20 ParticleHoleCoulombVertexReader(std::vector<Argument> const &argumentList);
26 virtual void run();
32 virtual void dryRun();
33
34 class Header {
35 public:
36 char magic[8];
38 static char const *MAGIC;
39 };
40 class Chunk {
41 public:
42 char magic[8];
43 int64_t size;
44 static char const *REALS_MAGIC;
45 static char const *IMAGS_MAGIC;
46 static char const *REALSIA_MAGIC;
47 static char const *IMAGSIA_MAGIC;
48 static char const *EPSILONS_MAGIC;
49 };
50};
51} // namespace sisi4s
52
53#endif
#define ALGORITHM_REGISTRAR_DECLARATION(NAME)
Auxiliary macro declaring the algorithm registrar for the algorithm type of the given name....
Definition Algorithm.hpp:169
Definition Algorithm.hpp:26
Definition ParticleHoleCoulombVertexReader.hpp:40
static char const * REALS_MAGIC
Definition ParticleHoleCoulombVertexReader.hpp:44
static char const * REALSIA_MAGIC
Definition ParticleHoleCoulombVertexReader.hpp:46
char magic[8]
Definition ParticleHoleCoulombVertexReader.hpp:42
static char const * EPSILONS_MAGIC
Definition ParticleHoleCoulombVertexReader.hpp:48
static char const * IMAGSIA_MAGIC
Definition ParticleHoleCoulombVertexReader.hpp:47
int64_t size
Definition ParticleHoleCoulombVertexReader.hpp:43
static char const * IMAGS_MAGIC
Definition ParticleHoleCoulombVertexReader.hpp:45
Definition ParticleHoleCoulombVertexReader.hpp:34
int32_t reserved_
Definition ParticleHoleCoulombVertexReader.hpp:37
int32_t kPoints
Definition ParticleHoleCoulombVertexReader.hpp:37
int32_t NG
Definition ParticleHoleCoulombVertexReader.hpp:37
char magic[8]
Definition ParticleHoleCoulombVertexReader.hpp:36
int32_t NSpins
Definition ParticleHoleCoulombVertexReader.hpp:37
static char const * MAGIC
Definition ParticleHoleCoulombVertexReader.hpp:38
int32_t Nv
Definition ParticleHoleCoulombVertexReader.hpp:37
int32_t No
Definition ParticleHoleCoulombVertexReader.hpp:37
Reads the particle-hole Coulomb vertex and the occupied and virtual orbital energies from binary da...
Definition ParticleHoleCoulombVertexReader.hpp:17
virtual void dryRun()
Performs a dry run on reading the binary Coulomb vertex file from disk. Only the header information i...
Definition ParticleHoleCoulombVertexReader.cxx:196
virtual void run()
Reads the Full Coulomb Vertex from FTODDUMP file.
Definition ParticleHoleCoulombVertexReader.cxx:92
virtual ~ParticleHoleCoulombVertexReader()
Definition ParticleHoleCoulombVertexReader.cxx:25
Definition Algorithm.hpp:10