MADNESS 0.10.1
distpm.h
Go to the documentation of this file.
1#ifndef MADNESS_DISTPM_H
2#define MADNESS_DISTPM_H
3
8
9
10namespace madness {
11
13 const std::vector<Function<double, 3>>& mo,
14 const std::vector<Function<double, 3>>& ao,
15 const std::vector<int>& set,
16 const std::vector<int>& at_to_bf,
17 const std::vector<int>& at_nbf,
18 const double thresh = 1e-9,
19 const double thetamax = 0.5,
20 const bool randomize = true,
21 const bool doprint = false);
22
23/// Distributed optimization for the "new" localization method.
24
25/// The "new" objective is Pipek-Mezey in an orthonormal basis, so it is optimized with
26/// the same systolic Jacobi sweeps as distributed_localize_PM. C is the replicated
27/// (nmo x nao) coefficient matrix already transformed to the orthonormal
28/// atomic-eigenfunction basis; at_to_bf/at_nbf hold the per-atom 1s / 2s2p / rest
29/// blocks built by Localizer::prepare_new_basis.
31 const Tensor<double>& C,
32 const std::vector<int>& set,
33 const std::vector<int>& at_to_bf,
34 const std::vector<int>& at_nbf,
35 const double thresh = 1e-9,
36 const double thetamax = 0.5);
37}
38
39#endif // MADNESS_DISTPM_H
Definition test_ar.cc:170
Manages data associated with a row/column/block distributed array.
Definition distributed_matrix.h:388
A multiresolution adaptive numerical function.
Definition mra.h:144
A tensor is a multidimensional array.
Definition tensor.h:318
A parallel world class.
Definition world.h:134
Namespace for all elements and tools of MADNESS.
Definition DFConvergence.h:9
DistributedMatrix< double > distributed_localize_PM(World &world, const vecfuncT &mo, const vecfuncT &ao, const std::vector< int > &set, const std::vector< int > &at_to_bf, const std::vector< int > &at_nbf, const double thresh, const double thetamax, const bool randomize, const bool doprint)
Definition distpm.cc:307
@ ao
read the AO projections (restartaodata) and iterate
DistributedMatrix< double > distributed_localize_new(World &world, const Tensor< double > &C, const std::vector< int > &set, const std::vector< int > &at_to_bf, const std::vector< int > &at_nbf, const double thresh, const double thetamax)
Distributed optimization for the "new" localization method.
Definition distpm.cc:394
@ mo
moldft orbitals psi
static std::vector< int > at_to_bf
Definition preal.cc:19
static std::vector< int > at_nbf
Definition preal.cc:19
static const double thresh
Definition rk.cc:45
void e()
Definition test_sig.cc:75