votca 2024-dev
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
RDFWorker Class Reference
Inheritance diagram for RDFWorker:
Inheritance graph
[legend]
Collaboration diagram for RDFWorker:
Collaboration graph
[legend]

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
 
virtual void EvalConfiguration (Topology *top, Topology *top_ref=nullptr)=0
 overload with the actual computation
 
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::HistogramNew 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)
 
virtual void Run (void)=0
 Run() executes the actual code.
 
- 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::HistogramNew RDFWorker::rdf_

Definition at line 91 of file template_threaded.cc.


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