votca 2024.2-dev
|
#include <parallelxjobcalc.h>
Classes | |
class | JobOperator |
Public Types | |
using | Job = typename JobContainer::value_type |
using | Result = typename Job::JobResult |
Public Member Functions | |
ParallelXJobCalc ()=default | |
~ParallelXJobCalc () override=default | |
std::string | Identify () const override=0 |
Calculator name. | |
void | ParseOptions (const tools::Property &opt) final |
bool | Evaluate (const Topology &top) final |
virtual void | CustomizeLogger (QMThread &thread) |
virtual Result | EvalJob (const Topology &top, Job &job, QMThread &thread)=0 |
void | LockCout () |
void | UnlockCout () |
void | LockLog () |
void | UnlockLog () |
Public Member Functions inherited from votca::xtp::JobCalculator | |
JobCalculator ()=default | |
~JobCalculator () override=default | |
std::string | Package () const final |
Package name. | |
bool | EvaluateFrame (const Topology &top) |
void | Initialize (const tools::Property &opt) final |
Initializes a calculator from an XML file with options. | |
virtual void | WriteJobFile (const Topology &top)=0 |
virtual void | ReadJobFile (Topology &top)=0 |
void | setOpenMPThreads (Index ompthreads) |
void | setProgObserver (ProgObserver< std::vector< Job > > *obs) |
Public Member Functions inherited from votca::tools::Calculator | |
Calculator ()=default | |
virtual | ~Calculator ()=default |
void | setnThreads (Index nThreads) |
Sets number of threads to use. | |
Protected Member Functions | |
virtual void | ParseSpecificOptions (const tools::Property &options)=0 |
tools::Property | UpdateDFTOptions (const tools::Property &options) |
tools::Property | UpdateGWBSEOptions (const tools::Property &options) |
Protected Member Functions inherited from votca::xtp::JobCalculator |
Protected Attributes | |
JobContainer | XJobs_ |
tools::Mutex | coutMutex_ |
tools::Mutex | logMutex_ |
std::string | mapfile_ = "" |
std::string | jobfile_ = "" |
Protected Attributes inherited from votca::xtp::JobCalculator | |
Index | openmp_threads_ |
ProgObserver< std::vector< Job > > * | progObs_ |
Protected Attributes inherited from votca::tools::Calculator | |
Index | nThreads_ |
bool | maverick_ |
Private Member Functions | |
void | ParseCommonOptions (const tools::Property &options) |
Definition at line 50 of file parallelxjobcalc.h.
using votca::xtp::ParallelXJobCalc< JobContainer >::Job = typename JobContainer::value_type |
Definition at line 54 of file parallelxjobcalc.h.
using votca::xtp::ParallelXJobCalc< JobContainer >::Result = typename Job::JobResult |
Definition at line 55 of file parallelxjobcalc.h.
|
default |
|
overridedefault |
|
virtual |
Definition at line 119 of file parallelxjobcalc.cc.
|
pure virtual |
|
finalvirtual |
Implements votca::xtp::JobCalculator.
Definition at line 37 of file parallelxjobcalc.cc.
|
overridepure virtual |
Calculator name.
This name is used to register a calculator in a Factory It the name of the XML file with the default calculator options stored in VOTCASHARE
Implements votca::xtp::JobCalculator.
Implemented in votca::xtp::EQM, votca::xtp::IEXCITON, votca::xtp::IQM, and votca::xtp::QMMM.
|
inline |
Definition at line 71 of file parallelxjobcalc.h.
|
inline |
Definition at line 73 of file parallelxjobcalc.h.
|
private |
Definition at line 105 of file parallelxjobcalc.cc.
|
inlinefinalvirtual |
Implements votca::xtp::JobCalculator.
Definition at line 62 of file parallelxjobcalc.h.
|
protectedpure virtual |
Implemented in votca::xtp::EQM, votca::xtp::IEXCITON, votca::xtp::IQM, and votca::xtp::QMMM.
|
inline |
Definition at line 72 of file parallelxjobcalc.h.
|
inline |
Definition at line 74 of file parallelxjobcalc.h.
|
protected |
|
protected |
|
protected |
Definition at line 106 of file parallelxjobcalc.h.
|
protected |
Definition at line 109 of file parallelxjobcalc.h.
|
protected |
Definition at line 107 of file parallelxjobcalc.h.
|
protected |
Definition at line 108 of file parallelxjobcalc.h.
|
protected |
Definition at line 105 of file parallelxjobcalc.h.