DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
Exceptions.t.cc
Go to the documentation of this file.
1
2namespace dftfe
3{
4 namespace utils
5 {
6 template <class T>
7 void
8 throwException(bool condition, std::string msg)
9 {
10 if (!condition)
11 throw T(msg);
12 }
13 } // end of namespace utils
14
15} // end of namespace dftfe
Definition Cell.h:36
void throwException(bool condition, std::string msg="")
Definition pseudoPotentialToDftfeConverter.cc:34