MADNESS  0.10.1
Public Member Functions | Public Attributes | List of all members
madness::cartesian_grid< NDIM > Struct Template Reference

#include <lowrankfunction.h>

Collaboration diagram for madness::cartesian_grid< NDIM >:
Collaboration graph
[legend]

Public Member Functions

 cartesian_grid (const cartesian_grid< NDIM > &other)
 
 cartesian_grid (const double volume_per_gridpoint, const double radius)
 
 cartesian_grid (const long n_per_dim, const double lo, const double hi)
 
Vector< double, NDIMget_coordinates () const
 
void initialize (const double lo, const double hi)
 
bool operator() () const
 
void operator++ ()
 
cartesian_gridoperator= (const cartesian_grid< NDIM > &other)
 
double volume_per_gridpoint () const
 

Public Attributes

Vector< double, NDIMhivec
 
Vector< double, NDIMincrement
 
long index =0
 
Vector< double, NDIMlovec
 
long n_per_dim
 
std::vector< long > stride
 
long total_n
 

Constructor & Destructor Documentation

◆ cartesian_grid() [1/3]

template<std::size_t NDIM>
madness::cartesian_grid< NDIM >::cartesian_grid ( const double  volume_per_gridpoint,
const double  radius 
)
inline

◆ cartesian_grid() [2/3]

template<std::size_t NDIM>
madness::cartesian_grid< NDIM >::cartesian_grid ( const long  n_per_dim,
const double  lo,
const double  hi 
)
inline

◆ cartesian_grid() [3/3]

template<std::size_t NDIM>
madness::cartesian_grid< NDIM >::cartesian_grid ( const cartesian_grid< NDIM > &  other)
inline

Member Function Documentation

◆ get_coordinates()

template<std::size_t NDIM>
Vector<double,NDIM> madness::cartesian_grid< NDIM >::get_coordinates ( ) const
inline

◆ initialize()

template<std::size_t NDIM>
void madness::cartesian_grid< NDIM >::initialize ( const double  lo,
const double  hi 
)
inline

◆ operator()()

template<std::size_t NDIM>
bool madness::cartesian_grid< NDIM >::operator() ( ) const
inline

◆ operator++()

template<std::size_t NDIM>
void madness::cartesian_grid< NDIM >::operator++ ( )
inline

◆ operator=()

template<std::size_t NDIM>
cartesian_grid& madness::cartesian_grid< NDIM >::operator= ( const cartesian_grid< NDIM > &  other)
inline

References madness::swap().

◆ volume_per_gridpoint()

template<std::size_t NDIM>
double madness::cartesian_grid< NDIM >::volume_per_gridpoint ( ) const
inline

Member Data Documentation

◆ hivec

template<std::size_t NDIM>
Vector<double,NDIM> madness::cartesian_grid< NDIM >::hivec

◆ increment

template<std::size_t NDIM>
Vector<double,NDIM> madness::cartesian_grid< NDIM >::increment

◆ index

template<std::size_t NDIM>
long madness::cartesian_grid< NDIM >::index =0

◆ lovec

template<std::size_t NDIM>
Vector<double,NDIM> madness::cartesian_grid< NDIM >::lovec

◆ n_per_dim

template<std::size_t NDIM>
long madness::cartesian_grid< NDIM >::n_per_dim

◆ stride

template<std::size_t NDIM>
std::vector<long> madness::cartesian_grid< NDIM >::stride

◆ total_n

template<std::size_t NDIM>
long madness::cartesian_grid< NDIM >::total_n

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