eOn client
Long-timescale dynamics: aKMC, NEB, parallel replica
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
TestJob.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 "
ConjugateGradients.h
"
15
#include "
Job.h
"
16
#include "
Parameters.h
"
17
18
namespace
eonc
{
19
20
class
TestJob
:
public
Job
{
21
public
:
22
TestJob
(std::unique_ptr<Parameters>
params
)
23
:
Job
(std::move(
params
)),
24
tolerance
{0.01} {}
25
~TestJob
(
void
) =
default
;
26
std::vector<std::string>
run
(
void
);
27
28
private
:
29
double
tolerance
{0.0};
30
void
checkFullSearch
(
void
);
31
void
checkPotentials
(
void
);
32
double
getEnergyDiff
(std::string potTag,
double
refEnergy);
33
double
getForceDiff
(std::string potTag,
double
refForce);
34
};
35
36
}
// namespace eonc
37
38
using
eonc::TestJob
;
ConjugateGradients.h
Direct optimization for energy minimization.
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)
Definition
Job.h:58
eonc::Job::params
Parameters params
Definition
Job.h:54
eonc::TestJob
Definition
TestJob.h:20
eonc::TestJob::checkFullSearch
void checkFullSearch(void)
Definition
TestJob.cpp:29
eonc::TestJob::TestJob
TestJob(std::unique_ptr< Parameters > params)
Definition
TestJob.h:22
eonc::TestJob::tolerance
double tolerance
Definition
TestJob.h:29
eonc::TestJob::checkPotentials
void checkPotentials(void)
Definition
TestJob.cpp:155
eonc::TestJob::getEnergyDiff
double getEnergyDiff(std::string potTag, double refEnergy)
Definition
TestJob.cpp:272
eonc::TestJob::run
std::vector< std::string > run(void)
Virtual run; used solely for dynamic dispatch.
Definition
TestJob.cpp:22
eonc::TestJob::getForceDiff
double getForceDiff(std::string potTag, double refForce)
Definition
TestJob.cpp:282
eonc::TestJob::~TestJob
~TestJob(void)=default
eonc
RAII resource manager for the ARTn C library with global synchronization.
Definition
ARTnSaddleSearch.cpp:19
include
eon
TestJob.h
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf