Accelerated Computation Engine
Public Member Functions | List of all members
Ace::Analytic::SerialRun Class Reference

#include <ace_analytic_serialrun.h>

Inheritance diagram for Ace::Analytic::SerialRun:
Ace::Analytic::AbstractRun

Public Member Functions

virtual void addWork (std::unique_ptr< EAbstractAnalytic::Block > &&block) override final
 
 SerialRun (EAbstractAnalytic::Serial *serial, AbstractInput *base, QObject *parent=nullptr)
 
- Public Member Functions inherited from Ace::Analytic::AbstractRun
 AbstractRun (QObject *parent=nullptr)
 

Additional Inherited Members

- Signals inherited from Ace::Analytic::AbstractRun
void finished ()
 

Detailed Description

This is a serial analytic run that processes the blocks of an analytic in a serial fashion using the traditional CPU and host memory. This only uses a single thread because MPI should be used to use multiple CPU cores.

Constructor & Destructor Documentation

◆ SerialRun()

SerialRun::SerialRun ( EAbstractAnalytic::Serial serial,
AbstractInput base,
QObject *  parent = nullptr 
)
explicit

Constructs a new serial run object with the given abstract serial object, abstract input object, and optional parent.

Parameters
serialPointer to the abstract serial object produced by the analytic that is being ran.
basePointer to the abstract input used to save all result blocks.
parentOptional parent for this new serial run.

Member Function Documentation

◆ addWork()

void SerialRun::addWork ( std::unique_ptr< EAbstractAnalytic::Block > &&  block)
finaloverridevirtual

Implements the interface that is called to add a work block to be processed by this abstract run. This implementation simply processes the block and saves the result immediately because it is serial.

Parameters
blockThe work block that is processed.

Implements Ace::Analytic::AbstractRun.


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