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

Functions

void qrcode ()
 
int benchmark ()
 
void perform_upsampling (istringstream &command)
 
void perform_response_spectrum (istringstream &command)
 
void perform_sdof_response (istringstream &command)
 
int process_command (const shared_ptr< Bead > &model, istringstream &command)
 
int process_file (const shared_ptr< Bead > &model, const char *file_name)
 
int create_new_domain (const shared_ptr< Bead > &model, 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 save_object (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int list_object (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int suspend_object (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int protect_object (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int create_new_nodegroup (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int create_new_elementgroup (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int create_new_generate (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int create_new_generatebyrule (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int create_new_generatebyplane (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int create_new_generatebypoint (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int create_new_groupgroup (const shared_ptr< DomainBase > &domain, 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 set_property (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int print_info (const shared_ptr< DomainBase > &domain, istringstream &command)
 
int run_example ()
 
int print_command ()
 
int execute_command (istringstream &command)
 

Variables

int SUANPAN_NUM_THREADS = std::max(1, static_cast<int>(std::thread::hardware_concurrency()))
 
fs::path SUANPAN_OUTPUT = fs::current_path()
 

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_elementgroup()

int create_new_elementgroup ( 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_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_generate()

int create_new_generate ( 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_generatebyplane()

int create_new_generatebyplane ( 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_generatebypoint()

int create_new_generatebypoint ( 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_generatebyrule()

int create_new_generatebyrule ( 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_groupgroup()

int create_new_groupgroup ( 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:

◆ create_new_nodegroup()

int create_new_nodegroup ( 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:

◆ execute_command()

int execute_command ( istringstream &  command)
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:

◆ 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:

◆ process_command()

int process_command ( const shared_ptr< Bead > &  model,
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 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()

void qrcode ( )
Here is the call graph for this function:
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:

Variable Documentation

◆ 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()