SIRIUS 7.5.0
Electronic structure library and applications
Classes | Namespaces | Functions
testing.hpp File Reference

Common functions for the tests and unit tests. More...

Go to the source code of this file.

Classes

class  sirius::Measurement
 

Namespaces

module  sirius
 Namespace of the SIRIUS library.
 

Functions

template<typename F >
int sirius::call_test (std::string label__, F &&f__)
 
template<typename F >
int sirius::call_test (std::string label__, F &&f__, cmd_args const &args__)
 
template<typename T >
auto sirius::random_symmetric (int N__, int bs__, la::BLACS_grid const &blacs_grid__)
 
template<typename T >
auto sirius::random_positive_definite (int N__, int bs__=16, la::BLACS_grid const *blacs_grid__=nullptr)
 
auto sirius::create_simulation_context (nlohmann::json const &conf__, r3::matrix< double > L__, int num_atoms__, std::vector< r3::vector< double > > coord__, bool add_vloc__, bool add_dion__)
 
template<typename T >
void sirius::randomize (wf::Wave_functions< T > &wf__)
 

Detailed Description

Common functions for the tests and unit tests.

Definition in file testing.hpp.