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

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
 
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 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)
 
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 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: