Nektar++
Public Member Functions | Private Attributes | List of all members
Nektar::Utilities::ElUtilJob Class Reference

#include <ElUtil.h>

Inheritance diagram for Nektar::Utilities::ElUtilJob:
[legend]

Public Member Functions

 ElUtilJob (ElUtil *e)
 
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

ElUtilel
 

Additional Inherited Members

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

Detailed Description

Definition at line 115 of file ElUtil.h.

Constructor & Destructor Documentation

◆ ElUtilJob()

Nektar::Utilities::ElUtilJob::ElUtilJob ( ElUtil e)
inline

Definition at line 118 of file ElUtil.h.

118 : el(e) {}

Member Function Documentation

◆ Run()

void Nektar::Utilities::ElUtilJob::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 120 of file ElUtil.h.

121  {
122  el->Evaluate();
123  }

Member Data Documentation

◆ el

ElUtil* Nektar::Utilities::ElUtilJob::el
private

Definition at line 125 of file ElUtil.h.