votca 2024.2-dev
|
#include <parallelxjobcalc.h>
Public Member Functions | |
JobOperator (Index id, const Topology &top, ParallelXJobCalc< JobContainer > &master, Index openmp_threads) | |
~JobOperator () override=default | |
void | Run () override |
Run() executes the actual code. | |
Public Member Functions inherited from votca::xtp::QMThread | |
QMThread ()=default | |
QMThread (bool maverick) | |
~QMThread () override=default | |
Index | getId () const |
void | setId (Index id) |
bool | isMaverick () const |
Logger & | getLogger () |
void | Run (void) override |
Run() executes the actual code. | |
Public Member Functions inherited from votca::tools::Thread | |
Thread () | |
virtual | ~Thread () |
void | Start () |
Starts and runs a thread. | |
void | WaitDone () |
WaitDone() will not exit until thread ends computation. | |
bool | IsFinished () const |
Checks to see if the thread is done. | |
Private Attributes | |
const Topology & | top_ |
ParallelXJobCalc< JobContainer > & | master_ |
Index | openmp_threads_ = 1 |
Additional Inherited Members | |
Protected Member Functions inherited from votca::tools::Thread | |
Protected Attributes inherited from votca::xtp::QMThread | |
Index | id_ |
std::stringstream | ss_ |
bool | maverick_ = false |
Logger | logger_ |
Definition at line 80 of file parallelxjobcalc.h.
|
inline |
Definition at line 82 of file parallelxjobcalc.h.
|
overridedefault |
|
overridevirtual |
Run() executes the actual code.
It is left blank here and must be overloaded, for the thread to do any work. This method should never be called by the user, it is called internally by the Start method.
Implements votca::tools::Thread.
Definition at line 90 of file parallelxjobcalc.cc.
|
private |
Definition at line 93 of file parallelxjobcalc.h.
|
private |
Definition at line 94 of file parallelxjobcalc.h.
|
private |
Definition at line 92 of file parallelxjobcalc.h.