QMCPACK
DynamicCoordinatesBuilder.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: Ye Luo, yeluo@anl.gov, Argonne National Laboratory
8 //
9 // File created by: Ye Luo, yeluo@anl.gov, Argonne National Laboratory
10 //////////////////////////////////////////////////////////////////////////////////////
11 
12 
16 
17 namespace qmcplusplus
18 {
19 /** create DynamicCoordinates based on kind
20  */
21 std::unique_ptr<DynamicCoordinates> createDynamicCoordinates(const DynamicCoordinateKind kind)
22 {
24  return std::make_unique<RealSpacePositions>();
26  return std::make_unique<RealSpacePositionsOMPTarget>();
27  // dummy return
28  return std::unique_ptr<RealSpacePositions>();
29 }
30 } // namespace qmcplusplus
DynamicCoordinateKind
enumerator for DynamicCoordinates kinds
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
std::unique_ptr< DynamicCoordinates > createDynamicCoordinates(const DynamicCoordinateKind kind)
create DynamicCoordinates based on kind