votca 2024.2-dev
Loading...
Searching...
No Matches
MyWorker Class Reference
Inheritance diagram for MyWorker:
Collaboration diagram for MyWorker:

Public Member Functions

 ~MyWorker () override=default
 
void EvalConfiguration (Topology *top, Topology *top_ref) override
 overload with the actual computation
 
bool FoundPair (Bead *b1, Bead *b2, const Eigen::Vector3d &r, const double dist)
 
- 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::HistogramNew cor_
 
votca::tools::HistogramNew count_
 
votca::tools::HistogramNew cor_excl_
 
votca::tools::HistogramNew count_excl_
 
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 Member Functions inherited from votca::tools::Thread
- 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 86 of file orientcorr.cc.

Constructor & Destructor Documentation

◆ ~MyWorker()

MyWorker::~MyWorker ( )
overridedefault

Member Function Documentation

◆ EvalConfiguration()

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

overload with the actual computation

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

Definition at line 164 of file orientcorr.cc.

◆ FoundPair()

bool MyWorker::FoundPair ( Bead * b1,
Bead * b2,
const Eigen::Vector3d & r,
const double dist )

Definition at line 223 of file orientcorr.cc.

Member Data Documentation

◆ cor_

Definition at line 98 of file orientcorr.cc.

◆ cor_excl_

votca::tools::HistogramNew MyWorker::cor_excl_

Definition at line 102 of file orientcorr.cc.

◆ count_

votca::tools::HistogramNew MyWorker::count_

Definition at line 100 of file orientcorr.cc.

◆ count_excl_

votca::tools::HistogramNew MyWorker::count_excl_

Definition at line 104 of file orientcorr.cc.

◆ cut_off_

double MyWorker::cut_off_

Definition at line 105 of file orientcorr.cc.


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