#include <BoundaryPoint.h>
Definition at line 34 of file BoundaryPoint.h.
BoundaryPoint::BoundaryPoint |
( |
const TPM & |
hamin | ) |
|
virtual doci2DM::BoundaryPoint::~BoundaryPoint |
( |
| ) |
|
|
virtualdefault |
Build the new reduced hamiltonian based on the integrals in ham
- Parameters
-
hamin | the integrals to use |
Implements doci2DM::Method.
Definition at line 213 of file BoundaryPoint.cpp.
void BoundaryPoint::BuildHam |
( |
const TPM & |
hamin | ) |
|
|
virtual |
std::vector< double > BoundaryPoint::energyperirrep |
( |
const CheMPS2::Hamiltonian & |
hamin, |
|
|
bool |
print = false |
|
) |
| |
The energy split up by irrep according to operators
- Returns
- list of energies per irrep (order according to convention in irrep.h)
Definition at line 541 of file BoundaryPoint.cpp.
double BoundaryPoint::evalEnergy |
( |
| ) |
const |
|
virtual |
bool BoundaryPoint::FullyConverged |
( |
| ) |
const |
|
virtual |
Check if last calculation was fully convergenced
- Returns
- true if all convergence critera are met, false otherwise
Implements doci2DM::Method.
Definition at line 532 of file BoundaryPoint.cpp.
double BoundaryPoint::get_convergence |
( |
| ) |
const |
double BoundaryPoint::get_D_conv |
( |
| ) |
const |
double BoundaryPoint::get_P_conv |
( |
| ) |
const |
double BoundaryPoint::get_tol_PD |
( |
| ) |
const |
double doci2DM::Method::getEnergy |
( |
| ) |
const |
|
inlineinherited |
double BoundaryPoint::getFullEnergy |
( |
| ) |
const |
- Returns
- the full energy (with the nuclear replusion part)
Definition at line 413 of file BoundaryPoint.cpp.
void BoundaryPoint::Reset_avg_iters |
( |
| ) |
|
Reset the avg_iters to high number, so the calculation does not really have a limit
Definition at line 508 of file BoundaryPoint.cpp.
void BoundaryPoint::ReturnHighWhenBailingOut |
( |
bool |
set | ) |
|
Should be stop the main loop when the number of iterations is too high? Set to true to do this. Default to false
- Parameters
-
set | when true, stop main loop when too many iterations |
Definition at line 499 of file BoundaryPoint.cpp.
unsigned int BoundaryPoint::Run |
( |
| ) |
|
|
virtual |
void BoundaryPoint::set_max_iter |
( |
unsigned int |
iters | ) |
|
void BoundaryPoint::set_mazzy |
( |
double |
maz | ) |
|
virtual void doci2DM::Method::set_outfile |
( |
std::string |
filename | ) |
|
|
inlinevirtualinherited |
virtual void doci2DM::Method::set_output |
( |
bool |
out | ) |
|
|
inlinevirtualinherited |
void BoundaryPoint::set_sigma |
( |
double |
sig | ) |
|
void BoundaryPoint::set_tol_en |
( |
double |
tol | ) |
|
void BoundaryPoint::set_tol_PD |
( |
double |
tol | ) |
|
void BoundaryPoint::set_use_prev_result |
( |
bool |
new_val | ) |
|
Should we use the previous point as a starting point for a new calculation?
- Parameters
-
new_val | when true, use previous point as starting point |
Definition at line 469 of file BoundaryPoint.cpp.
unsigned int doci2DM::BoundaryPoint::avg_iters |
|
private |
double doci2DM::BoundaryPoint::convergence |
|
private |
double doci2DM::BoundaryPoint::D_conv |
|
private |
bool doci2DM::Method::do_output |
|
protectedinherited |
double doci2DM::Method::energy |
|
protectedinherited |
std::unique_ptr<TPM> doci2DM::BoundaryPoint::ham |
|
private |
unsigned int doci2DM::BoundaryPoint::iters |
|
private |
std::unique_ptr<Lineq> doci2DM::BoundaryPoint::lineq |
|
private |
unsigned int doci2DM::BoundaryPoint::max_iter |
|
private |
double doci2DM::BoundaryPoint::mazzy |
|
private |
double doci2DM::BoundaryPoint::nuclrep |
|
private |
std::string doci2DM::Method::outfile |
|
protectedinherited |
double doci2DM::BoundaryPoint::P_conv |
|
private |
bool doci2DM::BoundaryPoint::returnhigh |
|
private |
when true, return very high value for the energy if the calculation takes too many iterations
Definition at line 132 of file BoundaryPoint.h.
unsigned int doci2DM::BoundaryPoint::runs |
|
private |
double doci2DM::BoundaryPoint::sigma |
|
private |
double doci2DM::BoundaryPoint::tol_en |
|
private |
double doci2DM::BoundaryPoint::tol_PD |
|
private |
bool doci2DM::BoundaryPoint::useprevresult |
|
private |
std::unique_ptr<SUP> doci2DM::BoundaryPoint::X |
|
private |
std::unique_ptr<SUP> doci2DM::BoundaryPoint::Z |
|
private |
The documentation for this class was generated from the following files: