IBAMR  IBAMR version 0.19.
Public Types | Public Member Functions | List of all members
SAMRAI::tbox::RelaunchableJob Class Referenceabstract

Define interface for a relaunchable job managed by JobRelauncher. More...

#include <tbox/RelaunchableJob.h>

Inheritance diagram for SAMRAI::tbox::RelaunchableJob:
Inheritance graph
[legend]

Public Types

enum  JobState { COMMUNICATION_WAIT = 0, NONCOMMUNICATION_WAIT = 1, JOB_IS_COMPLETED = 2 }
 

Public Member Functions

 RelaunchableJob ()
 Default constructor. More...
 
virtual ~RelaunchableJob (void)
 Destructor. More...
 
virtual void continueJob ()=0
 
virtual JobState getJobState ()=0
 Get the current state of the job, as a JobState enumeration. More...
 
virtual AsyncCommGroupgetCommunicationGroup ()=0
 Get the communication group object that the job uses for communications. More...
 

Detailed Description

This is a strategy class for use with JobRelauncher.

The implemented job should be written to be able to pause during a communication or non-communication wait.

Member Enumeration Documentation

◆ JobState

Enumerator
COMMUNICATION_WAIT 
NONCOMMUNICATION_WAIT 
JOB_IS_COMPLETED 

Constructor & Destructor Documentation

◆ RelaunchableJob()

SAMRAI::tbox::RelaunchableJob::RelaunchableJob ( )
inline

◆ ~RelaunchableJob()

virtual SAMRAI::tbox::RelaunchableJob::~RelaunchableJob ( void  )
inlinevirtual

Deallocate internal data.

Member Function Documentation

◆ continueJob()

virtual void SAMRAI::tbox::RelaunchableJob::continueJob ( )
pure virtual

Continue the user-defined job.

Implemented in SAMRAI::mesh::AsyncBergerRigoutsosNode< DIM >.

◆ getJobState()

virtual JobState SAMRAI::tbox::RelaunchableJob::getJobState ( )
pure virtual

◆ getCommunicationGroup()

virtual AsyncCommGroup* SAMRAI::tbox::RelaunchableJob::getCommunicationGroup ( )
pure virtual

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