suanPan
Loading...
Searching...
No Matches
command.cpp File Reference
Include dependency graph for command.cpp:

Functions

int process_command (const shared_ptr< Bead > &model, istringstream &command)
 
bool normalise_command (string &all_line, string &command_line)
 
int process_file (const shared_ptr< Bead > &model, const char *file_name)
 
int execute_command (istringstream &command)
 
fs::path get_history_path ()
 

Variables

unsigned SUANPAN_WARNING_COUNT = 0
 
unsigned SUANPAN_ERROR_COUNT = 0
 
int SUANPAN_NUM_THREADS = std::max(1, static_cast<int>(std::thread::hardware_concurrency()))
 
int SUANPAN_NUM_NODES = comm_size
 
fs::path SUANPAN_OUTPUT = fs::current_path()
 
fs::path SUANPAN_EXE
 

Variable Documentation

◆ SUANPAN_ERROR_COUNT

unsigned SUANPAN_ERROR_COUNT = 0

◆ SUANPAN_EXE

fs::path SUANPAN_EXE
extern

◆ SUANPAN_NUM_NODES

int SUANPAN_NUM_NODES = comm_size

◆ SUANPAN_NUM_THREADS

int SUANPAN_NUM_THREADS = std::max(1, static_cast<int>(std::thread::hardware_concurrency()))

◆ SUANPAN_OUTPUT

fs::path SUANPAN_OUTPUT = fs::current_path()

◆ SUANPAN_WARNING_COUNT

unsigned SUANPAN_WARNING_COUNT = 0