|
MADNESS 0.10.1
|


Public Member Functions | |
| MacroTaskInternal (const taskT &task, const std::pair< Batch, double > &batch_prio, const recordlistT &inputrecords, const recordlistT &outputrecords) | |
| template<typename resultT1 , std::size_t I = 0> | |
| std::enable_if< is_tuple< resultT1 >::value, void >::type | accumulate_into_final_result (World &subworld, resultT1 &final_result, const resultT1 &tmp_result, const argtupleT &argtuple) |
| accumulate the result of the task into the final result living in the universe | |
| template<typename resultT1 > | |
| std::enable_if< notis_tuple< resultT1 >::value, void >::type | accumulate_into_final_result (World &subworld, resultT1 &result, const resultT1 &result_tmp, const argtupleT &argtuple) |
| accumulate the result of the task into the final result living in the universe | |
| void | cleanup () override |
| std::string | get_name () const |
| resultT | get_output (World &subworld, Cloud &cloud) const |
| return the WorldObjects or the result functions living in the universe | |
| void | print_me (std::string s="") const override |
| void | print_me_as_table (std::string s="") const override |
| void | run (World &subworld, Cloud &cloud, MacroTaskBase::taskqT &taskq, const long element, const bool debug, const MacroTaskInfo policy) override |
| called by the MacroTaskQ when the task is scheduled | |
Public Member Functions inherited from madness::MacroTaskIntermediate< MacroTask > | |
| MacroTaskIntermediate () | |
| ~MacroTaskIntermediate () | |
Public Member Functions inherited from madness::MacroTaskBase | |
| MacroTaskBase () | |
| virtual | ~MacroTaskBase () |
| double | get_priority () const |
| bool | is_complete () const |
| bool | is_running () const |
| bool | is_waiting () const |
| std::string | print_priority_and_status_to_string () const |
| void | set_complete () |
| void | set_priority (const double p) |
| void | set_running () |
| void | set_waiting () |
Static Public Member Functions | |
| template<typename T , std::size_t NDIM> | |
| static Function< T, NDIM > | pointer2WorldObject (const std::shared_ptr< FunctionImpl< T, NDIM > > impl) |
| template<typename T > | |
| static ScalarResult< T > | pointer2WorldObject (const std::shared_ptr< ScalarResultImpl< T > > sr_impl) |
| template<typename T , std::size_t NDIM> | |
| static std::vector< Function< T, NDIM > > | pointer2WorldObject (const std::vector< std::shared_ptr< FunctionImpl< T, NDIM > > > v_impl) |
| template<typename T > | |
| static std::vector< ScalarResult< T > > | pointer2WorldObject (const std::vector< std::shared_ptr< ScalarResultImpl< T > > > v_sr_impl) |
Public Attributes | |
| taskT | task |
Public Attributes inherited from madness::MacroTaskBase | |
| double | priority =1.0 |
| enum madness::MacroTaskBase::Status | stat =Unknown |
Private Types | |
| typedef decay_tuple< typename taskT::argtupleT > | argtupleT |
| typedef taskT::resultT | resultT |
Private Attributes | |
| recordlistT | inputrecords |
| recordlistT | outputrecords |
Additional Inherited Members | |
Public Types inherited from madness::MacroTaskBase | |
| enum | Status { Running , Waiting , Complete , Unknown } |
| typedef std::vector< std::shared_ptr< MacroTaskBase > > | taskqT |
|
private |
|
private |
|
inline |
References madness::MacroTaskBase::priority.
|
inline |
accumulate the result of the task into the final result living in the universe
|
inline |
accumulate the result of the task into the final result living in the universe
References madness::change_tree_state(), madness::compressed, madness::gaxpy(), madness::reconstructed, and madness::TT_FULL.
|
inlineoverridevirtual |
Reimplemented from madness::MacroTaskIntermediate< MacroTask >.
|
inline |
|
inline |
return the WorldObjects or the result functions living in the universe
read the pointers to the universe WorldObjects from the cloud, convert them to actual WorldObjects and return them
References madness::Cloud::consuming_load(), doit(), MADNESS_EXCEPTION, madness::MacroTask< taskT >::MacroTaskInternal::outputrecords, madness::MacroTask< taskT >::MacroTaskInternal::pointer2WorldObject(), and madness::unary_tuple_loop().
Referenced by madness::MacroTask< taskT >::MacroTaskInternal::run().
|
inlinestatic |
References madness::Function< T, NDIM >::set_impl().
Referenced by madness::MacroTask< taskT >::MacroTaskInternal::get_output().
|
inlinestatic |
|
inlinestatic |
References madness::set_impl().
|
inlinestatic |
|
inlineoverridevirtual |
Reimplemented from madness::MacroTaskBase.
References madness::MacroTask< taskT >::MacroTaskInternal::get_name(), madness::print(), and madness::MacroTask< taskT >::MacroTaskInternal::task.
|
inlineoverridevirtual |
Reimplemented from madness::MacroTaskBase.
References madness::MacroTask< taskT >::MacroTaskInternal::get_name(), madness::name(), madness::print(), madness::MacroTaskBase::print_priority_and_status_to_string(), and madness::MacroTask< taskT >::MacroTaskInternal::task.
Referenced by madness::MacroTask< taskT >::MacroTaskInternal::run().
|
inlineoverridevirtual |
called by the MacroTaskQ when the task is scheduled
Implements madness::MacroTaskBase.
References madness::arg(), madness::binary_tuple_loop(), bufsize, madness::copy(), madness::Cloud::copy_time, madness::cpu_time(), madness::MacroTask< taskT >::debug, e(), madness::f, madness::MacroTask< taskT >::MacroTaskInternal::get_name(), madness::MacroTask< taskT >::MacroTaskInternal::get_output(), madness::World::id(), madness::MacroTask< taskT >::MacroTaskInternal::inputrecords, madness::Cloud::load(), MADNESS_EXCEPTION, madness::print(), madness::MacroTask< taskT >::MacroTaskInternal::print_me_as_table(), madness::MacroTaskInfo::storage_policy, madness::MacroTaskInfo::StoreFunctionViaPointer, madness::MacroTask< taskT >::MacroTaskInternal::task, madness::unary_tuple_loop(), and madness::wall_time().
|
private |
Referenced by madness::MacroTask< taskT >::MacroTaskInternal::run().
|
private |
Referenced by madness::MacroTask< taskT >::MacroTaskInternal::get_output().
| taskT madness::MacroTask< taskT >::MacroTaskInternal::task |