diff --git a/src/QMCWaveFunctions/Fermion/MultiSlaterDeterminantFast.h b/src/QMCWaveFunctions/Fermion/MultiSlaterDeterminantFast.h index 80a4e2b39..a48b4cffa 100644 --- a/src/QMCWaveFunctions/Fermion/MultiSlaterDeterminantFast.h +++ b/src/QMCWaveFunctions/Fermion/MultiSlaterDeterminantFast.h @@ -162,15 +162,14 @@ public: // assume Dets[0]: up, Dets[1]:down std::vector Dets; - std::vector DetID; - + /** Start: Keep these as pointers and make shallow copy*/ + aligned_vector DetID; std::map SPOSetID; - // map determinant in linear combination to unique det list - std::vector C2node_up; - std::vector C2node_dn; - - std::vector C; + aligned_vector C2node_up; + aligned_vector C2node_dn; + aligned_vector C; + /** End: Keep these as pointers and make shallow copy*/ ValueType curRatio; ValueType psiCurrent; @@ -187,11 +186,14 @@ public: // CSFs // coefficients of csfs, these are only used during optm - std::vector CSFcoeff; + + /** Start: Keep these as pointers and make shallow copy*/ + aligned_vector CSFcoeff; // number of dets per csf - std::vector DetsPerCSF; + aligned_vector DetsPerCSF; // coefficient of csf expansion (smaller dimension) - std::vector CSFexpansion; + aligned_vector CSFexpansion; + /** End: Keep these as pointers and make shallow copy*/ // transformation BackflowTransformation *BFTrans;