MADNESS
0.10.1
|
FunctionNode holds the coefficients, etc., at each node of the 2^NDIM-tree. More...
#include <funcimpl.h>
Public Types | |
typedef GenTensor< T > | coeffT |
typedef WorldContainer< Key< NDIM >, FunctionNode< T, NDIM > > | dcT |
typedef Tensor< T > | tensorT |
Public Member Functions | |
FunctionNode () | |
Default constructor makes node without coeff or children. More... | |
FunctionNode (const coeffT &coeff, bool has_children=false) | |
Constructor from given coefficients with optional children. More... | |
FunctionNode (const coeffT &coeff, double norm_tree, bool has_children) | |
FunctionNode (const coeffT &coeff, double norm_tree, double snorm, double dnorm, bool has_children) | |
FunctionNode (const FunctionNode< T, NDIM > &other) | |
void | accumulate (const coeffT &t, const typename FunctionNode< T, NDIM >::dcT &c, const Key< NDIM > &key, const TensorArgs &args) |
Accumulate inplace and if necessary connect node to parent. More... | |
void | accumulate2 (const tensorT &t, const typename FunctionNode< T, NDIM >::dcT &c, const Key< NDIM > &key) |
Accumulate inplace and if necessary connect node to parent. More... | |
void | clear_coeff () |
Clears the coefficients (has_coeff() will subsequently return false) More... | |
coeffT & | coeff () |
Returns a non-const reference to the tensor containing the coeffs. More... | |
const coeffT & | coeff () const |
Returns a const reference to the tensor containing the coeffs. More... | |
void | consolidate_buffer (const TensorArgs &args) |
template<typename Q > | |
FunctionNode< Q, NDIM > | convert () const |
Copy with possible type conversion of coefficients, copying all other state. More... | |
template<typename Q , typename R > | |
void | gaxpy_inplace (const T &alpha, const FunctionNode< Q, NDIM > &other, const R &beta) |
General bi-linear operation — this = this*alpha + other*beta. More... | |
double | get_dnorm () const |
return the precomputed norm of the (virtual) d coefficients More... | |
double | get_norm_tree () const |
Gets the value of norm_tree. More... | |
double | get_snorm () const |
get the precomputed norm of the (virtual) s coefficients More... | |
bool | has_children () const |
Returns true if this node has children. More... | |
bool | has_coeff () const |
Returns true if there are coefficients in this node. More... | |
bool | is_invalid () const |
Returns true if this node is invalid (no coeffs and no children) More... | |
bool | is_leaf () const |
Returns true if this does not have children. More... | |
FunctionNode< T, NDIM > & | operator= (const FunctionNode< T, NDIM > &other) |
void | print_json (std::ostream &s) const |
void | recompute_snorm_and_dnorm (const FunctionCommonData< T, NDIM > &cdata) |
void | reduceRank (const double &eps) |
reduces the rank of the coefficients (if applicable) More... | |
template<typename Q > | |
void | scale (Q a) |
Scale the coefficients of this node. More... | |
template<typename Archive > | |
void | serialize (Archive &ar) |
void | set_coeff (const coeffT &coeffs) |
Takes a shallow copy of the coeff — same as this->coeff()=coeff . More... | |
void | set_dnorm (const double dn) |
set the precomputed norm of the (virtual) d coefficients More... | |
void | set_has_children (bool flag) |
Sets has_children attribute to value of flag . More... | |
void | set_has_children_recursive (const typename FunctionNode< T, NDIM >::dcT &c, const Key< NDIM > &key) |
Sets has_children attribute to true recurring up to ensure connected. More... | |
void | set_is_leaf (bool flag) |
Sets has_children attribute to value of !flag . More... | |
void | set_norm_tree (double norm_tree) |
Sets the value of norm_tree. More... | |
void | set_snorm (const double sn) |
set the precomputed norm of the (virtual) s coefficients More... | |
size_t | size () const |
Returns the number of coefficients in this node. More... | |
T | trace_conj (const FunctionNode< T, NDIM > &rhs) const |
Private Attributes | |
coeffT | _coeffs |
The coefficients, if any. More... | |
bool | _has_children |
True if there are children. More... | |
double | _norm_tree |
After norm_tree will contain norm of coefficients summed up tree. More... | |
coeffT | buffer |
The coefficients, if any. More... | |
double | dnorm =-1.0 |
norm of the d coefficients, also defined if there are no d coefficients More... | |
double | snorm =-1.0 |
norm of the s coefficients More... | |
FunctionNode holds the coefficients, etc., at each node of the 2^NDIM-tree.
typedef GenTensor<T> madness::FunctionNode< T, NDIM >::coeffT |
typedef WorldContainer<Key<NDIM> , FunctionNode<T, NDIM> > madness::FunctionNode< T, NDIM >::dcT |
Type of container holding the nodes
|
inline |
Default constructor makes node without coeff or children.
|
inlineexplicit |
Constructor from given coefficients with optional children.
Note that only a shallow copy of the coeff are taken so you should pass in a deep copy if you want the node to take ownership.
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
Accumulate inplace and if necessary connect node to parent.
References madness::FunctionNode< T, NDIM >::_has_children, madness::GenTensor< T >::add_SVD(), madness::FunctionNode< T, NDIM >::buffer, c, madness::FunctionNode< T, NDIM >::coeff(), madness::copy(), madness::FunctionNode< T, NDIM >::has_coeff(), madness::GenTensor< T >::has_data(), madness::Key< NDIM >::level(), madness::Key< NDIM >::parent(), madness::GenTensor< T >::rank(), task(), and madness::TensorArgs::thresh.
Referenced by madness::FunctionImpl< T, NDIM >::Vphi_op_NS< opT, LDIM >::accumulate_into_result(), madness::FunctionImpl< T, NDIM >::do_apply_kernel(), madness::FunctionImpl< T, NDIM >::do_apply_kernel2(), madness::FunctionImpl< T, NDIM >::do_apply_kernel3(), madness::accumulate_op< T, NDIM >::operator()(), madness::FunctionImpl< T, NDIM >::do_accumulate_trees< Q, R >::operator()(), and madness::FunctionImpl< T, NDIM >::partial_inner_contract().
|
inline |
Accumulate inplace and if necessary connect node to parent.
References madness::FunctionNode< T, NDIM >::_has_children, c, madness::FunctionNode< T, NDIM >::coeff(), madness::FunctionNode< T, NDIM >::has_coeff(), madness::Key< NDIM >::level(), MADNESS_ASSERT, madness::Key< NDIM >::parent(), task(), and madness::TT_FULL.
Referenced by madness::FunctionImpl< T, NDIM >::apply_1d_realspace_push_op(), madness::FunctionImpl< T, NDIM >::do_apply(), madness::FunctionImpl< T, NDIM >::do_apply_kernel(), and madness::FunctionImpl< T, NDIM >::do_project_out().
|
inline |
Clears the coefficients (has_coeff() will subsequently return false)
References madness::FunctionNode< T, NDIM >::coeff().
Referenced by madness::FunctionImpl< T, NDIM >::remove_internal_coeffs::operator()(), madness::FunctionImpl< T, NDIM >::remove_leaf_coeffs::operator()(), madness::FunctionImpl< T, NDIM >::do_standard::operator()(), madness::FunctionImpl< T, NDIM >::reconstruct_op(), madness::FunctionImpl< T, NDIM >::refine_op(), madness::FunctionImpl< T, NDIM >::sum_down_spawn(), madness::FunctionImpl< T, NDIM >::truncate_op(), and madness::FunctionImpl< T, NDIM >::truncate_spawn().
|
inline |
Returns a non-const reference to the tensor containing the coeffs.
Returns an empty tensor if there are no coefficients.
References madness::FunctionNode< T, NDIM >::_coeffs, madness::GenTensor< T >::dim(), MADNESS_ASSERT, madness::MAXK, and madness::GenTensor< T >::ndim().
Referenced by madness::FunctionNode< T, NDIM >::accumulate(), madness::FunctionNode< T, NDIM >::accumulate2(), madness::FunctionImpl< T, NDIM >::add_keys_to_map(), madness::FunctionImpl< T, NDIM >::add_scalar_inplace(), madness::FunctionImpl< T, NDIM >::apply(), madness::FunctionImpl< T, NDIM >::autorefine_square_test(), madness::FunctionNode< T, NDIM >::clear_coeff(), madness::FunctionNode< T, NDIM >::consolidate_buffer(), madness::FunctionNode< T, NDIM >::convert(), madness::FunctionImpl< T, NDIM >::dirac_convolution_op(), madness::FunctionImpl< T, NDIM >::err_box(), madness::FunctionImpl< T, NDIM >::eval(), madness::FunctionImpl< T, NDIM >::eval_local_only(), madness::FunctionImpl< R, NDIM >::eval_plot_cube(), madness::FunctionImpl< T, NDIM >::evalR(), madness::FunctionNode< T, NDIM >::gaxpy_inplace(), madness::FunctionImpl< T, NDIM >::get_contraction_node_lists(), madness::FunctionImpl< T, NDIM >::nCoeff(), madness::FunctionImpl< T, NDIM >::norm_tree_spawn(), LBCost::operator()(), madness::LBCost::operator()(), madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::operator()(), madness::detail::scaleinplace< T, NDIM >::operator()(), madness::FunctionImpl< T, NDIM >::do_norm2sq_local::operator()(), madness::FunctionImpl< T, NDIM >::do_inner_local< R >::operator()(), madness::FunctionImpl< T, NDIM >::do_inner_local_on_demand< R >::operator()(), madness::FunctionImpl< T, NDIM >::do_truncate_NS_leafs::operator()(), madness::FunctionImpl< T, NDIM >::do_keep_sum_coeffs::operator()(), madness::FunctionImpl< T, NDIM >::do_check_symmetry_local::operator()(), madness::FunctionImpl< T, NDIM >::do_accumulate_trees< Q, R >::operator()(), madness::FunctionImpl< T, NDIM >::do_mapdim::operator()(), madness::FunctionImpl< T, NDIM >::do_mirror::operator()(), madness::FunctionImpl< T, NDIM >::do_map_and_mirror::operator()(), madness::FunctionImpl< T, NDIM >::do_average::operator()(), madness::FunctionImpl< T, NDIM >::do_change_tensor_type::operator()(), madness::FunctionImpl< T, NDIM >::do_unary_op_value_inplace< opT >::operator()(), madness::FunctionImpl< T, NDIM >::do_standard::operator()(), madness::operator<<(), madness::FunctionNode< T, NDIM >::operator=(), madness::FunctionNode< T, NDIM >::print_json(), madness::FunctionImpl< T, NDIM >::print_plane_local(), madness::FunctionImpl< T, NDIM >::print_stats(), madness::FunctionImpl< T, NDIM >::project(), madness::FunctionImpl< T, NDIM >::project_out2(), madness::FunctionImpl< T, NDIM >::real_size(), madness::FunctionNode< T, NDIM >::recompute_snorm_and_dnorm(), madness::FunctionImpl< T, NDIM >::reconstruct_op(), madness::FunctionImpl< T, NDIM >::recur_down_for_contraction_map(), madness::FunctionImpl< T, NDIM >::refine_op(), madness::FunctionNode< T, NDIM >::serialize(), madness::FunctionNode< T, NDIM >::set_coeff(), madness::FunctionImpl< T, NDIM >::sock_it_to_me(), madness::FunctionImpl< T, NDIM >::sock_it_to_me_too(), madness::FunctionImpl< T, NDIM >::sum_down_spawn(), madness::FunctionImpl< T, NDIM >::trace_local(), madness::FunctionImpl< T, NDIM >::truncate_op(), madness::FunctionImpl< T, NDIM >::truncate_reconstructed_spawn(), madness::FunctionImpl< T, NDIM >::truncate_spawn(), madness::FunctionImpl< T, NDIM >::unary_op_coeff_inplace(), madness::FunctionImpl< T, NDIM >::verify_tree(), and madness::FunctionImpl< T, NDIM >::vtransform_doit().
|
inline |
Returns a const reference to the tensor containing the coeffs.
Returns an empty tensor if there are no coefficeints.
References madness::FunctionNode< T, NDIM >::_coeffs.
|
inline |
|
inline |
Copy with possible type conversion of coefficients, copying all other state.
Choose to not overload copy and type conversion operators so there are no automatic type conversions.
References madness::FunctionNode< T, NDIM >::_has_children, madness::FunctionNode< T, NDIM >::_norm_tree, madness::FunctionNode< T, NDIM >::coeff(), madness::FunctionNode< T, NDIM >::dnorm, and madness::FunctionNode< T, NDIM >::snorm.
|
inline |
General bi-linear operation — this = this*alpha + other*beta.
This/other may not have coefficients. Has_children will be true in the result if either this/other have children.
References madness::FunctionNode< T, NDIM >::_has_children, alpha, beta, madness::FunctionNode< T, NDIM >::coeff(), madness::GenTensor< T >::gaxpy(), madness::FunctionNode< T, NDIM >::has_children(), madness::FunctionNode< T, NDIM >::has_coeff(), and madness::GenTensor< T >::scale().
Referenced by madness::FunctionImpl< T, NDIM >::do_merge_trees< Q, R >::operator()().
|
inline |
return the precomputed norm of the (virtual) d coefficients
References madness::FunctionNode< T, NDIM >::dnorm.
Referenced by madness::FunctionImpl< T, NDIM >::get_contraction_node_lists(), madness::operator<<(), and madness::FunctionNode< T, NDIM >::print_json().
|
inline |
Gets the value of norm_tree.
References madness::FunctionNode< T, NDIM >::_norm_tree.
Referenced by madness::operator<<(), and madness::FunctionNode< T, NDIM >::print_json().
|
inline |
get the precomputed norm of the (virtual) s coefficients
References madness::FunctionNode< T, NDIM >::snorm.
Referenced by madness::operator<<(), madness::FunctionNode< T, NDIM >::print_json(), and madness::FunctionImpl< T, NDIM >::recur_down_for_contraction_map().
|
inline |
Returns true if this node has children.
References madness::FunctionNode< T, NDIM >::_has_children.
Referenced by madness::FunctionImpl< T, NDIM >::dirac_convolution_op(), madness::FunctionImpl< T, NDIM >::do_print_tree(), madness::FunctionImpl< T, NDIM >::do_print_tree_graphviz(), madness::FunctionImpl< T, NDIM >::do_print_tree_json(), madness::FunctionNode< T, NDIM >::gaxpy_inplace(), madness::FunctionNode< T, NDIM >::is_invalid(), madness::FunctionImpl< T, NDIM >::norm_tree_spawn(), madness::LoadBalanceDeux< NDIM >::add_op< T, costT >::operator()(), madness::FunctionImpl< T, NDIM >::remove_internal_coeffs::operator()(), madness::FunctionImpl< T, NDIM >::remove_leaf_coeffs::operator()(), madness::FunctionImpl< T, NDIM >::do_check_symmetry_local::operator()(), madness::FunctionImpl< T, NDIM >::do_mapdim::operator()(), madness::FunctionImpl< T, NDIM >::do_mirror::operator()(), madness::FunctionImpl< T, NDIM >::do_map_and_mirror::operator()(), madness::FunctionImpl< T, NDIM >::do_standard::operator()(), madness::operator<<(), madness::FunctionNode< T, NDIM >::print_json(), madness::FunctionImpl< T, NDIM >::reconstruct_op(), madness::FunctionImpl< T, NDIM >::recur_down_for_contraction_map(), madness::FunctionImpl< T, NDIM >::refine_spawn(), madness::FunctionNode< T, NDIM >::set_has_children_recursive(), madness::FunctionImpl< T, NDIM >::sum_down_spawn(), madness::FunctionImpl< T, NDIM >::truncate_op(), madness::FunctionImpl< T, NDIM >::truncate_reconstructed_spawn(), madness::FunctionImpl< T, NDIM >::truncate_spawn(), and madness::FunctionImpl< T, NDIM >::verify_tree().
|
inline |
Returns true if there are coefficients in this node.
References madness::FunctionNode< T, NDIM >::_coeffs, and madness::GenTensor< T >::has_data().
Referenced by madness::FunctionNode< T, NDIM >::accumulate(), madness::FunctionNode< T, NDIM >::accumulate2(), madness::FunctionImpl< T, NDIM >::add_keys_to_map(), madness::FunctionImpl< T, NDIM >::add_scalar_inplace(), madness::FunctionImpl< T, NDIM >::apply(), madness::FunctionImpl< T, NDIM >::eval(), madness::FunctionImpl< T, NDIM >::eval_local_only(), madness::FunctionImpl< T, NDIM >::eval_plot_cube(), madness::FunctionImpl< T, NDIM >::evaldepthpt(), madness::FunctionImpl< T, NDIM >::evalR(), madness::FunctionNode< T, NDIM >::gaxpy_inplace(), madness::FunctionNode< T, NDIM >::is_invalid(), madness::FunctionImpl< T, NDIM >::nCoeff(), madness::FunctionImpl< T, NDIM >::do_err_box< opT >::operator()(), madness::FunctionImpl< T, NDIM >::do_norm2sq_local::operator()(), madness::FunctionImpl< T, NDIM >::do_inner_local< R >::operator()(), madness::FunctionImpl< T, NDIM >::do_inner_local_on_demand< R >::operator()(), madness::FunctionImpl< T, NDIM >::do_accumulate_trees< Q, R >::operator()(), madness::FunctionImpl< T, NDIM >::do_average::operator()(), madness::FunctionImpl< T, NDIM >::do_unary_op_value_inplace< opT >::operator()(), madness::FunctionImpl< T, NDIM >::do_standard::operator()(), madness::operator<<(), madness::FunctionNode< T, NDIM >::print_json(), madness::FunctionImpl< T, NDIM >::print_plane_local(), madness::FunctionImpl< T, NDIM >::print_stats(), madness::FunctionImpl< T, NDIM >::project(), madness::FunctionImpl< T, NDIM >::real_size(), madness::FunctionImpl< T, NDIM >::reconstruct_op(), madness::FunctionImpl< T, NDIM >::refine_op(), madness::FunctionNode< T, NDIM >::set_has_children_recursive(), madness::FunctionImpl< T, NDIM >::size(), madness::FunctionImpl< T, NDIM >::sock_it_to_me(), madness::FunctionImpl< T, NDIM >::sock_it_to_me_too(), madness::FunctionImpl< T, NDIM >::trace_local(), madness::FunctionImpl< T, NDIM >::truncate_op(), madness::FunctionImpl< T, NDIM >::truncate_spawn(), madness::FunctionImpl< T, NDIM >::unary_op_coeff_inplace(), and madness::FunctionImpl< T, NDIM >::vtransform_doit().
|
inline |
Returns true if this node is invalid (no coeffs and no children)
References madness::FunctionNode< T, NDIM >::has_children(), and madness::FunctionNode< T, NDIM >::has_coeff().
|
inline |
Returns true if this does not have children.
References madness::FunctionNode< T, NDIM >::_has_children.
Referenced by madness::FunctionImpl< T, NDIM >::do_dirac_convolution(), madness::FunctionImpl< T, NDIM >::local_leaf_keys(), LBCost::operator()(), madness::FunctionImpl< T, NDIM >::project_out_op< LDIM >::operator()(), DirichletLBCost< NDIM >::operator()(), lbcost< T, NDIM >::operator()(), madness::lbcost< T, NDIM >::operator()(), madness::FunctionImpl< T, NDIM >::do_inner_local< R >::operator()(), madness::FunctionImpl< T, NDIM >::do_truncate_NS_leafs::operator()(), madness::FunctionImpl< T, NDIM >::print_info(), madness::FunctionImpl< T, NDIM >::print_plane_local(), madness::FunctionImpl< T, NDIM >::project_out2(), and madness::FunctionImpl< T, NDIM >::reconstruct_op().
|
inline |
|
inline |
like operator<<(ostream&, const FunctionNode<T,NDIM>&) but produces a sequence JSON-formatted key-value pairs
References madness::FunctionNode< T, NDIM >::coeff(), madness::GenTensor< T >::dim(), e(), madness::FunctionNode< T, NDIM >::get_dnorm(), madness::FunctionNode< T, NDIM >::get_norm_tree(), madness::FunctionNode< T, NDIM >::get_snorm(), madness::FunctionNode< T, NDIM >::has_children(), madness::FunctionNode< T, NDIM >::has_coeff(), madness::detail::norm(), madness::GenTensor< T >::normf(), and madness::GenTensor< T >::rank().
Referenced by madness::FunctionImpl< T, NDIM >::do_print_tree_json().
|
inline |
References c, madness::FunctionNode< T, NDIM >::coeff(), madness::copy(), madness::FunctionNode< T, NDIM >::dnorm, MADNESS_EXCEPTION, madness::detail::norm(), madness::GenTensor< T >::normf(), madness::FunctionCommonData< T, NDIM >::s0, madness::FunctionNode< T, NDIM >::size(), madness::FunctionNode< T, NDIM >::snorm, and madness::FunctionCommonData< T, NDIM >::vk.
Referenced by madness::FunctionImpl< T, NDIM >::recur_down_for_contraction_map().
|
inline |
reduces the rank of the coefficients (if applicable)
References madness::FunctionNode< T, NDIM >::_coeffs, and madness::GenTensor< T >::reduce_rank().
Referenced by madness::FunctionImpl< T, NDIM >::do_reduce_rank::operator()(), and madness::FunctionImpl< T, NDIM >::do_standard::operator()().
|
inline |
Scale the coefficients of this node.
References madness::FunctionNode< T, NDIM >::_coeffs, a, and madness::GenTensor< T >::scale().
Referenced by madness::FunctionImpl< T, NDIM >::do_merge_trees< Q, R >::operator()().
|
inline |
|
inline |
Takes a shallow copy of the coeff — same as this->coeff()=coeff
.
References madness::FunctionNode< T, NDIM >::_coeffs, madness::FunctionNode< T, NDIM >::coeff(), madness::GenTensor< T >::dim(), madness::GenTensor< T >::has_data(), MADNESS_ASSERT, madness::MAXK, and madness::print().
Referenced by madness::FunctionImpl< T, NDIM >::reconstruct_op(), madness::FunctionImpl< T, NDIM >::truncate_op(), and madness::FunctionImpl< T, NDIM >::vtransform_doit().
|
inline |
set the precomputed norm of the (virtual) d coefficients
References madness::FunctionNode< T, NDIM >::dnorm.
Referenced by madness::FunctionImpl< R, NDIM >::eval_plot_cube().
|
inline |
Sets has_children
attribute to value of flag
.
References madness::FunctionNode< T, NDIM >::_has_children.
Referenced by madness::FunctionImpl< R, NDIM >::child_patch(), madness::FunctionImpl< T, NDIM >::erase(), madness::FunctionImpl< T, NDIM >::reconstruct_op(), madness::FunctionImpl< T, NDIM >::refine_op(), and madness::FunctionImpl< T, NDIM >::truncate_op().
|
inline |
Sets has_children
attribute to true recurring up to ensure connected.
References madness::FunctionNode< T, NDIM >::_has_children, c, madness::FunctionNode< T, NDIM >::has_children(), madness::FunctionNode< T, NDIM >::has_coeff(), madness::Key< NDIM >::level(), madness::Key< NDIM >::parent(), and task().
Referenced by madness::FunctionImpl< T, NDIM >::vtransform_doit().
|
inline |
Sets has_children
attribute to value of !flag
.
References madness::FunctionNode< T, NDIM >::_has_children.
|
inline |
Sets the value of norm_tree.
References madness::FunctionNode< T, NDIM >::_norm_tree, and madness::norm_tree().
Referenced by madness::FunctionImpl< R, NDIM >::eval_plot_cube(), and madness::FunctionImpl< T, NDIM >::norm_tree_spawn().
|
inline |
set the precomputed norm of the (virtual) s coefficients
References madness::FunctionNode< T, NDIM >::snorm.
Referenced by madness::FunctionImpl< R, NDIM >::eval_plot_cube().
|
inline |
Returns the number of coefficients in this node.
References madness::FunctionNode< T, NDIM >::_coeffs, and madness::GenTensor< T >::size().
Referenced by madness::FunctionNode< T, NDIM >::recompute_snorm_and_dnorm(), and madness::FunctionImpl< T, NDIM >::size().
|
inline |
References madness::FunctionNode< T, NDIM >::_coeffs.
|
private |
The coefficients, if any.
Referenced by madness::FunctionNode< T, NDIM >::coeff(), madness::FunctionNode< T, NDIM >::has_coeff(), madness::FunctionNode< T, NDIM >::reduceRank(), madness::FunctionNode< T, NDIM >::scale(), madness::FunctionNode< T, NDIM >::set_coeff(), madness::FunctionNode< T, NDIM >::size(), and madness::FunctionNode< T, NDIM >::trace_conj().
|
private |
True if there are children.
Referenced by madness::FunctionNode< T, NDIM >::accumulate(), madness::FunctionNode< T, NDIM >::accumulate2(), madness::FunctionNode< T, NDIM >::convert(), madness::FunctionNode< T, NDIM >::gaxpy_inplace(), madness::FunctionNode< T, NDIM >::has_children(), madness::FunctionNode< T, NDIM >::is_leaf(), madness::FunctionNode< T, NDIM >::operator=(), madness::FunctionNode< T, NDIM >::serialize(), madness::FunctionNode< T, NDIM >::set_has_children(), madness::FunctionNode< T, NDIM >::set_has_children_recursive(), and madness::FunctionNode< T, NDIM >::set_is_leaf().
|
private |
After norm_tree will contain norm of coefficients summed up tree.
Referenced by madness::FunctionNode< T, NDIM >::convert(), madness::FunctionNode< T, NDIM >::get_norm_tree(), madness::FunctionNode< T, NDIM >::operator=(), madness::FunctionNode< T, NDIM >::serialize(), and madness::FunctionNode< T, NDIM >::set_norm_tree().
|
private |
The coefficients, if any.
Referenced by madness::FunctionNode< T, NDIM >::accumulate(), and madness::FunctionNode< T, NDIM >::consolidate_buffer().
|
private |
norm of the d coefficients, also defined if there are no d coefficients
Referenced by madness::FunctionNode< T, NDIM >::convert(), madness::FunctionNode< T, NDIM >::get_dnorm(), madness::FunctionNode< T, NDIM >::operator=(), madness::FunctionNode< T, NDIM >::recompute_snorm_and_dnorm(), madness::FunctionNode< T, NDIM >::serialize(), and madness::FunctionNode< T, NDIM >::set_dnorm().
|
private |
norm of the s coefficients
Referenced by madness::FunctionNode< T, NDIM >::convert(), madness::FunctionNode< T, NDIM >::get_snorm(), madness::FunctionNode< T, NDIM >::operator=(), madness::FunctionNode< T, NDIM >::recompute_snorm_and_dnorm(), madness::FunctionNode< T, NDIM >::serialize(), and madness::FunctionNode< T, NDIM >::set_snorm().