ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Namespaces | Functions
tool_quit.h File Reference
#include <cassert>
#include <complex>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <string>
#include <valarray>
#include <vector>
Include dependency graph for tool_quit.h:

Go to the source code of this file.

Namespaces

namespace  ModuleBase
 

Functions

void ModuleBase::WARNING (const std::string &file, const std::string &description)
 Print out warning information in warning.log file.
 
void ModuleBase::QUIT (void)
 Close .log files and exit.
 
void ModuleBase::QUIT (int ret)
 Close .log files and exit.
 
void ModuleBase::WARNING_QUIT (const std::string &file, const std::string &description)
 Combine the functions of WARNING and QUIT.
 
void ModuleBase::WARNING_QUIT (const std::string &file, const std::string &description, int ret)
 Combine the functions of WARNING and QUIT.
 
void ModuleBase::CHECK_WARNING_QUIT (const bool error, const std::string &file, const std::string &calculation, const std::string &description)
 Check, if true, WARNING_QUIT.