Revision | f06a59aedb6b51d27cfc3bdf5847188de044f89a (tree) |
---|---|
Zeit | 2014-01-17 11:24:18 |
Autor | Katsuhiko Nishimra <ktns.87@gmai...> |
Commiter | Katsuhiko Nishimra |
Delete copy constructors of OptimizerState classes. #32881
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/branches/refactor_opt@1650 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -38,6 +38,7 @@ private: | ||
38 | 38 | private: |
39 | 39 | template<class vector> |
40 | 40 | vector Matrix2Vector(vector const* matrix){return matrix == NULL ? NULL : &matrix[0][0];} |
41 | + BFGSState(const BFGSState&); // delete default copy constructor | |
41 | 42 | public: |
42 | 43 | BFGSState(MolDS_base::Molecule& molecule, |
43 | 44 | boost::shared_ptr<MolDS_base::ElectronicStructure>& electronicStructure); |
@@ -28,6 +28,7 @@ private: | ||
28 | 28 | double** oldMatrixForce; |
29 | 29 | double** matrixSearchDirection; |
30 | 30 | size_t numAtoms; |
31 | + ConjugateGradientState(const ConjugateGradientState&); // delete default copy constructor | |
31 | 32 | public: |
32 | 33 | ConjugateGradientState(MolDS_base::Molecule& molecule, |
33 | 34 | boost::shared_ptr<MolDS_base::ElectronicStructure>& electronicStructure); |
@@ -37,6 +37,8 @@ protected: | ||
37 | 37 | double const* const* matrixForce; |
38 | 38 | std::string errorMessageFailedToDowncastState; |
39 | 39 | virtual void SetMessages(); |
40 | + private: | |
41 | + OptimizerState(const OptimizerState&); // delete default copy constructor | |
40 | 42 | public: |
41 | 43 | OptimizerState(MolDS_base::Molecule& molecule, |
42 | 44 | boost::shared_ptr<MolDS_base::ElectronicStructure>& electronicStructure); |