MADNESS 0.10.1
|
merge the coefficent boxes of this into result's tree More...
#include <funcimpl.h>
Public Types | |
typedef Range< typename dcT::const_iterator > | rangeT |
Public Member Functions | |
do_accumulate_trees ()=default | |
do_accumulate_trees (FunctionImpl< Q, NDIM > &result, const T alpha) | |
bool | operator() (typename rangeT::iterator &it) const |
return the norm of the difference of this node and its "mirror" node | |
template<typename Archive > | |
void | serialize (const Archive &ar) |
Public Attributes | |
T | alpha =T(1.0) |
FunctionImpl< Q, NDIM > * | result =0 |
merge the coefficent boxes of this into result's tree
result+= alpha*this this and result don't have to have the same distribution or live in the same world no comm, and the tree should be in an consistent state by virtue
typedef Range<typename dcT::const_iterator> madness::FunctionImpl< T, NDIM >::do_accumulate_trees< Q, R >::rangeT |
|
default |
|
inline |
|
inline |
return the norm of the difference of this node and its "mirror" node
References madness::FunctionNode< T, NDIM >::accumulate(), madness::FunctionImpl< T, NDIM >::do_accumulate_trees< Q, R >::alpha, madness::FunctionNode< T, NDIM >::coeff(), madness::FunctionImpl< T, NDIM >::get_coeffs(), madness::FunctionNode< T, NDIM >::has_coeff(), madness::FunctionImpl< T, NDIM >::do_accumulate_trees< Q, R >::result, madness::FunctionImpl< T, NDIM >::targs, and madness::WorldContainer< keyT, valueT, hashfunT >::task().
|
inline |
References MADNESS_EXCEPTION.
T madness::FunctionImpl< T, NDIM >::do_accumulate_trees< Q, R >::alpha =T(1.0) |
FunctionImpl<Q,NDIM>* madness::FunctionImpl< T, NDIM >::do_accumulate_trees< Q, R >::result =0 |