Loading...
Searching...
No Matches
PrefactorJob.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
14#include "Job.h"
15#include "Parameters.h"
16
17namespace eonc {
18
19class PrefactorJob : public Job {
20public:
21 PrefactorJob(std::unique_ptr<Parameters> parameters)
22 : Job(std::move(parameters)) {}
23 ~PrefactorJob() = default;
24 std::vector<std::string> run();
25 // Ugly but OK for now I guess
26 static const char PREFACTOR_REACTANT[];
27 static const char PREFACTOR_SADDLE[];
28 static const char PREFACTOR_PRODUCT[];
29};
30
31} // namespace eonc
32
The job class is used to serve as an abstract class for all jobs, as well as to call a job at runtime...
Job(std::unique_ptr< Parameters > parameters)
Definition Job.h:58
~PrefactorJob()=default
std::vector< std::string > run()
Virtual run; used solely for dynamic dispatch.
static const char PREFACTOR_REACTANT[]
PrefactorJob(std::unique_ptr< Parameters > parameters)
static const char PREFACTOR_PRODUCT[]
static const char PREFACTOR_SADDLE[]
RAII resource manager for the ARTn C library with global synchronization.