DFT-FE
1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
workspace
include
Exceptions.t.cc
Go to the documentation of this file.
1
2
namespace
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
dftfe::utils
Definition
Cell.h:36
dftfe::utils::throwException
void throwException(bool condition, std::string msg="")
dftfe
Definition
pseudoPotentialToDftfeConverter.cc:34
Generated by
1.13.2