MADNESS 0.10.1
Public Types | Public Member Functions | Public Attributes | List of all members
madness::ShallowNode< T, NDIM > Struct Template Reference

shallow-copy, pared-down version of FunctionNode, for special purpose only More...

#include <funcimpl.h>

Public Types

typedef GenTensor< TcoeffT
 

Public Member Functions

 ShallowNode ()
 
 ShallowNode (const FunctionNode< T, NDIM > &node)
 
 ShallowNode (const ShallowNode< T, NDIM > &node)
 
coeffTcoeff ()
 
const coeffTcoeff () const
 
bool has_children () const
 
bool is_leaf () const
 
template<typename Archive >
void serialize (Archive &ar)
 

Public Attributes

coeffT _coeffs
 
bool _has_children
 
double dnorm =-1.0
 

Detailed Description

template<typename T, std::size_t NDIM>
struct madness::ShallowNode< T, NDIM >

shallow-copy, pared-down version of FunctionNode, for special purpose only

Member Typedef Documentation

◆ coeffT

template<typename T , std::size_t NDIM>
typedef GenTensor<T> madness::ShallowNode< T, NDIM >::coeffT

Constructor & Destructor Documentation

◆ ShallowNode() [1/3]

template<typename T , std::size_t NDIM>
madness::ShallowNode< T, NDIM >::ShallowNode ( )
inline

◆ ShallowNode() [2/3]

template<typename T , std::size_t NDIM>
madness::ShallowNode< T, NDIM >::ShallowNode ( const FunctionNode< T, NDIM > &  node)
inline

◆ ShallowNode() [3/3]

template<typename T , std::size_t NDIM>
madness::ShallowNode< T, NDIM >::ShallowNode ( const ShallowNode< T, NDIM > &  node)
inline

Member Function Documentation

◆ coeff() [1/2]

template<typename T , std::size_t NDIM>
coeffT & madness::ShallowNode< T, NDIM >::coeff ( )
inline

◆ coeff() [2/2]

template<typename T , std::size_t NDIM>
const coeffT & madness::ShallowNode< T, NDIM >::coeff ( ) const
inline

◆ has_children()

template<typename T , std::size_t NDIM>
bool madness::ShallowNode< T, NDIM >::has_children ( ) const
inline

◆ is_leaf()

template<typename T , std::size_t NDIM>
bool madness::ShallowNode< T, NDIM >::is_leaf ( ) const
inline

◆ serialize()

template<typename T , std::size_t NDIM>
template<typename Archive >
void madness::ShallowNode< T, NDIM >::serialize ( Archive &  ar)
inline

Member Data Documentation

◆ _coeffs

template<typename T , std::size_t NDIM>
coeffT madness::ShallowNode< T, NDIM >::_coeffs

◆ _has_children

template<typename T , std::size_t NDIM>
bool madness::ShallowNode< T, NDIM >::_has_children

◆ dnorm

template<typename T , std::size_t NDIM>
double madness::ShallowNode< T, NDIM >::dnorm =-1.0

The documentation for this struct was generated from the following file: