MADNESS  version 0.9
Classes | Namespaces | Macros | Functions
worldexc.h File Reference

Implements MadnessException. More...

#include <iosfwd>
#include <exception>
#include <madness/madness_config.h>
Include dependency graph for worldexc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  madness::MadnessException
 Most exceptions thrown in MADNESS should be derived from these. More...
 

Namespaces

 madness
 Holds machinery to set up Functions/FuncImpls using various Factories and Interfaces.
 

Macros

#define MADNESS_DISPLAY_EXCEPTION_BREAK_MESSAGE   1
 
#define MADNESS_EXCEPTION(msg, value)
 

Functions

std::ostream & madness::operator<< (std::ostream &out, const MadnessException &e)
 Print a MadnessException to the stream (for human consumption) More...
 
void madness::exception_break (bool)
 This function is executed just before a madness exception is thrown. More...
 

Detailed Description

Implements MadnessException.

Macro Definition Documentation

#define MADNESS_DISPLAY_EXCEPTION_BREAK_MESSAGE   1
#define MADNESS_EXCEPTION (   msg,
  value 
)
Value:
{ \
throw madness::MadnessException(msg,0,value,__LINE__,__FUNCTION__,__FILE__); \
}
#define MADNESS_DISPLAY_EXCEPTION_BREAK_MESSAGE
Definition: worldexc.h:47
void exception_break(bool message)
This function is executed just before a madness exception is thrown.
Definition: world.cc:243
Most exceptions thrown in MADNESS should be derived from these.
Definition: worldexc.h:53

Referenced by madness::ThreadPool::add(), madness::TDA_DFT::apply_kernel(), madness::Solver< T, NDIM >::apply_potential(), madness::AtomicBasisSet::basisfn_to_atom(), AtomicBasisSet::basisfn_to_atom(), madness::PthreadConditionVariable::broadcast(), madness::archive::TextFstreamInputArchive::check_start_tag(), madness::FunctionFunctorInterface< double_complex, 3 >::coeff(), madness::GenTensor< T >::config(), madness::TDA_DFT::convolution_with_kernel(), madness::create_nuclear_correlation_factor(), madness::Solver< T, NDIM >::csqrt(), madness::diffuse_functions::diffuse_functions(), madness::FunctionImpl< Q, NDIM >::do_apply_directed_screening(), madness::FunctionImpl< T, NDIM >::do_print_grid(), draw_plane(), madness::DerivativeBase< T, NDIM >::enforce_bc(), madness::Barrier::enter(), madness::ConcurrentHashMap< uniqueidT, void *, uniqueidT >::erase(), madness::kain_solver_helper_struct::erase_subspace(), madness::Function< double, 6 >::errsq_local(), madness::Function< double, 6 >::eval(), madness::FunctionImpl< T, NDIM >::eval_cube(), madness::Function< double, 6 >::eval_local_only(), madness::Function< double, 6 >::evaldepthpt(), madness::Function< double, 6 >::evalR(), madness::TDA_DFT::evaluate_derivatives(), madness::fcube(), madness::FunctionImpl< Q, NDIM >::fcube_for_mul(), madness::Solver< T, NDIM >::find_kpt_from_orb(), madness::XCfunctional::fxc(), madness::GFit< T, NDIM >::GeneralFit(), madness::GenTensor< T >::GenTensor(), madness::AtomicBasisSet::get_atomic_basis_function(), AtomicBasisSet::get_atomic_basis_function(), madness::get_charge_from_file(), madness::GenTensor< T >::get_configs(), madness::SRConf< T >::get_configs(), madness::WorldProfile::get_entry(), madness::exoperators::get_exops(), madness::TwoElectronFactory::get_functor(), AtomicBasis::get_shell_from_basis_function(), madness::AtomicBasis::get_shell_from_basis_function(), madness::SDFPlane::grad_sdf(), madness::SDFRectangle::grad_sdf(), madness::SDFCone::grad_sdf(), madness::SDFParaboloid::grad_sdf(), madness::SDFBox::grad_sdf(), madness::SDFEllipsoid::grad_sdf(), madness::SDFCylinder::grad_sdf(), madness::Nemo::gradient(), madness::Solver< T, NDIM >::initial_guess(), madness::initialize(), madness::RMI::isend(), madness::archive::VectorInputArchive::load(), madness::archive::TextFstreamInputArchive::load(), madness::archive::ArchiveLoadImpl< BufferInputArchive, WorldObject< Derived > * >::load(), madness::archive::ArchiveLoadImpl< BufferInputArchive, const WorldObject< Derived > * >::load(), madness::archive::ArchiveLoadImpl< Archive, const FunctionImpl< T, NDIM > * >::load(), madness::archive::ArchiveLoadImpl< Archive, FunctionImpl< T, NDIM > * >::load(), madness::GTHPseudopotential< double >::load_pseudo_from_file(), madness::Mutex::lock(), madness::RecursiveMutex::lock(), madness::Spinlock::lock(), madness::PthreadConditionVariable::lock(), main(), madness::TDA::memwatch(), madness::Function< double, 6 >::mul_on_demand(), madness::Mutex::Mutex(), madness::FunctionImpl< Q, NDIM >::NS_fcube_for_mul(), Molecule::nuclear_dipole(), madness::Molecule::nuclear_dipole(), madness::ThreadBase::num_hw_processors(), madness::archive::BinaryFstreamInputArchive::open(), madness::archive::TextFstreamInputArchive::open(), madness::Projector< double, 3 >::operator()(), madness::FunctionFunctorInterface< double_complex, 3 >::operator()(), madness::get_derivatives::operator()(), madness::ProjRLMFunctor::operator()(), madness::perturbed_vxc::operator()(), BoundWF::operator()(), madness::DerivativeBase< T, NDIM >::operator()(), madness::hartree_leaf_op< T, NDIM >::operator()(), madness::hartree_convolute_leaf_op< T, NDIM, LDIM, opT >::operator()(), madness::noop< T, NDIM >::operator()(), madness::FunctionImpl< T, NDIM >::Vphi_op_NS< opT, LDIM >::operator()(), madness::FunctionImpl< T, NDIM >::do_inner_local< R >::operator()(), madness::Hash_private::HashAccessor< hashT, lockmode >::operator*(), madness::Hash_private::HashAccessor< hashT, lockmode >::operator->(), madness::Key< OPDIM >::operator==(), madness::FunctionImpl< T, NDIM >::parent_to_child_NS(), ParserHandler< T, NDIM >::ParserHandler(), madness::plot_along(), madness::plot_line(), madness::plot_plane(), madness::plotdx(), plotvtk(), madness::plotvtk_begin(), madness::plotvtk_data(), madness::plotvtk_end(), madness::position_stream(), madness::archive::ArchivePrePostImpl< Archive, T >::preamble_load(), madness::FunctionImpl< T, NDIM >::project(), madness::Function< double, 6 >::project_out(), madness::FunctionImpl< Q, NDIM >::project_out2(), InputParameters::read(), Molecule::read_file(), madness::Molecule::read_file(), SCFParameters::read_file(), madness::ElectronicStructureParams::read_file(), madness::CalculationParameters::read_file(), AtomicBasisSet::read_file(), madness::AtomicBasisSet::read_file(), madness::FunctionImpl< Q, NDIM >::read_grid(), madness::FunctionImpl< Q, NDIM >::read_grid2(), madness::RecursiveMutex::RecursiveMutex(), madness::Barrier::register_thread(), madness::FutureImpl< bool >::replace_with(), madness::TaskInterface::run(), madness::kain_solver_helper_struct::sanity_check(), scaled_plotvtk_begin(), madness::ProjRLMFunctor::screened(), madness::detail::ReferenceWrapper< T >::serialize(), madness::WorldContainerIterator< internal_iteratorT >::serialize(), madness::FunctionImpl< T, NDIM >::do_check_symmetry_local::serialize(), madness::FunctionImpl< T, NDIM >::do_merge_trees< Q, R >::serialize(), madness::FunctionImpl< T, NDIM >::do_mapdim::serialize(), madness::FunctionImpl< T, NDIM >::do_standard::serialize(), madness::TDA::setup(), madness::PthreadConditionVariable::signal(), solve(), madness::CIS::solve_internal_par(), sqrt(), madness::ThreadBase::start(), madness::symmetrize(), test_modified(), test_recursive_application(), madness::FunctionImpl< T, NDIM >::truncate_tol(), madness::MutexReaderWriter::try_lock(), madness::Mutex::unlock(), madness::RecursiveMutex::unlock(), madness::Spinlock::unlock(), madness::MutexReaderWriter::unlock(), madness::PthreadConditionVariable::unlock(), madness::kain_solver_helper_struct::update(), madness::FunctionFunctorInterface< double_complex, 3 >::values(), and madness::FunctionImpl< T, NDIM >::verify_tree().