QMCPACK
NonLocalData.h
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) 2021 QMCPACK developers.
6 //
7 // File developed by: Ye Luo, yeluo@anl.gov, Argonne National Laboratory
8 //
9 // File created by: Ye Luo, yeluo@anl.gov, Argonne National Laboratory
10 //////////////////////////////////////////////////////////////////////////////////////
11 
12 
13 #ifndef QMCPLUSPLUS_NONLOCALDATA_H
14 #define QMCPLUSPLUS_NONLOCALDATA_H
15 
16 #include "Configuration.h"
17 
18 namespace qmcplusplus
19 {
20 struct NonLocalData : public QMCTraits
21 {
25  inline NonLocalData() : PID(-1), Weight(1.0) {}
26  inline NonLocalData(IndexType id, RealType w, const PosType& d) : PID(id), Weight(w), Delta(d) {}
27 };
28 } // namespace qmcplusplus
29 #endif
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
QTBase::RealType RealType
Definition: Configuration.h:58
OHMMS_INDEXTYPE IndexType
define other types
Definition: Configuration.h:65
traits for QMC variables
Definition: Configuration.h:49
NonLocalData(IndexType id, RealType w, const PosType &d)
Definition: NonLocalData.h:26