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 196 of file NodeOpti.h.

Constructor & Destructor Documentation

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

Definition at line 199 of file NodeOpti.h.

199  : node(no)
200  {
201  }
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 203 of file NodeOpti.h.

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

204  {
205  node->Optimise();
206  }
virtual void Optimise()=0

Member Data Documentation

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

Definition at line 209 of file NodeOpti.h.

Referenced by Run().