Loading...
Searching...
No Matches
Job.cpp File Reference
#include "eon/Job.h"
#include "eon/BasinHoppingJob.h"
#include "eon/DynamicsJob.h"
#include "eon/FiniteDifferenceJob.h"
#include "eon/GlobalOptimizationJob.h"
#include "eon/HessianJob.h"
#include "eon/InstantonJob.h"
#include "eon/JobRegistry.h"
#include "eon/MinimizationJob.h"
#include "eon/MonteCarloJob.h"
#include "eon/NudgedElasticBandJob.h"
#include "eon/OHTSTJob.h"
#include "eon/ParallelReplicaJob.h"
#include "eon/Parameters.h"
#include "eon/PointJob.h"
#include "eon/PrefactorJob.h"
#include "eon/ProcessSearchJob.h"
#include "eon/ReplicaExchangeJob.h"
#include "eon/SaddleSearchJob.h"
#include "eon/SafeHyperJob.h"
#include "eon/StructureComparisonJob.h"
#include "eon/TADJob.h"
#include "eon/TestJob.h"
#include <memory>

Go to the source code of this file.

Namespaces

namespace  eonc
 RAII resource manager for the ARTn C library with global synchronization.

Macros

#define EON_REG_JOB(TYPE, CLS)

Functions

void eonc::forceJobRegistration ()

Macro Definition Documentation

◆ EON_REG_JOB

#define EON_REG_JOB ( TYPE,
CLS )
Value:
const bool eon_reg_##CLS = [] { \
eonc::registerJob( \
eonc::JobType::TYPE, \
[](std::unique_ptr<eonc::Parameters> p, eonc::Runtime &rt) { \
return std::make_unique<eonc::CLS>(std::move(p), rt); \
}); \
return true; \
}()
Move-only composition root for process resources (dlopen loaders and the potential registry).
Definition Runtime.h:27

Definition at line 50 of file Job.cpp.

50#define EON_REG_JOB(TYPE, CLS) \
51 const bool eon_reg_##CLS = [] { \
52 eonc::registerJob( \
53 eonc::JobType::TYPE, \
54 [](std::unique_ptr<eonc::Parameters> p, eonc::Runtime &rt) { \
55 return std::make_unique<eonc::CLS>(std::move(p), rt); \
56 }); \
57 return true; \
58 }()