MADNESS
version 0.9
|
project the low-dim function g on the hi-dim function f: result(x) = <f(x,y) | g(y)> More...
#include <funcimpl.h>
Public Types | |
typedef project_out_op< LDIM > | this_type |
typedef CoeffTracker< T, LDIM > | ctL |
typedef FunctionImpl< T, NDIM-LDIM > | implL1 |
typedef std::pair< bool, coeffT > | argT |
Public Member Functions | |
bool | randomize () const |
project_out_op () | |
project_out_op (const implT *fimpl, implL1 *result, const ctL &iag, const int dim) | |
project_out_op (const project_out_op &other) | |
Future< argT > | operator() (const Key< NDIM > &key) const |
do the actual contraction More... | |
this_type | make_child (const keyT &child) const |
Future< this_type > | activate () const |
retrieve the coefficients (parent coeffs might be remote) More... | |
this_type | forward_ctor (const implT *fimpl1, implL1 *result1, const ctL &iag1, const int dim1) |
taskq-compatible ctor More... | |
template<typename Archive > | |
void | serialize (const Archive &ar) |
Public Attributes | |
const implT * | fimpl |
implL1 * | result |
ctL | iag |
int | dim |
project the low-dim function g on the hi-dim function f: result(x) = <f(x,y) | g(y)>
typedef std::pair<bool,coeffT> madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::argT |
typedef CoeffTracker<T,LDIM> madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::ctL |
typedef FunctionImpl<T,NDIM-LDIM> madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::implL1 |
typedef project_out_op<LDIM> madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::this_type |
|
inline |
|
inline |
|
inline |
|
inline |
retrieve the coefficients (parent coeffs might be remote)
References madness::CoeffTracker< T, NDIM >::activate(), madness::WorldTaskQueue::add(), madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::forward_ctor(), madness::World::taskq, and madness::FunctionImpl< T, NDIM >::world.
|
inline |
taskq-compatible ctor
Referenced by madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::activate().
|
inline |
|
inline |
do the actual contraction
References madness::Key< NDIM >::break_apart(), madness::CoeffTracker< T, NDIM >::coeff(), madness::GenTensor< T >::config(), madness::BaseTensor::dim(), madness::WorldContainer< keyT, valueT, hashfunT >::find(), madness::GenTensor< T >::full_tensor(), madness::FunctionImpl< T, NDIM >::get_coeffs(), madness::CoeffTracker< T, NDIM >::get_impl(), madness::GenTensor< T >::has_no_data(), madness::TaskAttributes::hipri(), madness::CoeffTracker< T, NDIM >::key(), madness::FunctionImpl< T, NDIM >::MADNESS_ASSERT(), madness::FunctionImpl< T, NDIM >::parent_to_child(), madness::WorldContainer< keyT, valueT, hashfunT >::probe(), madness::GenTensor< T >::rank(), madness::WorldContainer< keyT, valueT, hashfunT >::task(), madness::GenTensor< T >::tensor_type(), madness::TT_2D, and madness::TT_FULL.
|
inline |
|
inline |
int madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::dim |
const implT* madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::fimpl |
ctL madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::iag |
|
mutable |