eOn 3.2.0
Long-timescale dynamics: aKMC, NEB, parallel replica
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
MonteCarloJob.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 "
Job.h
"
16
#include "
Parameters.h
"
17
18
namespace
eonc
{
19
20
class
MonteCarloJob
:
public
Job
{
21
public
:
22
MonteCarloJob
(std::unique_ptr<Parameters> parameters,
Runtime
&rt)
23
:
Job
(std::move(parameters), rt) {}
24
~MonteCarloJob
(
void
) =
default
;
25
std::vector<std::string>
run
(
void
)
override
;
26
27
private
:
28
eonc::log::Scoped
log
;
29
};
30
31
}
// namespace eonc
EonLogger.h
Job.h
The job class is used to serve as an abstract class for all jobs, as well as to call a job at runtime...
Parameters.h
eonc::Job::Job
Job(std::unique_ptr< Parameters > parameters, Runtime &rt)
Borrow: caller keeps Runtime alive (CLI stack / Python Session).
Definition
Job.h:76
eonc::MonteCarloJob::log
eonc::log::Scoped log
Definition
MonteCarloJob.h:28
eonc::MonteCarloJob::~MonteCarloJob
~MonteCarloJob(void)=default
eonc::MonteCarloJob::run
std::vector< std::string > run(void) override
Virtual run; used solely for dynamic dispatch.
Definition
MonteCarloJob.cpp:28
eonc::MonteCarloJob::MonteCarloJob
MonteCarloJob(std::unique_ptr< Parameters > parameters, Runtime &rt)
Definition
MonteCarloJob.h:22
eonc::Runtime
Move-only composition root for process resources (dlopen loaders and the potential registry).
Definition
Runtime.h:27
eonc
RAII resource manager for the ARTn C library with global synchronization.
Definition
ARTnSaddleSearch.cpp:23
eonc::log::Scoped
RAII helper for class-scoped logging.
Definition
EonLogger.h:171
include
eon
MonteCarloJob.h
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf