|
static void | throwErrorIfUnset (const std::string &x, const std::string &name) |
|
static void | throwErrorIfUnset (const std::vector< std::string > &x, const std::string &name) |
|
static void | throwErrorIfUnset (const double &x, const std::string &name) |
|
static void | throwErrorIfUnset (const Eigen::VectorXi &x, const std::string &name) |
|
static void | throwErrorIfUnset (const Eigen::Vector3i &x, const std::string &name) |
|
static void | throwErrorIfUnset (const Eigen::VectorXd &x, const std::string &name) |
|
static void | throwErrorIfUnset (const Eigen::MatrixXd &x, const std::string &name) |
|
static void | throwErrorIfUnset (const Eigen::Tensor< double, 3 > &x, const std::string &name) |
|
static void | throwWarningIfUnset (const std::string &x, const std::string &name) |
|
An app is a subprogram, used e.g. to compute phonon transport, or a DoS. The base class is almost just an interface, with the implementation given in the derived classes.
To create a new app, 1) create a new subclass of App. 2) implement the run() method, with the main body of the subprogram. 3) Implement checkRequirements(), which checks that the user input has loaded the necessary input flags. 4) Update the base class App header, adding a new app name to choices. 5) Update the base class loadApp method in the app.cpp file, adding the possibility of loading the new application.