|
MADNESS 0.10.1
|
FunctionDefaults holds default paramaters as static class members. More...
#include <funcdefaults.h>

Static Public Member Functions | |
| static void | clear_cell () |
| clear user cell – will be reset once a function is loaded from file | |
| static bool | get_apply_randomize () |
| Gets the random load balancing for integral operators flag. | |
| static bool | get_autorefine () |
| Gets the default adaptive autorefinement flag. | |
| static const BoundaryConditions< NDIM > & | get_bc () |
| Returns the default boundary conditions. | |
| static const Tensor< double > & | get_cell () |
| Gets the user cell for the simulation. | |
| static double | get_cell_geometric_mean_width () |
| Returns the geometric mean width of the user cell, volume^(1/NDIM). | |
| static double | get_cell_min_width () |
| Returns the minimum width of any user cell dimension. | |
| static double | get_cell_volume () |
| Returns the volume of the user cell. | |
| static const Tensor< double > & | get_cell_width () |
| Returns the width of each user cell dimension. | |
| static bool | get_debug () |
| Gets the default debug flag, which gates verbose MRA diagnostics. | |
| static int | get_initial_level () |
| Returns the default initial projection level. | |
| static int | get_k () |
| Returns the default wavelet order. | |
| static int | get_max_refine_level () |
| Gets the default maximum adaptive refinement level. | |
| static std::shared_ptr< WorldDCPmapInterface< Key< NDIM > > > & | get_pmap () |
| Returns the default process map that was last initialized via set_default_pmap(). | |
| static std::shared_ptr< WorldDCPmapInterface< Key< NDIM > > > | get_pmap (World &world) |
| Returns the default process map that can be used with the given world. | |
| static int | get_pmap_nproc () |
| Returns number of the default processes returned by get_pmap(). | |
| static bool | get_project_randomize () |
| Gets the random load balancing for projection flag. | |
| static const Tensor< double > & | get_rcell_width () |
| Returns the reciprocal of the width of each user cell dimension. | |
| static bool | get_refine () |
| Gets the default adaptive refinement flag. | |
| static int | get_special_level () |
| Returns the default projection level for special boxes. | |
| static TensorType | get_tensor_type () |
| Returns the default tensor type. | |
| static const double & | get_thresh () |
| Returns the default threshold. | |
| static int | get_truncate_mode () |
| Gets the default truncation mode. | |
| static bool | get_truncate_on_project () |
| Gets the default truncate on project flag. | |
| static std::shared_ptr< WorldDCPmapInterface< Key< NDIM > > > | make_default_pmap (World &world) |
Makes a default process map for the given world. | |
| static void | print () |
| static void | redistribute (World &world, const std::shared_ptr< WorldDCPmapInterface< Key< NDIM > > > &newpmap) |
| Sets the default process map and redistributes all functions using the old map. | |
| static void | set_apply_randomize (bool value) |
| Sets the random load balancing for integral operators flag. | |
| static void | set_autorefine (bool value) |
| Sets the default adaptive autorefinement flag. | |
| static void | set_bc (const BoundaryConditions< NDIM > &value) |
| Sets the default boundary conditions. | |
| static void | set_cell (const Tensor< double > &value) |
| Sets the user cell for the simulation. | |
| static void | set_cubic_cell (double lo, double hi) |
Sets the user cell to be cubic with each dimension having range [lo,hi]. | |
| static void | set_debug (bool value) |
| Sets the default debug flag; see get_debug. | |
| static void | set_default_pmap (World &world) |
| static void | set_defaults (World &world) |
| static void | set_initial_level (int value) |
| Sets the default initial projection level. | |
| static void | set_k (int value) |
| Sets the default wavelet order. | |
| static int | set_length_scale (const double lo, const size_t k=get_k()) |
| adapt the special level to resolve the smallest length scale | |
| static void | set_max_refine_level (int value) |
| Sets the default maximum adaptive refinement level. | |
| static void | set_pmap (const std::shared_ptr< WorldDCPmapInterface< Key< NDIM > > > &value) |
| Sets the default process map (does not redistribute existing functions). | |
| static void | set_project_randomize (bool value) |
| Sets the random load balancing for projection flag. | |
| static void | set_refine (bool value) |
| Sets the default adaptive refinement flag. | |
| static void | set_special_level (int value) |
| Existing functions are unaffected. | |
| static void | set_tensor_type (const TensorType &t) |
| Sets the default tensor type. | |
| static void | set_thresh (double value) |
| Sets the default threshold. | |
| static void | set_truncate_mode (int value) |
| Sets the default truncation mode. | |
| static void | set_truncate_on_project (bool value) |
| Sets the default truncate on project flag. | |
Static Private Member Functions | |
| static Tensor< double > | make_default_cell () |
| static Tensor< double > | make_default_cell_width () |
| static void | recompute_cell_info () |
Static Private Attributes | |
| static bool | apply_randomize |
| If true use randomization for load balancing in apply integral operator. | |
| static bool | autorefine |
| Whether to autorefine in multiplication, etc. | |
| static std::optional< BoundaryConditions< NDIM > > | bc |
| Default boundary conditions, not initialized by default and must be set explicitly before use. | |
| static Tensor< double > | cell |
| cell[NDIM][2] Simulation cell, cell(0,0)=xlo, cell(0,1)=xhi, ... | |
| static double | cell_geometric_mean_width |
| volume^(1/NDIM), the mean dimension | |
| static double | cell_min_width |
| Size of smallest dimension. | |
| static double | cell_volume |
| Volume of simulation cell. | |
| static Tensor< double > | cell_width |
| Width of simulation cell in each dimension. | |
| static bool | debug |
| Controls output of debug info. | |
| static int | initial_level |
| Initial level for fine scale projection. | |
| static int | k |
| Wavelet order. | |
| static int | max_refine_level |
| Level at which to stop refinement. | |
| static std::shared_ptr< WorldDCPmapInterface< Key< NDIM > > > | pmap |
| Default mapping of keys to processes. | |
| static int | pmap_nproc |
| Number of processes assumed by pmap, -1 indicates uninitialized pmap. | |
| static bool | project_randomize |
| If true use randomization for load balancing in project/refine. | |
| static Tensor< double > | rcell_width |
| Reciprocal of width. | |
| static bool | refine |
| Whether to refine new functions. | |
| static int | special_level |
| Minimum level for fine scale projection of special boxes. | |
| static double | thresh |
| Truncation threshold. | |
| static int | truncate_mode |
| Truncation method. | |
| static bool | truncate_on_project |
| If true initial projection inserts at n-1 not n. | |
| static TensorType | tt |
| structure of the tensor in FunctionNode | |
FunctionDefaults holds default paramaters as static class members.
Declared and initialized in mra.cc and/or funcimpl::initialize.
Currently all functions of the same dimension share the same cell dimensions since they are stored inside FunctionDefaults ... if you change the cell dimensions all functions of that dimension are affected.
N.B. Ultimately, we may need to make these defaults specific to each world, as should be all global state.
|
inlinestatic |
clear user cell – will be reset once a function is loaded from file
Existing functions are probably rendered useless
Referenced by test_sum_down_files().
|
inlinestatic |
Gets the random load balancing for integral operators flag.
Referenced by madness::FunctionImpl< T, LDIM >::apply(), madness::FunctionImpl< T, LDIM >::apply_source_driven(), and main().
|
inlinestatic |
Gets the default adaptive autorefinement flag.
|
inlinestatic |
Returns the default boundary conditions.
Referenced by madness::BSHFunctionInterface::BSHFunctionInterface(), madness::Derivative< double, 1 >::Derivative(), madness::Displacements< NDIM >::Displacements(), madness::ElectronRepulsionInterface< T, NDIM >::ElectronRepulsionInterface(), madness::GeneralTwoElectronInterface< T, NDIM >::GeneralTwoElectronInterface(), MolecularNuclearPotentialFunctor2::MolecularNuclearPotentialFunctor2(), madness::SeparatedConvolution< double, 3 >::SeparatedConvolution(), madness::SeparatedConvolution< double, 3 >::SeparatedConvolution(), madness::SlaterF12Interface::SlaterF12Interface(), madness::SlaterFunctionInterface::SlaterFunctionInterface(), madness::TwoElectronInterface< T, NDIM >::TwoElectronInterface(), madness::Specialbox_op< T, NDIM >::box_is_at_boundary(), madness::Function< double, 3 >::broaden(), madness::BSHOperator(), madness::BSHOperator3D(), madness::BSHOperatorPtr(), madness::BSHOperatorPtr3D(), madness::Specialbox_op< T, NDIM >::check_special_points(), madness::CoulombOperator(), madness::CoulombOperatorPtr(), madness::F2GOperator(), madness::F2GOperatorPtr(), madness::FGOperator(), madness::FGOperatorPtr(), madness::GaussOperator(), madness::GaussOperatorPtr(), madness::GradBSHOperator(), GradBSHOperator_Joel(), madness::GradCoulombOperator(), madness::gradient_operator(), madness::GradSlaterOperator(), laplacian(), main(), madness::SeparatedConvolution< double, 3 >::make_coeff_for_operator(), madness::ElectronCuspyBox_op< T, NDIM >::operator()(), madness::LRFunctorF12< T, NDIM, LDIM >::MacroTaskLRFInner::operator()(), madness::PeriodicBSHOperator3D(), madness::PeriodicBSHOperatorPtr3D(), madness::PeriodicHFExchangeOperator(), madness::PeriodicHFExchangeOperatorPtr(), print(), madness::FunctionImpl< T, NDIM >::project_refine_op(), madness::SlaterF12Operator(), madness::SlaterF12OperatorPtr(), madness::SlaterF12OperatorPtr_ND(), madness::SlaterF12sqOperator(), madness::SlaterF12sqOperatorPtr(), madness::SlaterOperator(), madness::SlaterOperatorPtr(), madness::SlaterOperatorPtr_ND(), madness::SmoothingOperator(), madness::SmoothingOperator3D(), and test_scale_preserves_broaden_marker().
|
inlinestatic |
Gets the user cell for the simulation.
Referenced by FunctionIOData< T, NDIM >::FunctionIOData(), madness::nemo_u1_functors::append(), madness::Diamagnetic_potential_factor::compute_nabla_R_div_R(), madness::SCF::do_plots(), madness::FunctionImpl< T, NDIM >::do_print_grid(), madness::FunctionImpl< T, NDIM >::do_print_plane(), madness::fcube(), madness::randomgrid< NDIM >::get_grid(), madness::Solver< T, NDIM >::initial_guess(), FunctionIOData< T, NDIM >::initialize_func_coeffs(), iterate(), kth_moment_func3d(), madness::Function< double, 3 >::load(), main(), madness::Solver< T, NDIM >::make_nuclear_potential(), madness::LowRankFunctionFactory< T, NDIM, LDIM >::make_uniform_random_grid_in_cell(), madness::plot_cubefile(), madness::plot_line(), madness::plotpovray(), madness::FunctionImpl< T, NDIM >::print_plane_local(), madness::print_tree_jsonfile(), r2_func3d(), random_gaussian(), madness::FunctionImpl< T, LDIM >::read_grid(), madness::FunctionImpl< T, LDIM >::read_grid2(), save_function(), madness::sim_to_user(), madness::Solver< T, NDIM >::solve(), test_cross(), test_dot(), test_inner(), test_math(), test_matrix_mul_sparse(), test_multi_to_multi_op(), test_orthonormalize_canonical(), test_orthonormalize_symmetric(), test_plot(), test_rot(), test_transform(), testPeriodicCoulomb3d(), madness::user_to_sim(), FunctionIO< double, D >::write_function(), and write_function().
|
inlinestatic |
Returns the geometric mean width of the user cell, volume^(1/NDIM).
Referenced by madness::FunctionImpl< T, NDIM >::truncate_tol().
|
inlinestatic |
Returns the minimum width of any user cell dimension.
Referenced by dostuff(), main(), madness::Nemo::make_plots(), madness::smooth< T, NDIM >::make_plots(), madness::qm_free_particle_propagator(), madness::qm_free_particle_propagatorPtr(), madness::CCParameters::sanity_check(), slymer::Gaussian_Functor::special_level(), and madness::FunctionImpl< T, NDIM >::truncate_tol().
|
inlinestatic |
Returns the volume of the user cell.
Referenced by madness::FunctionImpl< T, NDIM >::add_scalar_inplace(), madness::FunctionCommonFunctionality< T, NDIM >::coeffs2values(), madness::FunctionCommonFunctionality< T, NDIM >::coeffs2values(), madness::FunctionImpl< T, LDIM >::coeffs2values(), madness::FunctionImpl< T, LDIM >::coeffs2values(), madness::FunctionImpl< T, LDIM >::do_binary_op(), madness::FunctionImpl< T, LDIM >::do_mul(), madness::FunctionImpl< T, LDIM >::err_box(), madness::FunctionImpl< T, NDIM >::eval_cube(), madness::FunctionImpl< T, LDIM >::fcube_for_mul(), madness::FunctionImpl< T, LDIM >::fcube_for_mul(), madness::FunctionImpl< T, LDIM >::mul(), madness::FunctionImpl< T, LDIM >::NS_fcube_for_mul(), madness::FunctionImpl< T, LDIM >::NScoeffs2values(), madness::FunctionImpl< T, NDIM >::do_unary_op_value_inplace< opT >::operator()(), madness::FunctionImpl< T, NDIM >::parent_to_child(), madness::FunctionImpl< T, NDIM >::project(), test_proj(), madness::FunctionImpl< T, NDIM >::trace_local(), madness::FunctionCommonFunctionality< T, NDIM >::values2coeffs(), madness::FunctionCommonFunctionality< T, NDIM >::values2coeffs(), madness::FunctionImpl< T, LDIM >::values2coeffs(), madness::FunctionImpl< T, LDIM >::values2coeffs(), and madness::FunctionImpl< T, LDIM >::values2NScoeffs().
|
inlinestatic |
Returns the width of each user cell dimension.
Referenced by madness::DFTCoulombPeriodicOp< T, NDIM >::DFTCoulombPeriodicOp(), madness::DFTNuclearChargeDensityOp< T, NDIM >::DFTNuclearChargeDensityOp(), MolecularNuclearPotentialFunctor2::MolecularNuclearPotentialFunctor2(), madness::TwoElectronInterface< T, NDIM >::TwoElectronInterface(), madness::nemo_u1_functors::append(), madness::XCOperator< T, NDIM >::apply_tau_term(), madness::BSHOperatorPtr3D(), madness::DiagnosticMatrix< T, NDIM >::build_Gab_bra(), madness::DFT< T, NDIM >::calculate_tot_coulomb_energy(), madness::DFT< T, NDIM >::calculate_tot_pe_sp(), madness::SeparatedConvolution< double, 3 >::check_cubic(), madness::SeparatedConvolution< double, 3 >::displacement_real_distsq(), madness::FunctionImpl< T, LDIM >::do_apply(), madness::Derivative< double, 1 >::do_diff2b(), madness::FunctionImpl< T, NDIM >::do_print_grid(), madness::fcube(), madness::GradBSHOperator(), GradBSHOperator_Joel(), madness::GradCoulombOperator(), gradPbarA(), madness::GradSlaterOperator(), madness::Solver< T, NDIM >::initial_guess(), madness::TwoElectronInterface< T, NDIM >::initialize(), FunctionIOData< T, NDIM >::initialize_func_coeffs(), madness::SeparatedConvolution< double, 3 >::initialize_images_only(), madness::trajectory< NDIM >::line_xyz(), main(), main(), madness::SeparatedConvolution< double, 3 >::make_coeff_for_operator(), make_grad_operator(), madness::plot_plane(), madness::plot_plane(), madness::plot_plane(), madness::FunctionImpl< T, NDIM >::print_plane_local(), printfunc(), MolecularEntity::read_file(), madness::FunctionImpl< T, LDIM >::read_grid(), madness::FunctionImpl< T, LDIM >::read_grid2(), madness::FunctionDefaults< 1 >::set_length_scale(), madness::FunctionFunctorInterface< double, 3 >::set_length_scale(), madness::sim_to_user(), madness::EigSolver< T, NDIM >::solve(), solve(), test_he_potential(), test_modified(), test_opdir(), test_qm(), test_recursive_application(), testgradG(), testNavierStokes(), and testPeriodicCoulomb3d().
|
inlinestatic |
Gets the default debug flag, which gates verbose MRA diagnostics.
Referenced by madness::FunctionImpl< Q, NDIM >::get_k().
|
inlinestatic |
Returns the default initial projection level.
|
inlinestatic |
Returns the default wavelet order.
Referenced by madness::BSHFunctionInterface::BSHFunctionInterface(), madness::Derivative< double, 1 >::Derivative(), DF::DF(), madness::DFTCoulombOp< T, NDIM >::DFTCoulombOp(), madness::DFTCoulombPeriodicOp< T, NDIM >::DFTCoulombPeriodicOp(), madness::DFTNuclearChargeDensityOp< T, NDIM >::DFTNuclearChargeDensityOp(), madness::ElectronRepulsionInterface< T, NDIM >::ElectronRepulsionInterface(), madness::GeneralTwoElectronInterface< T, NDIM >::GeneralTwoElectronInterface(), NuclearChargeDensityOp< T, NDIM >::NuclearChargeDensityOp(), madness::SeparatedConvolution< double, 3 >::SeparatedConvolution(), madness::SeparatedConvolution< double, 3 >::SeparatedConvolution(), madness::SeparatedConvolution< double, 3 >::SeparatedConvolution(), madness::SeparatedConvolution< double, 3 >::SeparatedConvolution(), madness::SlaterF12Interface::SlaterF12Interface(), madness::SlaterFunctionInterface::SlaterFunctionInterface(), madness::TwoElectronFactory< T, NDIM >::TwoElectronFactory(), madness::TwoElectronInterface< T, NDIM >::TwoElectronInterface(), madness::BSHOperator(), madness::BSHOperator3D(), madness::BSHOperatorPtr(), madness::BSHOperatorPtr3D(), madness::HartreeFock< T, NDIM >::calculate_coulomb_energy(), madness::HartreeFock< T, NDIM >::calculate_exchange_energy(), madness::DFT< T, NDIM >::calculate_tot_coulomb_energy(), madness::DFT< T, NDIM >::calculate_tot_pe_sp(), madness::CoulombOperator(), madness::CoulombOperatorPtr(), madness::smooth< T, NDIM >::cut_oscillations(), MiniDFT::doit(), madness::F2GOperator(), madness::F2GOperatorPtr(), madness::FGOperator(), madness::FGOperatorPtr(), madness::Exchange< T, NDIM >::ExchangeImpl< T, NDIM >::MacroTaskExchangeSimple::finalize_chunk_entries(), madness::free_space_derivative(), madness::GaussOperator(), madness::GaussOperatorPtr(), madness::GradBSHOperator(), GradBSHOperator_Joel(), madness::GradCoulombOperator(), madness::gradient_operator(), gradPbarA(), madness::GradSlaterOperator(), madness::CC2::initialize(), iterate(), madness::smooth< T, NDIM >::linearize(), Calculation::load_mos(), madness::SCF::load_mos(), madness::Solver< T, NDIM >::load_orbitals(), main(), main(), madness::EigSolver< T, NDIM >::make_bsh_operators(), make_grad_operator(), madness::smooth< T, NDIM >::make_inv_mask(), madness::smooth< T, NDIM >::make_mask(), madness::NemoBase::need_recompute_factors_and_potentials(), madness::HartreeFockExchangeOp< T, NDIM >::op_o(), madness::HartreeFockCoulombOp< T, NDIM >::op_r(), madness::density_mask_operator::operator()(), madness::Exchange< T, NDIM >::ExchangeImpl< T, NDIM >::MacroTaskExchangeSimple::operator()(), madness::LRFunctorF12< T, NDIM, LDIM >::MacroTaskLRFInner::operator()(), madness::MolecularEnergy::output_calc_info_schema(), madness::SCF::output_calc_info_schema(), madness::SCF::output_scf_info_schema(), madness::periodic_derivative(), madness::PeriodicBSHOperator3D(), madness::PeriodicBSHOperatorPtr3D(), madness::PeriodicHFExchangeOperator(), madness::PeriodicHFExchangeOperatorPtr(), madness::project(), madness::SCF::project(), madness::Znemo::read_real_guess(), madness::Solver< T, NDIM >::reproject(), madness::NemoBase::reproject_mos(), madness::population::PopulationAnalysis::run(), run_full_closed_shell(), run_full_open_shell(), run_static_closed_shell(), run_static_open_shell(), madness::CCParameters::sanity_check(), madness::SCF::save_mos(), madness::MolecularOrbitals< T, NDIM >::save_restartdata(), madness::Derivative< double, 1 >::set_ble1(), madness::Derivative< double, 1 >::set_ble2(), madness::Derivative< double, 1 >::set_bspline1(), madness::Derivative< double, 1 >::set_bspline2(), madness::Derivative< double, 1 >::set_bspline3(), madness::Exchange< double, 3 >::set_macro_task_info(), Calculation::set_protocol(), madness::Nemo::set_protocol(), madness::SCF::set_protocol(), madness::apply_kernel_helper::slater_apply(), madness::SlaterF12Operator(), madness::SlaterF12OperatorPtr(), madness::SlaterF12OperatorPtr_ND(), madness::SlaterF12sqOperator(), madness::SlaterF12sqOperatorPtr(), madness::SlaterOperator(), madness::SlaterOperatorPtr(), madness::SlaterOperatorPtr_ND(), madness::SmoothingOperator(), madness::SmoothingOperator3D(), madness::EigSolver< T, NDIM >::solve(), madness::Nemo::solve(), madness::SCF::solve(), solve(), test_adaptive_tree(), test_consolidate_vs_direct(), test_conversion(), test_hf_be(), test_hf_he(), test_lowrank_function(), test_opdir(), test_sum_down(), test_sum_down_files(), and test_tt2d_summation().
|
inlinestatic |
Gets the default maximum adaptive refinement level.
Referenced by madness::FunctionImpl< T, LDIM >::partial_inner().
|
inlinestatic |
Returns the default process map that was last initialized via set_default_pmap().
Referenced by madness::copy(), doit(), madness::FunctionDefaults< 1 >::get_pmap(), loadbal(), main(), madness::SCF::make_fock_matrix(), madness::MacroTaskQ::run_all(), madness::Exchange< T, NDIM >::ExchangeImpl< T, NDIM >::MacroTaskExchangeSimple::store_batches(), and trotter().
|
inlinestatic |
Returns the default process map that can be used with the given world.
|
inlinestatic |
Returns number of the default processes returned by get_pmap().
Referenced by madness::FunctionDefaults< 1 >::get_pmap().
|
inlinestatic |
Gets the random load balancing for projection flag.
Referenced by madness::FunctionImpl< T, NDIM >::project_refine_op().
|
inlinestatic |
Returns the reciprocal of the width of each user cell dimension.
Referenced by madness::Derivative< double, 1 >::do_diff2b(), madness::Derivative< double, 1 >::do_diff2i(), and madness::user_to_sim().
|
inlinestatic |
Gets the default adaptive refinement flag.
Referenced by madness::composite_product_op_NS< T, NDIM, opT, LDIM >::operator()(), madness::FunctionImpl< T, NDIM >::Vphi_ij_u_op_NS< opT, LDIM >::operator()(), and madness::FunctionImpl< T, NDIM >::Vphi_op_NS< opT, LDIM >::operator()().
|
inlinestatic |
Returns the default projection level for special boxes.
Referenced by madness::Specialbox_op< T, NDIM >::get_half_of_special_level().
|
inlinestatic |
Returns the default tensor type.
Referenced by do_plot(), energy(), main(), madness::FunctionImpl< T, NDIM >::project_refine_op(), test_consolidate_vs_direct(), test_recursive_apply(), test_tt2d_summation(), and madness::zero_functions_auto_tree_state().
|
inlinestatic |
Returns the default threshold.
Referenced by madness::Complex_CIS_Parameters::Complex_CIS_Parameters(), madness::Coulomb< T, NDIM >::Coulomb(), madness::Coulomb< T, NDIM >::Coulomb(), madness::Coulomb< T, NDIM >::Coulomb(), madness::harmonic_potential_boxed::harmonic_potential_boxed(), madness::Localizer::Localizer(), madness::R_times_arg_div_R::R_times_arg_div_R(), madness::TwoElectronFactory< T, NDIM >::TwoElectronFactory(), madness::MP2::add_local_coupling(), madness::Znemo::analyze(), KPeriodicBSHOperator::apply(), madness::apply(), apply_bsh(), madness::SCF::apply_bsh(), madness::SCF::apply_bsh_macrotask(), madness::SCF::apply_bsh_plain(), madness::SCF::apply_bsh_tiled(), madness::Solver< T, NDIM >::apply_hf_exchange(), madness::Solver< T, NDIM >::apply_hf_exchange4(), madness::CCPotentials::apply_KffK(), madness::ExchangeCommutator::apply_KffK_lowrank_split_alpha(), madness::ExchangeCommutator::apply_KffK_lowrank_three_range(), apply_periodic_bsh(), madness::GTHPseudopotential< Q >::apply_potential(), madness::SCF::apply_potential(), MiniDFT::apply_potential(), madness::GTHPseudopotential< Q >::apply_potential_simple(), madness::XCOperator< T, NDIM >::apply_tau_term(), madness::CCPotentials::apply_transformed_Ue(), madness::CCPotentials::apply_Ue(), madness::DiagnosticMatrix< T, NDIM >::build_Gab_bra(), madness::SCF::canonicalize_virtuals(), madness::TwoElectronInterface< T, NDIM >::coeff(), madness::MolecularOrbitals< T, NDIM >::compute_center(), madness::CC2::compute_local_coupling(), madness::Localizer::compute_localization_matrix(), madness::ExchangeCommutator::compute_lrf_exchange_operator(), compute_update(), madness::NemoBase::construct_nuclear_correlation_factor(), madness::CCPairFunction< T, NDIM >::convert_to_pure_no_op_inplace(), madness::SCF::diag_fock_matrix(), dnuclear_anchor_test(), madness::Solver< T, NDIM >::do_rhs_simple(), MiniDFT::doit(), GygiPot::ESP(), madness::estimate_area(), madness::ExchangeAlgorithm< T, NDIM >::Exchange(), madness::ExchangeCommutator::fk_provider(), madness::smooth< T, NDIM >::get_density_thresh(), madness::Znemo::get_initial_orbitals(), madness::BasisFunctions::guess_contracted_virtuals_from_file(), madness::MP2::guess_mp1_3(), GygiPot::GuessPotential(), madness::hartree_product(), madness::hartree_product(), madness::NuclearCorrelationFactor::initialize(), madness::TDHF::initialize(), madness::OEP::iterate(), madness::Znemo::iterate(), madness::CC2::iterate_lrcc2_pairs(), madness::ExchangeCommutator::kf_provider(), madness::CCPairBuilder::load_function(), madness::CCPotentials::load_function(), Calculation::load_mos(), madness::SCF::load_mos(), madness::Solver< T, NDIM >::load_orbitals(), madness::CCPair::load_pair(), madness::ElectronPair::load_pair(), main(), main(), madness::EigSolver< T, NDIM >::make_bsh_operators(), madness::SCF::make_bsh_operators(), madness::Solver< T, NDIM >::make_bsh_operators(), MiniDFT::make_bsh_operators(), madness::CCPotentials::make_constant_part_macrotask(), MiniDFT::make_coulomb_potential(), DF::make_fermi_potential(), madness::TDHF::make_guess_from_initial_diagonalization(), madness::MP2::make_KffKphi0(), madness::PotentialManager::make_nuclear_potential(), madness::Solver< T, NDIM >::make_nuclear_potential(), make_ri_basis(), madness::Nemo::make_sigma(), madness::MP2::make_Uphi0(), Calculation::make_Upsi(), madness::mask_munging(), madness::MP2::multiply_with_0th_order_Hamiltonian(), madness::munge(), madness::NemoBase::normalize(), nuclear_anchor_test(), madness::CCPairFunction< T, NDIM >::op_pure_to_pure(), madness::BSHApply< T, NDIM >::operator()(), madness::Coulomb< T, NDIM >::MacroTaskCoulomb::operator()(), madness::DNuclear< T, NDIM >::operator()(), madness::Exchange< T, NDIM >::ExchangeImpl< T, NDIM >::MacroTaskExchangeSimple::operator()(), madness::FunctionImpl< T, NDIM >::recursive_apply_op_vec< opT, LDIM >::operator()(), madness::StrongOrthogonalityProjector< T, NDIM >::operator()(), madness::XCOperator< T, NDIM >::operator()(), madness::XCOperator< T, NDIM >::operator()(), madness::LowRankFunction< T, NDIM, LDIM >::orthonormalize(), madness::NemoBase::orthonormalize(), madness::PNO::orthonormalize_cholesky(), madness::MolecularEnergy::output_calc_info_schema(), madness::SCF::output_scf_info_schema(), madness::FunctionImpl< T, LDIM >::partial_inner(), SurfaceMoleculeInteraction::perturbed_molecular_pot(), madness::FunctionImpl< Q, NDIM >::project(), madness::LowRankFunctionFactory< T, NDIM, LDIM >::project(), madness::project(), madness::SCF::project(), madness::LowRankFunctionFactory< T, NDIM, LDIM >::project_from_operator(), madness::LowRankFunctionFactory< T, NDIM, LDIM >::project_from_Y_stable(), madness::LowRankFunctionFactory< T, NDIM, LDIM >::project_stable(), madness::CCPairFunction< T, NDIM >::remove_linearly_dependent_terms(), madness::Solver< T, NDIM >::reproject(), madness::NemoBase::reproject_mos(), madness::Znemo::rotate_subspace(), madness::population::PopulationAnalysis::run(), run_full_closed_shell(), run_full_open_shell(), run_static_closed_shell(), run_static_open_shell(), madness::CCParameters::sanity_check(), madness::Nemo_complex_Parameters::set_derived_values(), madness::Exchange< T, NDIM >::ExchangeImpl< T, NDIM >::set_poisson(), Calculation::set_protocol(), madness::Nemo::set_protocol(), madness::SCF::set_protocol(), madness::smooth< T, NDIM >::smooth_density_from_orbitals(), madness::EigSolver< T, NDIM >::solve(), madness::Nemo::solve(), madness::SCF::solve(), solve(), madness::CC2::solve_cc2(), madness::CC2::solve_mp2_coupled(), madness::SCF::solve_virtuals(), test_adaptive_diagnosis(), test_adaptive_tree(), test_add(), test_arithmetic(), test_combined_operators(), test_consolidate(), test_consolidate_vs_direct(), test_construction(), test_converged_function(), test_coulomb(), test_cross(), test_ctor_orthonormalization(), test_diagnose_GQKffK(), test_diagnose_GQUe(), test_diagnose_GUe(), test_diagnose_Ue(), test_direct_projection(), test_dnuclear(), test_ethylene(), madness::test_exchange(), test_exchange(), test_fock(), test_gconv(), test_generic_exchange(), test_GQUe(), test_GUe(), madness::Diamagnetic_potential_factor::test_harmonic_potential(), test_inner(), test_inner(), test_kinetic(), test_load_store(), test_lowrank_function(), madness::Diamagnetic_potential_factor::test_lz_commutator(), test_meta_gga(), test_meta_gga_one_orbital_energy(), test_multi_to_multi_op(), test_multiply(), test_multiply_with_f12(), test_nemo(), test_norm(), test_nuclear(), test_nuclear_potential(), test_nuclear_potential_big_unit_cell(), test_operator_apply(), test_partial_inner_3d(), test_partial_inner_6d(), test_proj(), test_project_ab(), test_projector(), test_projector(), test_projector_outer(), test_Q12_projector(), test_recursive_apply(), test_remove_lindep(), test_scalar_multiplication(), madness::Diamagnetic_potential_factor::test_scalar_potentials(), test_slater_exchange(), test_sum_down(), test_sum_down_files(), test_swap_particles(), test_transformations(), test_tt2d_summation(), madness::Znemo::test_U_potentials(), madness::Diamagnetic_potential_factor::test_vector_potentials(), test_Vphi_ij_u(), test_weighted_bra_exchange(), test_XCOperator(), test_XCOperator_matrix(), testbsh(), madness::PNO::transform_pairs(), madness::SCF::twoint(), madness::ElementaryInterface< T, NDIM >::values(), and madness::XCOperator< T, NDIM >::weak_xc_terms().
|
inlinestatic |
Gets the default truncation mode.
Referenced by energy(), main(), main(), and madness::CCParameters::sanity_check().
|
inlinestatic |
Gets the default truncate on project flag.
Referenced by energy().
|
inlinestaticprivate |
Referenced by set_defaults().
|
inlinestaticprivate |
|
static |
Makes a default process map for the given world.
References make_default_pmap().
Referenced by madness::Exchange< T, NDIM >::ExchangeImpl< T, NDIM >::MacroTaskExchangeSimple::ensure_node_accumulator(), madness::FunctionDefaults< 1 >::get_pmap(), make_default_pmap(), and set_default_pmap().
|
static |
References apply_randomize, autorefine, cell, debug, get_bc(), initial_level, k, max_refine_level, NDIM, print(), project_randomize, refine, special_level, thresh, truncate_mode, truncate_on_project, and tt.
|
inlinestaticprivate |
|
inlinestatic |
Sets the default process map and redistributes all functions using the old map.
Referenced by DF::DF_load_balance(), madness::SCF::initial_guess_ao_eigenvectors(), madness::SCF::initial_load_bal(), initial_loadbal(), iterate(), EmbeddedDirichlet::load_balance(), load_balance(), madness::load_balance(), madness::load_balance(), loadbal(), loadbal(), madness::SCF::loadbal(), main(), preloadbal(), run(), and test().
|
inlinestatic |
Sets the random load balancing for integral operators flag.
Referenced by doit(), main(), Calculation::set_protocol(), madness::SCF::set_protocol(), test2(), and test_coulomb().
|
inlinestatic |
Sets the default adaptive autorefinement flag.
Existing functions are unaffected
Referenced by doit(), main(), moments(), Calculation::set_protocol(), madness::SCF::set_protocol(), test2(), test_bsh(), test_hf_be(), test_hf_he(), test_math(), test_opdir(), test_proj(), test_unaryop(), and testgradG().
|
inlinestatic |
Sets the default boundary conditions.
Referenced by madness::Solver< T, NDIM >::Solver(), laplacian(), main(), test(), test_gaussian_num_coeffs(), test_gconv(), test_nuclear_energy(), test_nuclear_potential(), test_nuclear_potential2(), test_nuclear_potential3(), test_nuclear_potential_big_unit_cell(), and testNavierStokes().
|
inlinestatic |
Sets the user cell for the simulation.
Existing functions are probably rendered useless.
Referenced by FunctionIOData< T, NDIM >::create_function(), doit(), Plotter::doplot1(), madness::Function< double, 3 >::load(), main(), FunctionIO< double, D >::read_function(), read_function(), test_add(), test_basic(), test_cross(), test_dot(), test_inner(), test_matrix_mul_sparse(), test_multi_to_multi_op(), test_opdir(), test_orthonormalize_canonical(), test_orthonormalize_symmetric(), test_redistribute_to_batches(), test_rot(), test_transform(), and testgradG().
|
inlinestatic |
Sets the user cell to be cubic with each dimension having range [lo,hi].
Existing functions are probably rendered useless.
Referenced by Calculation::Calculation(), MiniDFT::MiniDFT(), madness::SCF::SCF(), madness::Znemo::Znemo(), bench_cell(), doit(), golden_check_ndim(), madness::Solver< T, NDIM >::init(), initialize(), main(), main(), madness::InitParameters::read(), madness::InitParameters::readnw(), run(), run_batched_cell(), run_correctness_cell(), run_one(), run_real_mo(), run_tests(), madness::SCF::set_protocol(), test(), test(), test2(), test2(), madness::smooth< T, NDIM >::test_1d(), test_apply_push_1d(), test_bsh(), test_chin_chen(), test_combined_operators(), test_conv(), test_coulomb(), test_diff(), test_dnuclear(), madness::test_exchange(), test_exchange(), test_gaussian_num_coeffs(), test_he(), test_he_potential(), test_hf_be(), test_hf_h2(), test_hf_he(), test_hydro(), test_io(), test_kinetic(), test_math(), test_nuclear(), test_nuclear_energy(), test_nuclear_potential(), test_nuclear_potential2(), test_nuclear_potential3(), test_nuclear_potential_big_unit_cell(), test_op(), test_output_param_overload(), test_per(), test_periodic(), test_periodic1(), test_periodic2(), test_periodic_bsh(), test_plot(), test_proj(), test_qm(), test_trotter(), test_unaryop(), test_xc2(), test_XCOperator(), test_XCOperator_matrix(), testNavierStokes(), and testPeriodicCoulomb3d().
|
inlinestatic |
Sets the default debug flag; see get_debug.
Referenced by madness::SCF::SCF().
|
static |
Sets the default process map for the use with WorldObjects in world
References make_default_pmap(), madness::World::nproc(), pmap, pmap_nproc, and set_default_pmap().
Referenced by madness::FunctionDefaults< 1 >::get_pmap(), main(), set_default_pmap(), set_defaults(), madness::MacroTaskQ::set_pmap(), madness::Exchange< T, NDIM >::ExchangeImpl< T, NDIM >::MacroTaskExchangeSimple::store_batches(), and test_size().
|
static |
Used to set defaults to k=7, thresh=1-5, for a unit cube [0,1].
References apply_randomize, autorefine, bc, madness::BC_FREE, cell, debug, e(), initial_level, k, make_default_cell(), max_refine_level, project_randomize, recompute_cell_info(), refine, set_default_pmap(), set_defaults(), special_level, thresh, truncate_mode, truncate_on_project, tt, and madness::TT_FULL.
Referenced by initialize(), main(), set_defaults(), and madness::startup().
|
inlinestatic |
Sets the default initial projection level.
Existing functions are unaffected
Referenced by EmbeddedDirichlet::EmbeddedDirichlet(), madness::Znemo::Znemo(), bench_cell(), doit(), golden_check_ndim(), initialize(), madness::CC2::initialize(), main(), run_batched_cell(), run_correctness_cell(), run_one(), Calculation::set_protocol(), madness::SCF::set_protocol(), test(), test2(), test2(), test_add(), test_apply_push_1d(), test_basic(), test_bsh(), test_coulomb(), test_cross(), test_diff(), test_dot(), test_he(), test_hf_be(), test_hf_h2(), test_hf_he(), test_inner(), test_io(), test_math(), test_matrix_mul_sparse(), test_multi_to_multi_op(), test_op(), test_opdir(), test_orthonormalize_canonical(), test_orthonormalize_symmetric(), test_output_param_overload(), test_plot(), test_proj(), test_qm(), test_redistribute_to_batches(), test_rot(), test_transform(), and testgradG().
|
inlinestatic |
Sets the default wavelet order.
Existing functions are unaffacted.
Referenced by DF::DF(), MiniDFT::MiniDFT(), madness::Znemo::Znemo(), bench_cell(), doit(), MiniDFT::doit(), dostuff(), golden_check_ndim(), madness::Solver< T, NDIM >::init(), initialize(), madness::CC2::initialize(), load_function(), madness::main(), main(), main(), madness::InitParameters::read(), madness::InitParameters::readnw(), madness::Solver< T, NDIM >::reproject(), run(), run_batched_cell(), run_correctness_cell(), run_one(), run_real_mo(), run_tests(), Calculation::set_protocol(), madness::SCF::set_protocol(), test(), test(), test2(), test2(), madness::smooth< T, NDIM >::test_1d(), test_add(), test_apply_push_1d(), test_basic(), test_bsh(), test_chin_chen(), test_combined_operators(), test_consolidate_vs_direct(), test_coulomb(), test_cross(), test_diff(), test_dot(), test_gaussian_num_coeffs(), test_he(), test_he_potential(), test_hf_be(), test_hf_h2(), test_hf_he(), test_hydro(), test_inner(), test_io(), test_math(), test_matrix_mul_sparse(), test_multi_to_multi_op(), test_nuclear_energy(), test_nuclear_potential(), test_nuclear_potential2(), test_nuclear_potential3(), test_nuclear_potential_big_unit_cell(), test_op(), test_opdir(), test_orthonormalize_canonical(), test_orthonormalize_symmetric(), test_output_param_overload(), test_per(), test_periodic(), test_periodic1(), test_periodic2(), test_periodic_bsh(), test_plot(), test_proj(), test_qm(), test_redistribute_to_batches(), test_rot(), test_sum_down(), test_transform(), test_trotter(), test_tt2d_summation(), test_unaryop(), test_xc2(), test_XCOperator_matrix(), testgradG(), testNavierStokes(), and testPeriodicCoulomb3d().
|
inlinestatic |
adapt the special level to resolve the smallest length scale
Referenced by madness::CC2::initialize(), and madness::BasisFunctions::SolidHarmonicGaussian::special_level().
|
inlinestatic |
Sets the default maximum adaptive refinement level.
Existing functions are unaffected
Referenced by main().
|
inlinestatic |
Sets the default process map (does not redistribute existing functions).
Existing functions are probably rendered useless
Referenced by doit(), loadbal(), main(), madness::SCF::make_fock_matrix(), madness::MacroTaskQ::run_all(), madness::Exchange< T, NDIM >::ExchangeImpl< T, NDIM >::MacroTaskExchangeSimple::store_batches(), test2(), and trotter().
|
inlinestatic |
Sets the random load balancing for projection flag.
Referenced by main(), Calculation::set_protocol(), madness::SCF::set_protocol(), and test2().
|
inlinestatic |
Sets the default adaptive refinement flag.
Existing functions are unaffected
Referenced by madness::Znemo::Znemo(), bench_cell(), doit(), golden_check_ndim(), initialize(), main(), run_batched_cell(), run_correctness_cell(), run_one(), Calculation::set_protocol(), madness::SCF::set_protocol(), test(), test_add(), test_apply_push_1d(), test_basic(), test_bsh(), test_coulomb(), test_cross(), test_diff(), test_dot(), test_he(), test_hf_be(), test_hf_h2(), test_hf_he(), test_inner(), test_io(), test_math(), test_matrix_mul_sparse(), test_multi_to_multi_op(), test_op(), test_opdir(), test_orthonormalize_canonical(), test_orthonormalize_symmetric(), test_output_param_overload(), test_plot(), test_proj(), test_qm(), test_redistribute_to_batches(), test_rot(), test_transform(), and testgradG().
|
inlinestatic |
Existing functions are unaffected.
Referenced by madness::CC2::initialize().
|
inlinestatic |
Sets the default tensor type.
Referenced by main(), run_tests(), test_consolidate_vs_direct(), test_hartree_product(), test_multiply(), test_partial_inner(), test_projector(), test_Q12_projector(), test_recursive_apply(), test_sum_down(), test_sum_down_files(), test_tt2d_summation(), test_vector_composite(), and test_Vphi_ij_u().
|
inlinestatic |
Sets the default threshold.
Existing functions are unaffected
Referenced by DF::DF(), MiniDFT::MiniDFT(), madness::LowRankFunctionFactory< T, NDIM, LDIM >::ThreshGuard::ThreshGuard(), madness::Znemo::Znemo(), madness::LowRankFunctionFactory< T, NDIM, LDIM >::ThreshGuard::~ThreshGuard(), bench_cell(), doit(), MiniDFT::doit(), dostuff(), golden_check_ndim(), madness::MP2::guess_mp1_3(), madness::Solver< T, NDIM >::init(), initialize(), madness::CC2::initialize(), load_function(), main(), main(), madness::CCPotentials::make_constant_part_macrotask(), madness::Nemo::make_sigma(), madness::StrongOrthogonalityProjector< T, NDIM >::operator()(), madness::Solver< T, NDIM >::reproject(), run(), run_batched_cell(), run_correctness_cell(), run_one(), run_real_mo(), run_tests(), Calculation::set_protocol(), madness::SCF::set_protocol(), madness::CC2::solve(), test(), test(), test2(), test2(), madness::smooth< T, NDIM >::test_1d(), test_adaptive_diagnosis(), test_add(), test_apply_push_1d(), test_basic(), test_bsh(), test_chin_chen(), test_combined_operators(), test_consolidate_vs_direct(), test_construction(), test_coulomb(), test_cross(), test_diff(), test_direct_projection(), test_dnuclear(), test_dot(), madness::test_exchange(), test_exchange(), test_fock(), test_gaussian_num_coeffs(), test_he(), test_he_potential(), test_hf_be(), test_hf_h2(), test_hf_he(), test_hydro(), test_inner(), test_io(), test_math(), test_matrix_mul_sparse(), test_meta_gga_one_orbital_energy(), test_multi_to_multi_op(), test_nemo(), test_nuclear(), test_nuclear_energy(), test_nuclear_potential(), test_nuclear_potential2(), test_nuclear_potential3(), test_nuclear_potential_big_unit_cell(), test_op(), test_opdir(), test_orthonormalize_canonical(), test_orthonormalize_symmetric(), test_output_param_overload(), test_partial_inner(), test_per(), test_periodic(), test_periodic1(), test_periodic2(), test_periodic_bsh(), test_plot(), test_proj(), test_qm(), test_redistribute_to_batches(), test_remove_lindep(), test_rot(), test_sum_down(), test_tight_diffuse(), test_transform(), test_trotter(), test_tt2d_summation(), test_unaryop(), test_Vphi_ij_u(), test_xc2(), test_XCOperator(), test_XCOperator_matrix(), testgradG(), testNavierStokes(), and testPeriodicCoulomb3d().
|
inlinestatic |
Sets the default truncation mode.
Existing functions are unaffected
Referenced by DF::DF(), MiniDFT::MiniDFT(), madness::MP2::MP2(), madness::SCF::SCF(), madness::Znemo::Znemo(), doit(), initialize(), madness::CC2::initialize(), main(), main(), run(), run_one(), Calculation::set_protocol(), test(), test(), test2(), test2(), test_add(), test_basic(), test_bsh(), test_coulomb(), test_cross(), test_diff(), test_dot(), test_he(), test_hf_be(), test_hf_h2(), test_hf_he(), test_inner(), test_io(), test_math(), test_matrix_mul_sparse(), test_multi_to_multi_op(), test_op(), test_opdir(), test_orthonormalize_canonical(), test_orthonormalize_symmetric(), test_per(), test_proj(), test_qm(), test_redistribute_to_batches(), test_rot(), test_transform(), and testgradG().
|
inlinestatic |
Sets the default truncate on project flag.
Existing functions are unaffected
Referenced by doit(), main(), test(), test2(), test_bsh(), test_opdir(), test_per(), test_proj(), and testgradG().
|
staticprivate |
If true use randomization for load balancing in apply integral operator.
Referenced by print(), and set_defaults().
|
staticprivate |
Whether to autorefine in multiplication, etc.
Referenced by print(), and set_defaults().
|
staticprivate |
Default boundary conditions, not initialized by default and must be set explicitly before use.
Referenced by set_defaults().
|
staticprivate |
cell[NDIM][2] Simulation cell, cell(0,0)=xlo, cell(0,1)=xhi, ...
Referenced by madness::FunctionDefaults< 1 >::make_default_cell(), madness::FunctionDefaults< 1 >::make_default_cell_width(), print(), madness::FunctionDefaults< 1 >::recompute_cell_info(), madness::FunctionDefaults< 1 >::set_cubic_cell(), and set_defaults().
|
staticprivate |
volume^(1/NDIM), the mean dimension
|
staticprivate |
Size of smallest dimension.
|
staticprivate |
Volume of simulation cell.
|
staticprivate |
Width of simulation cell in each dimension.
|
staticprivate |
Controls output of debug info.
Referenced by print(), and set_defaults().
|
staticprivate |
Initial level for fine scale projection.
Referenced by print(), and set_defaults().
|
staticprivate |
Wavelet order.
Referenced by print(), and set_defaults().
|
staticprivate |
Level at which to stop refinement.
Referenced by print(), and set_defaults().
|
staticprivate |
Default mapping of keys to processes.
Referenced by set_default_pmap().
|
staticprivate |
Number of processes assumed by pmap, -1 indicates uninitialized pmap.
Referenced by set_default_pmap().
|
staticprivate |
If true use randomization for load balancing in project/refine.
Referenced by print(), and set_defaults().
|
staticprivate |
Reciprocal of width.
Referenced by madness::FunctionDefaults< 1 >::recompute_cell_info().
|
staticprivate |
Whether to refine new functions.
Referenced by print(), and set_defaults().
|
staticprivate |
Minimum level for fine scale projection of special boxes.
Referenced by print(), and set_defaults().
|
staticprivate |
Truncation threshold.
Referenced by print(), and set_defaults().
|
staticprivate |
Truncation method.
Referenced by print(), and set_defaults().
|
staticprivate |
If true initial projection inserts at n-1 not n.
Referenced by print(), and set_defaults().
|
staticprivate |
structure of the tensor in FunctionNode
Referenced by print(), and set_defaults().