Home
last modified time | relevance | path

Searched refs:Civector (Results 1 – 9 of 9) sorted by relevance

/dports/science/bagel/bagel-1.2.2/src/ci/fci/
H A Dcivec.h39 class Civector {
83 Civector() { } in Civector() function
88 Civector(const Civector<DataType>& o);
90 Civector(std::shared_ptr<Civector<DataType>> o, std::shared_ptr<const Determinants> det);
158 Civector<DataType>& operator=(const Civector<DataType>& o) {
163Civector<DataType>& operator+=(const Civector<DataType>& o) { ax_plus_y( 1.0, o); return *this; }
164Civector<DataType>& operator-=(const Civector<DataType>& o) { ax_plus_y(-1.0, o); return *this; }
165 Civector<DataType>& operator/=(const Civector<DataType>& o) {
170 Civector<DataType> operator/(const Civector<DataType>& o) const {
171 Civector<DataType> out(*this);
[all …]
H A Dcivec.cc33 Civector<DataType>::Civector(shared_ptr<const Determinants> det) : det_(det), lena_(det->lena()), l… in Civector() function in Civector
49 Civector<DataType>::Civector(const Civector<DataType>& o) : det_(o.det_), lena_(o.lena_), lenb_(o.l… in Civector() function in Civector
58 Civector<DataType>::Civector(shared_ptr<Civector<DataType>> o, shared_ptr<const Determinants> det) … in Civector() function in Civector
66 shared_ptr<Civector<DataType>> Civector<DataType>::transpose(shared_ptr<const Determinants> det) co… in transpose()
68 auto ct = make_shared<Civector<DataType>>(det); in transpose()
78 shared_ptr<Civector<DataType>> Civector<DataType>::spin() const { in spin()
114 shared_ptr<Civector<DataType>> Civector<DataType>::spin_lower(shared_ptr<const Determinants> target… in spin_lower()
149 shared_ptr<Civector<DataType>> Civector<DataType>::spin_raise(shared_ptr<const Determinants> target… in spin_raise()
185 shared_ptr<Civector<DataType>> Civector<DataType>::apply(const int orbital, const bool action, cons… in apply()
191 shared_ptr<Civector<DataType>> out; in apply()
[all …]
H A Ddvec.h57 public: using Ci = Civector<DataType>;
69 std::vector<std::shared_ptr<Civector<DataType>>> dvec_;
86 dvec_.push_back(std::make_shared<Civector<DataType>>(det_, tmp)); in load()
93 Dvector(const Dvector_base<Civector<DataType>>& o);
94 Dvector(std::shared_ptr<const Civector<DataType>> e, const size_t ij);
100 std::shared_ptr<Civector<DataType>>& data(const size_t i) { return dvec_[i]; } in data()
101 std::shared_ptr<const Civector<DataType>> data(const size_t i) const { return dvec_[i]; } in data()
104 std::vector<std::shared_ptr<Civector<DataType>>>& dvec() { return dvec_; } in dvec()
105 const std::vector<std::shared_ptr<Civector<DataType>>>& dvec() const { return dvec_; } in dvec()
108 std::vector<std::shared_ptr<const Civector<DataType>>> dvec(const std::vector<int>& conv) const;
H A Ddvec.cc37 dvec_.push_back(make_shared<Civector<DataType>>(det_, tmp)); in Dvector()
45 dvec_.push_back(make_shared<Civector<DataType>>(det_, tmp)); in Dvector()
50 Dvector<DataType>::Dvector(const Dvector_base<Civector<DataType>>& o) in Dvector()
54 dvec_.push_back(make_shared<Civector<DataType>>(det_, tmp)); in Dvector()
62 Dvector<DataType>::Dvector(shared_ptr<const Civector<DataType>> e, const size_t ij) in Dvector()
66 auto c = make_shared<Civector<DataType>>(det_, tmp); in Dvector()
74 vector<shared_ptr<const Civector<DataType>>> Dvector<DataType>::dvec(const vector<int>& conv) const… in dvec()
75 vector<shared_ptr<const Civector<DataType>>> out; in dvec()
H A Ddistcivec.h65 DistCivector(std::shared_ptr<const Civector<DataType>> civ);
91 std::shared_ptr<Civector<DataType>> civec() const;
H A Dhztasks.h35 const std::shared_ptr<const Civector<DataType>> cc_;
42 …HZTaskAA(std::shared_ptr<const Civector<DataType>> cc, const std::bitset<nbit__> targetstring, Dat… in HZTaskAA()
H A Ddistcivec.cc43 DistCivector<DataType>::DistCivector(shared_ptr<const Civector<DataType>> civ) in DistCivector()
60 shared_ptr<Civector<DataType>> DistCivector<DataType>::civec() const { in civec()
61 auto out = make_shared<Civector<DataType>>(det_); in civec()
/dports/science/bagel/bagel-1.2.2/src/ci/zfci/
H A Dreldvec.cc125 …vector<shared_ptr<Civector<DataType>>> tmp1 { make_shared<Civector<DataType>>(*j.second->data(i)) … in split()
/dports/science/bagel/bagel-1.2.2/src/smith/
H A Dspinfreebase.cc528 vector<shared_ptr<Civector<double>>> civecs = dvec->dvec(); in rotate_ciwfn()
529 vector<shared_ptr<Civector<double>>> new_civecs = new_dvec->dvec(); in rotate_ciwfn()
556 vector<shared_ptr<Civector<complex<double>>>> civecs = dvecs.at(i.first)->dvec(); in rotate_ciwfn()
557 vector<shared_ptr<Civector<complex<double>>>> new_civecs = new_dvecs.at(i.first)->dvec(); in rotate_ciwfn()