MADNESS
0.10.1
|
#include <leafop.h>
Public Member Functions | |
Specialbox_op () | |
virtual | ~Specialbox_op () |
virtual bool | box_is_at_boundary (const Key< NDIM > &key) const |
bool | check_special_points (const Key< NDIM > &key, const FunctionImpl< T, NDIM > *const f) const |
size_t | get_half_of_special_level (const size_t &sl=FunctionDefaults< NDIM >::get_special_level()) const |
virtual std::string | name () const |
virtual bool | operator() (const Key< NDIM > &key, const FunctionImpl< T, NDIM > *const f=NULL) const |
template<typename Archive > | |
void | serialize (Archive &ar) |
helper structure for the Leaf_op The class has an operator which decides if a given key belongs to a special box (needs further refinement up to a special level) this is the default class which always gives back false
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Determine if a given box is at the boundary of the simulation box
[in] | the | key of the current box Since boxes of level 0 and 1 are always at the boundary this case should be avoided if the boundary conditions are periodic then all boxes are boundary boxes |
References madness::BC_PERIODIC, madness::Key< NDIM >::level(), NDIM, pow(), and madness::Key< NDIM >::translation().
Referenced by madness::Specialbox_op< T, NDIM >::check_special_points(), madness::ElectronCuspyBox_op< T, NDIM >::operator()(), and madness::NuclearCuspyBox_op< T, NDIM >::operator()().
|
inline |
[in] | the | key of the box |
[in] | the | function which will be constructed (if it is needed) |
References madness::Specialbox_op< T, NDIM >::box_is_at_boundary(), madness::f, madness::FunctionDefaults< NDIM >::get_bc(), madness::Specialbox_op< T, NDIM >::get_half_of_special_level(), madness::Key< NDIM >::is_neighbor_of(), madness::BoundaryConditions< NDIM >::is_periodic(), madness::Key< NDIM >::level(), madness::simpt2key(), and madness::user_to_sim().
|
inline |
|
inlinevirtual |
Reimplemented in madness::NuclearCuspyBox_op< T, NDIM >, and madness::ElectronCuspyBox_op< T, NDIM >.
|
inlinevirtual |
the operator which deceides if the given box is special
[in] | the | key of the current box |
[in] | the | function which will be constructed (if it is needed) |
[out] | bool | which states if the box is special or not |
Reimplemented in madness::NuclearCuspyBox_op< T, NDIM >, and madness::ElectronCuspyBox_op< T, NDIM >.
|
inline |