MADNESS 0.10.1
testgaxpyext.cc File Reference
#include <madness/mra/mra.h>
Include dependency graph for testgaxpyext.cc:

Macros

#define END_TIMER(msg)
#define START_TIMER   world.gop.fence(); ttt=wall_time(); sss=cpu_time()

Typedefs

typedef std::shared_ptr< FunctionFunctorInterface< double, 3 > > functorT

Functions

static double alpha_func (const coord_3d &r)
static double beta_func (const coord_3d &r)
bool is_like (double a, double b, double tol)
int main (int argc, char **argv)

Variables

static const long k = 8
static const double L = 5.0*R
static const double R = 1.4
bool smalltest = false
double sss
static const double thresh = 1e-6
double ttt

Macro Definition Documentation

◆ END_TIMER

#define END_TIMER ( msg)
Value:
ttt=wall_time()-ttt; sss=cpu_time()-sss; if (world.rank()==0) printf("timer: %-20.20s %8.2fs %8.2fs\n", msg, sss, ttt)
static double ttt
Definition mcpfit.cc:57
static double sss
Definition mcpfit.cc:57
double wall_time()
Returns the wall time in seconds relative to an arbitrary origin.
Definition timers.cc:48
double cpu_time()
Definition test_list.cc:43

Referenced by madness::SCF::analyze_vectors(), KPeriodicBSHOperator::apply(), madness::SCF::apply_bsh_macrotask(), madness::SCF::apply_bsh_plain(), madness::SCF::apply_bsh_tiled(), apply_potential(), madness::SCF::apply_potential(), madness::Solver< T, NDIM >::apply_potential(), madness::Solver< T, NDIM >::build_fock_matrix(), madness::MP2::compute_energy(), madness::SCF::compute_residual(), madness::SCF::derivatives(), madness::SCF::diag_fock_matrix(), madness::SCF::dipole(), madness::SCF::do_plots(), madness::SCF::initial_guess(), madness::Solver< T, NDIM >::initial_guess(), madness::SCF::initial_guess_ao_eigenvectors(), madness::SCF::initial_guess_from_nwchem(), madness::SCF::kain_solve(), madness::SCF::kinetic_energy_matrix(), main(), make_coulomb_potential(), make_density(), madness::SCF::make_fock_matrix(), make_kinetic_matrix(), make_lda_potential(), madness::SCF::make_nuclear_potential(), Calculation::make_reference(), Calculation::make_Upsi(), makeao(), madness::MP2::multiply_with_0th_order_Hamiltonian(), orthogonalize(), madness::SCF::orthonormalize(), madness::SCF::orthonormalize(), madness::Solver< T, NDIM >::print_fock_matrix_eigs(), madness::Solver< T, NDIM >::print_potential_matrix_eigs(), madness::SCF::solve(), madness::Solver< T, NDIM >::solve(), madness::MP2::solve_coupled_equations(), madness::SCF::solve_virtuals(), and madness::SCF::update_subspace().

◆ START_TIMER

#define START_TIMER   world.gop.fence(); ttt=wall_time(); sss=cpu_time()

Referenced by madness::SCF::analyze_vectors(), KPeriodicBSHOperator::apply(), madness::SCF::apply_bsh_macrotask(), madness::SCF::apply_bsh_plain(), madness::SCF::apply_bsh_tiled(), apply_potential(), madness::SCF::apply_potential(), madness::Solver< T, NDIM >::apply_potential(), madness::Solver< T, NDIM >::build_fock_matrix(), madness::MP2::compute_energy(), madness::SCF::compute_residual(), madness::SCF::derivatives(), madness::SCF::diag_fock_matrix(), madness::SCF::dipole(), madness::SCF::do_plots(), madness::SCF::initial_guess(), madness::Solver< T, NDIM >::initial_guess(), madness::SCF::initial_guess_ao_eigenvectors(), madness::SCF::initial_guess_from_nwchem(), madness::SCF::kain_solve(), madness::SCF::kinetic_energy_matrix(), main(), make_coulomb_potential(), make_density(), madness::SCF::make_fock_matrix(), make_kinetic_matrix(), make_lda_potential(), madness::SCF::make_nuclear_potential(), Calculation::make_reference(), Calculation::make_Upsi(), makeao(), madness::MP2::multiply_with_0th_order_Hamiltonian(), orthogonalize(), madness::SCF::orthonormalize(), madness::SCF::orthonormalize(), madness::Solver< T, NDIM >::print_fock_matrix_eigs(), madness::Solver< T, NDIM >::print_potential_matrix_eigs(), madness::SCF::solve(), madness::Solver< T, NDIM >::solve(), madness::MP2::solve_coupled_equations(), madness::SCF::solve_virtuals(), test_coulomb(), test_cross(), test_diff(), test_dot(), test_inner(), test_matrix_mul_sparse(), test_op(), test_orthonormalize_canonical(), test_orthonormalize_symmetric(), test_rot(), test_transform(), and madness::SCF::update_subspace().

Typedef Documentation

◆ functorT

typedef std::shared_ptr< FunctionFunctorInterface<double,3> > functorT

Function Documentation

◆ alpha_func()

double alpha_func ( const coord_3d & r)
static

Referenced by main().

◆ beta_func()

double beta_func ( const coord_3d & r)
static

References a, and x0.

Referenced by main().

◆ is_like()

bool is_like ( double a,
double b,
double tol )

References a, std::abs(), and b.

Referenced by main().

◆ main()

Variable Documentation

◆ k

const long k = 8
static

◆ L

const double L = 5.0*R
static

◆ R

const double R = 1.4
static

◆ smalltest

bool smalltest = false

◆ sss

double sss

◆ thresh

const double thresh = 1e-6
static

◆ ttt

double ttt