MADNESS 0.10.1
Public Member Functions | List of all members
madness::MacroTaskIntermediate< macrotaskT > Class Template Reference

#include <macrotaskq.h>

Inheritance diagram for madness::MacroTaskIntermediate< macrotaskT >:
Inheritance graph
[legend]
Collaboration diagram for madness::MacroTaskIntermediate< macrotaskT >:
Collaboration graph
[legend]

Public Member Functions

 MacroTaskIntermediate ()
 
 ~MacroTaskIntermediate ()
 
void cleanup ()
 
- Public Member Functions inherited from madness::MacroTaskBase
 MacroTaskBase ()
 
virtual ~MacroTaskBase ()
 
virtual void finalize_stage1 (World &, World *, Cloud &)
 
virtual void finalize_stage2 (World &, World *, Cloud &)
 
long get_owner_slot () const
 
double get_priority () const
 
bool is_complete () const
 
bool is_owned_by (const long slot) const
 an unowned task may be run by any subworld, an owned one only by its own
 
bool is_running () const
 
bool is_waiting () const
 
virtual void print_me (std::string s="") const
 
virtual void print_me_as_table (std::string s="") const
 
std::string print_priority_and_status_to_string () const
 
virtual void run (World &world, Cloud &cloud, taskqT &taskq, const long element, const bool debug, const MacroTaskInfo policy)=0
 
void set_complete ()
 
void set_owner_slot (const long owner)
 
void set_priority (const double p)
 
void set_running ()
 
void set_waiting ()
 
virtual bool wants_node_local_reduction () const
 Finalize, for tasks that accumulate their own output.
 

Additional Inherited Members

- Public Types inherited from madness::MacroTaskBase
enum  Status { Running , Waiting , Complete , Unknown }
 
typedef std::vector< std::shared_ptr< MacroTaskBase > > taskqT
 
- Public Attributes inherited from madness::MacroTaskBase
long owner_slot =-1
 the subworld that should run this task; -1 means any
 
double priority =1.0
 
enum madness::MacroTaskBase::Status stat =Unknown
 

Constructor & Destructor Documentation

◆ MacroTaskIntermediate()

template<typename macrotaskT >
madness::MacroTaskIntermediate< macrotaskT >::MacroTaskIntermediate ( )
inline

◆ ~MacroTaskIntermediate()

Member Function Documentation

◆ cleanup()

template<typename macrotaskT >
void madness::MacroTaskIntermediate< macrotaskT >::cleanup ( )
inlinevirtual

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