suanPan
command.cpp File Reference
Include dependency graph for command.cpp:

Functions

int benchmark ()
 
int qrcode ()
 
void overview ()
 
void perform_upsampling (istringstream &command)
 
void perform_response_spectrum (istringstream &command)
 
void perform_sdof_response (istringstream &command)
 
int create_new_domain (const shared_ptr< Bead > &model, istringstream &command)
 
int create_new_external_module (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int create_new_initial (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int create_new_node (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int disable_object (const shared_ptr< Bead > &model, istringstream &command)
 
int enable_object (const shared_ptr< Bead > &model, istringstream &command)
 
int erase_object (const shared_ptr< Bead > &model, istringstream &command)
 
int list_object (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int protect_object (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int save_object (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int suspend_object (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int use_object (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int set_property (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int print_info (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int print_command ()
 
int run_example ()
 
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 = 1
 
fs::path SUANPAN_OUTPUT = fs::current_path()
 
fs::path SUANPAN_EXE
 

Function Documentation

◆ benchmark()

int benchmark ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ create_new_domain()

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

◆ create_new_external_module()

int create_new_external_module ( const shared_ptr< DomainBase > &  domain,
istringstream &  command 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ create_new_initial()

int create_new_initial ( const shared_ptr< DomainBase > &  domain,
istringstream &  command 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ create_new_node()

int create_new_node ( const shared_ptr< DomainBase > &  domain,
istringstream &  command 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ disable_object()

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

◆ enable_object()

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

◆ erase_object()

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

◆ list_object()

int list_object ( const shared_ptr< DomainBase > &  domain,
istringstream &  command 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ overview()

void overview ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ perform_response_spectrum()

void perform_response_spectrum ( istringstream &  command)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ perform_sdof_response()

void perform_sdof_response ( istringstream &  command)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ perform_upsampling()

void perform_upsampling ( istringstream &  command)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_command()

int print_command ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ print_info()

int print_info ( const shared_ptr< DomainBase > &  domain,
istringstream &  command 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ protect_object()

int protect_object ( const shared_ptr< DomainBase > &  domain,
istringstream &  command 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ qrcode()

int qrcode ( )
Here is the caller graph for this function:

◆ run_example()

int run_example ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ save_object()

int save_object ( const shared_ptr< DomainBase > &  domain,
istringstream &  command 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_property()

int set_property ( const shared_ptr< DomainBase > &  domain,
istringstream &  command 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ suspend_object()

int suspend_object ( const shared_ptr< DomainBase > &  domain,
istringstream &  command 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ use_object()

int use_object ( const shared_ptr< DomainBase > &  domain,
istringstream &  command 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ SUANPAN_ERROR_COUNT

unsigned SUANPAN_ERROR_COUNT = 0

◆ SUANPAN_EXE

fs::path SUANPAN_EXE
extern

◆ SUANPAN_NUM_NODES

int SUANPAN_NUM_NODES = 1

◆ 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