Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
Nektar::Utilities::NodeOptiJob Class Reference

#include <NodeOpti.h>

Inheritance diagram for Nektar::Utilities::NodeOptiJob:
Inheritance graph
[legend]
Collaboration diagram for Nektar::Utilities::NodeOptiJob:
Collaboration graph
[legend]

Public Member Functions

 NodeOptiJob (NodeOpti *no)
 
void Run ()
 
 NodeOptiJob (NodeOpti *no)
 
void Run ()
 
- Public Member Functions inherited from Nektar::Thread::ThreadJob
 ThreadJob ()
 Base constructor. More...
 
virtual ~ThreadJob ()
 Base destructor. More...
 
void SetWorkerNum (unsigned int num)
 Set number of worker threads. More...
 

Private Attributes

NodeOptinode
 

Additional Inherited Members

- Protected Member Functions inherited from Nektar::Thread::ThreadJob
unsigned int GetWorkerNum ()
 

Detailed Description

Definition at line 168 of file NodeOpti.h.

Constructor & Destructor Documentation

Nektar::Utilities::NodeOptiJob::NodeOptiJob ( NodeOpti no)
inline

Definition at line 171 of file NodeOpti.h.

171  : node(no)
172  {
173  }
Nektar::Utilities::NodeOptiJob::NodeOptiJob ( NodeOpti no)
inline

Definition at line 52 of file NodeOptiJob.h.

52  : node(no)
53  {
54  }

Member Function Documentation

void Nektar::Utilities::NodeOptiJob::Run ( )
inlinevirtual

This method will be called when the task is loaded onto a worker thread and is ready to run. When Run has finished this instance will be destructed.

Implements Nektar::Thread::ThreadJob.

Definition at line 56 of file NodeOptiJob.h.

References node, and Nektar::Utilities::NodeOpti::Optimise().

57  {
58  node->Optimise();
59  }
virtual void Optimise()=0
void Nektar::Utilities::NodeOptiJob::Run ( )
inlinevirtual

This method will be called when the task is loaded onto a worker thread and is ready to run. When Run has finished this instance will be destructed.

Implements Nektar::Thread::ThreadJob.

Definition at line 175 of file NodeOpti.h.

References node, and Nektar::Utilities::NodeOpti::Optimise().

176  {
177  node->Optimise();
178  }
virtual void Optimise()=0

Member Data Documentation

NodeOpti * Nektar::Utilities::NodeOptiJob::node
private

Definition at line 181 of file NodeOpti.h.

Referenced by Run().