suanPan
|
#include "command.h"
#include <thread>
#include <Constraint/Constraint.h>
#include <Constraint/ConstraintParser.h>
#include <Constraint/Criterion/Criterion.h>
#include <Converger/Converger.h>
#include <Converger/ConvergerParser.h>
#include <Domain/Domain.h>
#include <Domain/ExternalModule.h>
#include <Domain/Node.h>
#include <Domain/Group/Group.h>
#include <Domain/Group/GroupParser.h>
#include <Element/Element.h>
#include <Element/ElementParser.h>
#include <Element/Modifier/Modifier.h>
#include <Element/Utility/Orientation.h>
#include <Element/Visualisation/vtkParser.h>
#include <Load/Load.h>
#include <Load/LoadParser.h>
#include <Load/Amplitude/Amplitude.h>
#include <Material/Material.h>
#include <Material/MaterialParser.h>
#include <Material/MaterialTester.h>
#include <Recorder/Recorder.h>
#include <Recorder/RecorderParser.h>
#include <Section/Section.h>
#include <Section/SectionParser.h>
#include <Section/SectionTester.h>
#include <Solver/Solver.h>
#include <Solver/SolverParser.h>
#include <Solver/Integrator/Integrator.h>
#include <Step/Bead.h>
#include <Step/Frequency.h>
#include <Step/Step.h>
#include <Step/StepParser.h>
#include <Toolbox/argument.h>
#include <Toolbox/Expression.h>
#include <Toolbox/ExpressionParser.h>
#include <Toolbox/resampling.h>
#include <Toolbox/response_spectrum.h>
#include <Toolbox/thread_pool.hpp>
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 |
int benchmark | ( | ) |
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 | ||
) |
void overview | ( | ) |
void perform_response_spectrum | ( | istringstream & | command | ) |
void perform_sdof_response | ( | istringstream & | command | ) |
void perform_upsampling | ( | istringstream & | command | ) |
int print_command | ( | ) |
int print_info | ( | const shared_ptr< DomainBase > & | domain, |
istringstream & | command | ||
) |
int protect_object | ( | const shared_ptr< DomainBase > & | domain, |
istringstream & | command | ||
) |
int qrcode | ( | ) |
int run_example | ( | ) |
int save_object | ( | const shared_ptr< DomainBase > & | domain, |
istringstream & | command | ||
) |
int set_property | ( | 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 | ||
) |
unsigned SUANPAN_ERROR_COUNT = 0 |
|
extern |
int SUANPAN_NUM_NODES = 1 |
int SUANPAN_NUM_THREADS = std::max(1, static_cast<int>(std::thread::hardware_concurrency())) |
fs::path SUANPAN_OUTPUT = fs::current_path() |
unsigned SUANPAN_WARNING_COUNT = 0 |