suanPan
🧮 An Open Source, Parallel and Heterogeneous Finite Element Analysis Framework
Loading...
Searching...
No Matches
command.cpp File Reference
Include dependency graph for command.cpp:

Functions

int process_command (const shared_ptr< Bead > &model, std::istringstream &&command)
 
auto sanitize_command (std::string &line, const char delimiter)
 
bool normalise_command (std::string &all_line, std::string &command_line)
 
int process_file (const shared_ptr< Bead > &model, const char *file_name)
 
int execute_command (std::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
 

Function Documentation

◆ process_command()

int process_command ( const shared_ptr< Bead > &  model,
std::istringstream &&  command 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_file()

int process_file ( const shared_ptr< Bead > &  model,
const char *  file_name 
)
Here is the caller graph for this function:

◆ sanitize_command()

auto sanitize_command ( std::string &  line,
const char  delimiter 
)

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