QMCPACK
FakeOperatorEstimator.cpp
Go to the documentation of this file.
1 //////////////////////////////////////////////////////////////////////////////////////
2 // This file is distributed under the University of Illinois/NCSA Open Source License.
3 // See LICENSE file in top directory for details.
4 //
5 // Copyright (c) 2020 QMCPACK developers.
6 //
7 // File developed by: Peter Doak, doakpw@ornl.gov, Oak Ridge National Laboratory
8 //
9 // File created by: Peter Doak, doakpw@ornl.gov, Oak Ridge National Laboratory
10 //////////////////////////////////////////////////////////////////////////////////////
11 
12 #include "FakeOperatorEstimator.h"
14 
15 namespace qmcplusplus
16 {
17 
19 {
20  data_locality_ = data_locality;
21  data_.resize(num_ranks * 10);
22 }
23 
25 {
26  data_.resize(foe.data_.size());
27 }
28 
29 } // namespace qmcplusplus
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
DataLocality data_locality_
locality for accumulation of estimator data.
FakeOperatorEstimator(int num_ranks, DataLocality data_locality)
An abstract class for gridded estimators.
DataLocality
data locality with respect to walker buffer
Definition: DataLocality.h:19