MADNESS
0.10.1
|
given a molecule, return a suitable grid More...
#include <lowrankfunction.h>
Public Member Functions | |
molecular_grid (const Molecule &molecule, std::shared_ptr< gridbase > grid) | |
ctor takes molecule and grid builder More... | |
molecular_grid (const std::vector< Vector< double, NDIM >> origins, const LowRankFunctionParameters ¶ms) | |
ctor takes centers of the grid and the grid parameters More... | |
molecular_grid (const std::vector< Vector< double, NDIM >> origins, std::shared_ptr< gridbase > grid) | |
ctor takes centers of the grid and the grid builder More... | |
std::vector< Vector< double, NDIM > > | get_grid () const |
Public Member Functions inherited from madness::gridbase | |
virtual | ~gridbase ()=default |
double | get_radius () const |
double | get_volume_element () const |
template<std::size_t NDIM> | |
void | visualize (const std::string filename, const std::vector< Vector< double, NDIM >> &grid) const |
Private Attributes | |
std::vector< Vector< double, NDIM > > | centers |
std::shared_ptr< gridbase > | grid_builder |
Additional Inherited Members | |
Protected Attributes inherited from madness::gridbase | |
bool | do_print =false |
double | radius =3 |
double | volume_element =0.1 |
given a molecule, return a suitable grid
|
inline |
ctor takes centers of the grid and the grid parameters
References madness::molecular_grid< NDIM >::centers, madness::molecular_grid< NDIM >::grid_builder, madness::LowRankFunctionParameters::gridtype(), MADNESS_EXCEPTION, NDIM, madness::LowRankFunctionParameters::radius(), and madness::LowRankFunctionParameters::volume_element().
|
inline |
ctor takes centers of the grid and the grid builder
References madness::molecular_grid< NDIM >::centers.
|
inline |
ctor takes molecule and grid builder
|
inline |
References madness::molecular_grid< NDIM >::centers, GridBuilder::get_angular_order(), madness::dftgrid< NDIM >::get_grid(), madness::randomgrid< NDIM >::get_grid(), GridBuilder::get_nradial(), madness::molecular_grid< NDIM >::grid_builder, MADNESS_CHECK_THROW, MADNESS_EXCEPTION, NDIM, and madness::print().
Referenced by madness::LowRankFunctionFactory< T, NDIM, LDIM >::project(), and test_molecular_grid().
|
private |
|
private |