Loading...
Searching...
No Matches
InstantonJob.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 "Job.h"
14#include "Parameters.h"
15
16namespace eonc {
17
23class InstantonJob : public Job {
24public:
25 InstantonJob(std::unique_ptr<Parameters> parameters, Runtime &rt)
26 : Job(std::move(parameters), rt) {}
27 InstantonJob(std::shared_ptr<Potential> potPassed,
28 const Parameters &parameters)
29 : Job(std::move(potPassed), parameters) {}
30 ~InstantonJob(void) = default;
31 std::vector<std::string> run(void) override;
32};
33
34} // namespace eonc
The job class is used to serve as an abstract class for all jobs, as well as to call a job at runtime...
std::vector< std::string > run(void) override
Virtual run; used solely for dynamic dispatch.
~InstantonJob(void)=default
InstantonJob(std::unique_ptr< Parameters > parameters, Runtime &rt)
InstantonJob(std::shared_ptr< Potential > potPassed, const Parameters &parameters)
Job(std::unique_ptr< Parameters > parameters, Runtime &rt, ExclusivePotential)
Definition Job.h:71
Move-only composition root for process resources (dlopen loaders and the potential registry).
Definition Runtime.h:27
RAII resource manager for the ARTn C library with global synchronization.