QMCPACK
FakeRandom.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) 2016 Jeongnim Kim and QMCPACK developers.
6
//
7
// File developed by: Mark Dewing, markdewing@gmail.com, University of Illinois at Urbana-Champaign
8
//
9
// File created by: Mark Dewing, markdewing@gmail.com, University of Illinois at Urbana-Champaign
10
//////////////////////////////////////////////////////////////////////////////////////
11
12
13
#include "
FakeRandom.h
"
14
15
namespace
qmcplusplus
16
{
17
template
<
class
T>
18
FakeRandom<T>::FakeRandom
() =
default
;
19
20
template
<
class
T>
21
void
FakeRandom<T>::set_value
(
double
val)
22
{
23
m_val = val;
24
}
25
26
template
<
class
T>
27
T
FakeRandom<T>::operator()
()
28
{
29
return
m_val;
30
}
31
32
template
class
FakeRandom<float>
;
33
template
class
FakeRandom<double>
;
34
35
}
// namespace qmcplusplus
qmcplusplus
helper functions for EinsplineSetBuilder
Definition:
Configuration.h:43
FakeRandom.h
qmcplusplus::FakeRandom::FakeRandom
FakeRandom()
qmcplusplus::FakeRandom::operator()
T operator()() override
Definition:
FakeRandom.cpp:27
qmcplusplus::FakeRandom::set_value
void set_value(double val)
Definition:
FakeRandom.cpp:21
qmcplusplus::FakeRandom
Definition:
FakeRandom.h:23
src
Utilities
FakeRandom.cpp
Generated on Fri Jun 28 2024 10:45:29 for QMCPACK by
1.8.14