MADNESS  0.10.1
Functions
test_low_rank_function.cc File Reference
#include <madness.h>
#include <madness/chem/lowrankfunction.h>
#include <madness/world/test_utilities.h>
#include <madness/world/timing_utilities.h>
#include <random>
Include dependency graph for test_low_rank_function.cc:

Functions

int main (int argc, char **argv)
 
template<std::size_t LDIM>
int test_arithmetic (World &world, LowRankFunctionParameters parameters)
 
template<std::size_t LDIM>
int test_construction_optimization (World &world, LowRankFunctionParameters parameters)
 
template<std::size_t LDIM>
int test_full_rank_functor (World &world, LowRankFunctionParameters parameters)
 
template<std::size_t LDIM>
int test_inner (World &world, LowRankFunctionParameters parameters)
 test partial inner products More...
 
int test_Kcommutator (World &world, LowRankFunctionParameters &parameters)
 test the K commutator of the He atom More...
 
int test_lowrank_function (World &world, LowRankFunctionParameters parameters)
 
template<std::size_t LDIM>
int test_molecular_grid (World &world, LowRankFunctionParameters parameters)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ test_arithmetic()

template<std::size_t LDIM>
int test_arithmetic ( World world,
LowRankFunctionParameters  parameters 
)

◆ test_construction_optimization()

template<std::size_t LDIM>
int test_construction_optimization ( World world,
LowRankFunctionParameters  parameters 
)

◆ test_full_rank_functor()

template<std::size_t LDIM>
int test_full_rank_functor ( World world,
LowRankFunctionParameters  parameters 
)

◆ test_inner()

template<std::size_t LDIM>
int test_inner ( World world,
LowRankFunctionParameters  parameters 
)

◆ test_Kcommutator()

int test_Kcommutator ( World world,
LowRankFunctionParameters parameters 
)

test the K commutator of the He atom

< ij | K f12 | ij >

References madness::Function< T, NDIM >::change_tree_state(), madness::copy(), madness::CoulombOperator(), madness::cpu_time(), dcut, madness::TwoElectronFactory< T, NDIM >::dcut(), madness::default_random_generator, madness::test_output::end(), madness::TwoElectronFactory< T, NDIM >::f12(), madness::LowRankFunctionParameters::f12type(), madness::Function< T, NDIM >::fill_tree(), madness::LowRankFunction< T, NDIM, LDIM >::g, madness::CompositeFactory< T, NDIM, MDIM >::g12(), madness::LowRankFunctionParameters::gamma(), madness::TwoElectronFactory< T, NDIM >::gamma(), madness::FunctionDefaults< NDIM >::get_thresh(), madness::LowRankFunctionParameters::gridtype(), madness::LowRankFunction< T, NDIM, LDIM >::h, madness::inner(), MADNESS_EXCEPTION, madness::mul(), madness::multiply(), NDIM, madness::Function< T, NDIM >::norm2(), madness::Vector< T, N >::normf(), madness::LowRankFunctionParameters::optimize(), madness::LowRankFunctionParameters::orthomethod(), madness::SeparatedConvolution< Q, NDIM >::particle(), madness::CompositeFactory< T, NDIM, MDIM >::particle1(), madness::CompositeFactory< T, NDIM, MDIM >::particle2(), madness::QCCalculationParametersBase::print(), madness::print(), madness::Function< T, NDIM >::print_size(), madness::LowRankFunctionFactory< T, NDIM, LDIM >::project(), madness::LowRankFunctionParameters::radius(), madness::reconstructed, madness::LowRankFunctionParameters::rhsfunctiontype(), madness::Function< T, NDIM >::scale(), madness::test_output::set_cout_to_terminal(), madness::Random::setstate(), madness::SlaterF12OperatorPtr(), madness::SlaterOperatorPtr(), madness::timer::tag(), thresh, madness::TwoElectronFactory< T, NDIM >::thresh(), madness::LowRankFunctionParameters::tol(), madness::Tensor< T >::trace(), madness::unique_fileid(), and madness::LowRankFunctionParameters::volume_element().

◆ test_lowrank_function()

int test_lowrank_function ( World world,
LowRankFunctionParameters  parameters 
)

◆ test_molecular_grid()

template<std::size_t LDIM>
int test_molecular_grid ( World world,
LowRankFunctionParameters  parameters 
)