votca 2025.1-dev
Loading...
Searching...
No Matches
RDFWorker Class Reference
Inheritance diagram for RDFWorker:
Collaboration diagram for RDFWorker:

Public Member Functions

 ~RDFWorker () override=default
void EvalConfiguration (Topology *, Topology *) override
 overload with the actual computation
Public Member Functions inherited from votca::csg::CsgApplication::Worker
 Worker ()=default
Index getId ()
 returns worker id
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.

Public Attributes

votca::tools::Histogram rdf_
double cut_off_

Additional Inherited Members

Protected Member Functions inherited from votca::csg::CsgApplication::Worker
void Run (void) override
 Run() executes the actual code.
void setApplication (CsgApplication *app)
void setId (Index id)
Protected Attributes inherited from votca::csg::CsgApplication::Worker
CsgApplicationapp_ = nullptr
Topology top_
Topology top_cg_
std::unique_ptr< TopologyMapmap_
Index id_ = -1

Detailed Description

Definition at line 85 of file template_threaded.cc.

Constructor & Destructor Documentation

◆ ~RDFWorker()

RDFWorker::~RDFWorker ( )
overridedefault

Member Function Documentation

◆ EvalConfiguration()

void RDFWorker::EvalConfiguration ( Topology * top,
Topology * top_ref )
overridevirtual

overload with the actual computation

Implements votca::csg::CsgApplication::Worker.

Definition at line 127 of file template_threaded.cc.

Member Data Documentation

◆ cut_off_

double RDFWorker::cut_off_

Definition at line 92 of file template_threaded.cc.

◆ rdf_

votca::tools::Histogram RDFWorker::rdf_

Definition at line 91 of file template_threaded.cc.


The documentation for this class was generated from the following file: