NTPoly
Static Public Member Functions | List of all members
NTPoly::MinimizerSolvers Class Reference

A class for computing the density matrix based on minimization methods. More...

#include <MinimizerSolvers.h>

Inheritance diagram for NTPoly::MinimizerSolvers:
NTPoly::SolverBase

Static Public Member Functions

static void ConjugateGradient (const DistributedSparseMatrix &Hamiltonian, const DistributedSparseMatrix &InverseSquareRoot, int nel, DistributedSparseMatrix &Density, double &chemical_potential_out, const IterativeSolverParameters &solver_parameters)
 

Additional Inherited Members

- Static Protected Member Functions inherited from NTPoly::SolverBase
static const int * GetIH (const DistributedSparseMatrix &dsm)
 
static int * GetIH (DistributedSparseMatrix &dsm)
 
static const int * GetIH (const IterativeSolverParameters &csp)
 
static int * GetIH (IterativeSolverParameters &csp)
 
static const int * GetIH (const FixedSolverParameters &csp)
 
static int * GetIH (FixedSolverParameters &csp)
 

Detailed Description

A class for computing the density matrix based on minimization methods.

Member Function Documentation

◆ ConjugateGradient()

void NTPoly::MinimizerSolvers::ConjugateGradient ( const DistributedSparseMatrix Hamiltonian,
const DistributedSparseMatrix InverseSquareRoot,
int  nel,
DistributedSparseMatrix Density,
double &  chemical_potential_out,
const IterativeSolverParameters solver_parameters 
)
static

Compute the density matrix from a Hamiltonian using the CG method. Based on two papers. Based on two papers. The first by Scuseria [6] and then Challacombe [2]

Parameters
Hamiltonianthe matrix to compute the corresponding density from.
InverseSquareRootof the overlap matrix.
nelthe number of electrons.
Densitythe density matrix computed by this routine.
chemical_potential_outthe chemical potential calculated.
solver_parametersparameters for the solver

The documentation for this class was generated from the following files: