ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
read_pp.h File Reference

Pseudopot_upf class for reading pseudopotential files. More...

#include <string>
#include "atom_pseudo.h"
#include "source_base/matrix.h"
#include "source_base/realarray.h"
Include dependency graph for read_pp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Pseudopot_upf
 Pseudopot_upf class for reading pseudopotential files. More...

Namespaces

namespace  pseudopot
 Helpers that the pseudopotential reader uses but that hold no state.

Functions

int pseudopot::set_pseudo_type (const std::string &fn, std::string &type)
 Set pseudopotential type based on the file's header line.
std::string & pseudopot::trim (std::string &in_str)
 Remove every tab and space from a string, in place.
void pseudopot::setqfnew (const int &nqf, const int &mesh, const int &l, const int &n, const double *qfcoef, const double *r, double *rho)
 Compute the Q function from its polynomial expansion (r < rinner).
void pseudopot::complete_default_h (Atom_pseudo &pp)
 Fill in the header-level defaults of an Atom_pseudo.

Detailed Description

Pseudopot_upf class for reading pseudopotential files.