virtual std::string getName ()
ParticleHoleCoulombVertexReader (std::vector< Argument > const &argumentList)
virtual ~ParticleHoleCoulombVertexReader ()
virtual void run ()
Reads the Full Coulomb Vertex from FTODDUMP file.
virtual void dryRun ()
Performs a dry run on reading the binary Coulomb vertex file from disk. Only the header information is read containing size information.
Algorithm (std::vector< Argument > const &argumentList)
virtual ~Algorithm ()
virtual std::string getName ()=0
virtual void run ()=0
virtual void dryRun ()
The dryRun estimates resource consumption, especially memory and processor time.
bool isArgumentGiven (std::string const &argumentName)
std::string getTextArgument (std::string const &argumentName)
std::string getTextArgument (std::string const &argumentName, std::string const &defaultValue)
bool getBooleanArgument (std::string const &name)
bool getBooleanArgument (std::string const &name, bool const &defaultValue)
int64_t getIntegerArgument (std::string const &argumentName)
int64_t getIntegerArgument (std::string const &argumentName, int64_t const defaultValue)
real getRealArgument (std::string const &argumentName)
real getRealArgument (std::string const &argumentName, real const defaultValue)
template<typename F = real, typename T = Tensor<F>>
T * getTensorArgument (std::string const &argumentName)
template<typename F = real, typename C = std::vector<F>>
C * getContainerArgument (std::string const &argumentName)
template<typename F = real, typename C = std::vector<F>>
void allocateContainerArgument (std::string const &argumentName, C *container)
std::vector< std::string > getGivenArgumentNames () const
void checkArgumentsOrDie (const std::vector< std::string > args) const
template<typename F = real, typename T = Tensor<F>>
void allocatedTensorArgument (std::string const &argumentName, T *tensor)
Specifies the location of an output tensor data.
void setRealArgument (std::string const &argumentName, real const value)
void setIntegerArgument (std::string const &argumentName, int const value)
real getRealArgumentFromInteger (IntegerData *data)
real getRealArgumentFromTensor (TensorData < real > *data)
template<typename F = real, typename T = Tensor<F>>
T * getTensorArgumentFromReal (RealData *realData)
Converts the given real data into a scalar tensor.
Data * getArgumentData (std::string const &argumentName)
Reads the particle-hole Coulomb vertex and the occupied and virtual orbital energies from binary data file, and stores them in the CTF Tensors GammaGai, epsi, epsa.