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
19namespace eonc {
20
21// dimer method to find the lowest curvature mode
23
24public:
25 MonteCarlo(std::shared_ptr<Matter> const matterIn, const Parameters &paramsIn)
26 : matter{matterIn},
27 params{paramsIn} {}
28 ~MonteCarlo() = default;
29
30 void run(int numSteps, double temperature, double stepSize);
31
32private:
33 std::shared_ptr<Matter> matter;
36};
37
38} // namespace eonc
39
~MonteCarlo()=default
MonteCarlo(std::shared_ptr< Matter > const matterIn, const Parameters &paramsIn)
Definition MonteCarlo.h:25
std::shared_ptr< Matter > matter
Definition MonteCarlo.h:33
eonc::log::Scoped log
Definition MonteCarlo.h:35
void run(int numSteps, double temperature, double stepSize)
const Parameters & params
Definition MonteCarlo.h:34
RAII resource manager for the ARTn C library with global synchronization.
RAII helper for class-scoped logging.
Definition EonLogger.h:171