eOn client
Long-timescale dynamics: aKMC, NEB, parallel replica
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
MonteCarlo.h
Go to the documentation of this file.
1
/*
2
** This file is part of eOn.
3
**
4
** SPDX-License-Identifier: BSD-3-Clause
5
**
6
** Copyright (c) 2010--present, eOn Development Team
7
** All rights reserved.
8
**
9
** Repo:
10
** https://github.com/TheochemUI/eOn
11
*/
12
#pragma once
13
#include "
EonLogger.h
"
14
15
#include "
HelperFunctions.h
"
16
#include "
Matter.h
"
17
#include "
Parameters.h
"
18
19
namespace
eonc
{
20
21
// dimer method to find the lowest curvature mode
22
class
MonteCarlo
{
23
24
public
:
25
MonteCarlo
(std::shared_ptr<Matter>
const
matterIn,
const
Parameters
¶msIn)
26
:
matter
{matterIn},
27
params
{paramsIn} {}
28
~MonteCarlo
() =
default
;
29
30
void
run
(
int
numSteps,
double
temperature,
double
stepSize);
31
32
private
:
33
std::shared_ptr<Matter>
matter
;
34
const
Parameters
&
params
;
35
eonc::log::Scoped
log
;
36
};
37
38
}
// namespace eonc
39
40
using
eonc::MonteCarlo
;
EonLogger.h
HelperFunctions.h
Matter.h
Parameters.h
eonc::MonteCarlo
Definition
MonteCarlo.h:22
eonc::MonteCarlo::~MonteCarlo
~MonteCarlo()=default
eonc::MonteCarlo::MonteCarlo
MonteCarlo(std::shared_ptr< Matter > const matterIn, const Parameters ¶msIn)
Definition
MonteCarlo.h:25
eonc::MonteCarlo::matter
std::shared_ptr< Matter > matter
Definition
MonteCarlo.h:33
eonc::MonteCarlo::log
eonc::log::Scoped log
Definition
MonteCarlo.h:35
eonc::MonteCarlo::run
void run(int numSteps, double temperature, double stepSize)
Definition
MonteCarlo.cpp:19
eonc::MonteCarlo::params
const Parameters & params
Definition
MonteCarlo.h:34
eonc::Parameters
Definition
Parameters.h:28
eonc
RAII resource manager for the ARTn C library with global synchronization.
Definition
ARTnSaddleSearch.cpp:19
eonc::log::Scoped
RAII helper for class-scoped logging.
Definition
EonLogger.h:171
include
eon
MonteCarlo.h
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf