MADNESS
0.10.1
|
merge the coefficent boxes of this into other's tree More...
#include <funcimpl.h>
Public Types | |
typedef Range< typename dcT::const_iterator > | rangeT |
Public Member Functions | |
do_merge_trees () | |
do_merge_trees (const T alpha, const R beta, FunctionImpl< Q, NDIM > &other) | |
bool | operator() (typename rangeT::iterator &it) const |
return the norm of the difference of this node and its "mirror" node More... | |
template<typename Archive > | |
void | serialize (const Archive &ar) |
Public Attributes | |
T | alpha |
R | beta |
FunctionImpl< Q, NDIM > * | other |
merge the coefficent boxes of this into other's tree
no comm, and the tree should be in an consistent state by virtue of FunctionNode::gaxpy_inplace
typedef Range<typename dcT::const_iterator> madness::FunctionImpl< T, NDIM >::do_merge_trees< Q, R >::rangeT |
|
inline |
|
inline |
|
inline |
return the norm of the difference of this node and its "mirror" node
References madness::FunctionImpl< T, NDIM >::do_merge_trees< Q, R >::alpha, madness::FunctionImpl< T, NDIM >::do_merge_trees< Q, R >::beta, madness::WorldContainer< keyT, valueT, hashfunT >::find(), madness::FunctionNode< T, NDIM >::gaxpy_inplace(), madness::FunctionImpl< T, NDIM >::get_coeffs(), madness::FunctionImpl< T, NDIM >::do_merge_trees< Q, R >::other, madness::WorldContainer< keyT, valueT, hashfunT >::replace(), and madness::FunctionNode< T, NDIM >::scale().
|
inline |
References MADNESS_EXCEPTION.
T madness::FunctionImpl< T, NDIM >::do_merge_trees< Q, R >::alpha |
R madness::FunctionImpl< T, NDIM >::do_merge_trees< Q, R >::beta |
FunctionImpl<Q,NDIM>* madness::FunctionImpl< T, NDIM >::do_merge_trees< Q, R >::other |