QMCPACK
test_Quadrature.cpp
Go to the documentation of this file.
1 //////////////////////////////////////////////////////////////////////////////////////
2 // This file is distributed under the University of Illinois/NCSA Open Source License.
3 // See LICENSE file in top directory for details.
4 //
5 // Copyright (c) 2022 QMCPACK developers.
6 //
7 // File developed by: Cody A. Melton, cmelton@sandia.gov, Sandia National Laboratories
8 //
9 // File refactored from QMCHamiltonians/tests/test_ecp.cpp
10 //////////////////////////////////////////////////////////////////////////////////////
11 
12 
13 #include "catch.hpp"
14 #include "Configuration.h"
15 #include "Numerics/Quadrature.h"
16 
17 namespace qmcplusplus
18 {
19 TEST_CASE("CheckSphericalIntegration", "[numerics]")
20 {
21  // Use the built-in quadrature rule check
22  for (int quadrature_index = 1; quadrature_index < 9; quadrature_index++)
23  {
24  Quadrature3D<QMCTraits::RealType> myRule(quadrature_index, false);
25  REQUIRE(myRule.quad_ok);
26  }
27 }
28 
29 } // namespace qmcplusplus
helper functions for EinsplineSetBuilder
Definition: Configuration.h:43
TEST_CASE("complex_helper", "[type_traits]")
REQUIRE(std::filesystem::exists(filename))