ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
orthonormal.h File Reference
#include "source_hsolver/module_linalg/linear_algebra.h"
#include <limits>
#include <string>
#include <type_traits>
Include dependency graph for orthonormal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hsolver::OrthResult
 Collective outcome; failed states must not be used to construct a density. More...
class  hsolver::Orthonormal< T, Device >
 Pool-local orthonormalization with FP64 products and native-precision updates. More...

Namespaces

namespace  hsolver

Enumerations

enum class  hsolver::OrthMethod { hsolver::none , hsolver::cholesky , hsolver::lowdin , hsolver::newton_schulz }
enum class  hsolver::OrthStatus {
  hsolver::accepted , hsolver::unchanged , hsolver::inspected , hsolver::disabled ,
  hsolver::failed
}
enum class  hsolver::OrthFailure {
  hsolver::none , hsolver::nonfinite_gram , hsolver::nonfinite_norm , hsolver::nonpositive_norm ,
  hsolver::factorization_failed , hsolver::invalid_candidate , hsolver::no_improvement , hsolver::tolerance_not_met
}

Functions

OrthMethod hsolver::parse_orth_method (const std::string &name)
const char * hsolver::orth_method_name (OrthMethod method)
const char * hsolver::orth_failure_name (OrthFailure failure)
template<typename T>
constexpr double hsolver::orth_tolerance ()
 Acceptance tolerance for the native wavefunction precision.
double hsolver::orth_error (const std::vector< std::complex< double > > &gram, int bands)
 Maximum elementwise distance from the identity, including nonfinite detection.
bool hsolver::orth_transform (const std::vector< std::complex< double > > &gram, int bands, OrthMethod method, std::vector< std::complex< double > > *transform)
 Construct one correction; the caller validates candidates and chooses fallbacks.