MBDyn-1.7.3
|
Go to the source code of this file.
Functions | |
int | mbc_py_nodal_initialize (const char *const path, const char *const host, unsigned port, int timeout, unsigned verbose, unsigned data_and_next, unsigned refnode, unsigned nodes, unsigned labels, unsigned rot, unsigned accels) |
int | mbc_py_nodal_negotiate (unsigned id) |
int | mbc_py_nodal_send (unsigned id, int last) |
int | mbc_py_nodal_recv (unsigned id) |
int | mbc_py_nodal_destroy (unsigned id) |
int | mbc_py_modal_initialize (const char *const path, const char *const host, unsigned port, int timeout, unsigned verbose, unsigned data_and_next, unsigned refnode, unsigned modes) |
int | mbc_py_modal_negotiate (unsigned id) |
int | mbc_py_modal_send (unsigned id, int last) |
int | mbc_py_modal_recv (unsigned id) |
int | mbc_py_modal_destroy (unsigned id) |
int mbc_py_modal_destroy | ( | unsigned | id | ) |
Definition at line 426 of file mbc_py.cc.
References m_mbc, and mbc_modal_destroy().
int mbc_py_modal_initialize | ( | const char *const | path, |
const char *const | host, | ||
unsigned | port, | ||
int | timeout, | ||
unsigned | verbose, | ||
unsigned | data_and_next, | ||
unsigned | refnode, | ||
unsigned | modes | ||
) |
Definition at line 312 of file mbc_py.cc.
References data_and_next, mbc_t::data_and_next, m_mbc, mbc, mbc_modal_t::mbc, mbc_inet_init(), mbc_modal_init(), mbc_unix_init(), timeout, mbc_t::timeout, verbose, and mbc_t::verbose.
int mbc_py_modal_negotiate | ( | unsigned | id | ) |
Definition at line 363 of file mbc_py.cc.
References m_mbc, MBC_F_REF_NODE, mbc_m_p, mbc_m_p_size, mbc_m_q, mbc_m_q_size, mbc_m_qp, mbc_m_qp_size, mbc_modal_negotiate_request(), MBC_P, MBC_Q, MBC_QP, mbc_r_f, MBC_R_F, mbc_r_f_size, mbc_r_m, MBC_R_M, mbc_r_m_size, mbc_r_omega, MBC_R_OMEGA, mbc_r_omega_size, mbc_r_r, MBC_R_R, mbc_r_r_size, mbc_r_x, MBC_R_X, mbc_r_x_size, mbc_r_xp, MBC_R_XP, mbc_r_xp_size, and mbc_modal_t::modes.
int mbc_py_modal_recv | ( | unsigned | id | ) |
Definition at line 416 of file mbc_py.cc.
References m_mbc, and mbc_modal_get_motion().
Definition at line 406 of file mbc_py.cc.
References m_mbc, and mbc_modal_put_forces().
int mbc_py_nodal_destroy | ( | unsigned | id | ) |
Definition at line 288 of file mbc_py.cc.
References mbc_nodal_destroy(), and n_mbc.
int mbc_py_nodal_initialize | ( | const char *const | path, |
const char *const | host, | ||
unsigned | port, | ||
int | timeout, | ||
unsigned | verbose, | ||
unsigned | data_and_next, | ||
unsigned | refnode, | ||
unsigned | nodes, | ||
unsigned | labels, | ||
unsigned | rot, | ||
unsigned | accels | ||
) |
Definition at line 97 of file mbc_py.cc.
References data_and_next, mbc_t::data_and_next, mbc, mbc_nodal_t::mbc, mbc_inet_init(), mbc_nodal_init(), mbc_unix_init(), n_mbc, timeout, mbc_t::timeout, verbose, and mbc_t::verbose.
int mbc_py_nodal_negotiate | ( | unsigned | id | ) |
Definition at line 149 of file mbc_py.cc.
References MBC_F_ACCELS, MBC_F_LABELS, MBC_F_REF_NODE, MBC_F_ROT, MBC_F_ROT_REF_NODE, mbc_n_d_labels, MBC_N_D_LABELS, mbc_n_d_labels_size, mbc_n_euler_123, MBC_N_EULER_123, mbc_n_euler_123_size, mbc_n_f, MBC_N_F, mbc_n_f_size, mbc_n_k_labels, MBC_N_K_LABELS, mbc_n_k_labels_size, mbc_n_m, MBC_N_M, mbc_n_m_size, mbc_n_omega, MBC_N_OMEGA, mbc_n_omega_size, mbc_n_omegap, MBC_N_OMEGAP, mbc_n_omegap_size, mbc_n_r, MBC_N_R, mbc_n_r_size, mbc_n_theta, MBC_N_THETA, mbc_n_theta_size, mbc_n_x, MBC_N_X, mbc_n_x_size, mbc_n_xp, MBC_N_XP, mbc_n_xp_size, mbc_n_xpp, MBC_N_XPP, mbc_n_xpp_size, mbc_nodal_negotiate_request(), mbc_r_d_label, MBC_R_D_LABEL, mbc_r_d_label_size, mbc_r_euler_123, MBC_R_EULER_123, mbc_r_euler_123_size, mbc_r_f, MBC_R_F, mbc_r_f_size, mbc_r_k_label, MBC_R_K_LABEL, mbc_r_k_label_size, mbc_r_m, MBC_R_M, mbc_r_m_size, mbc_r_omega, MBC_R_OMEGA, mbc_r_omega_size, mbc_r_omegap, MBC_R_OMEGAP, mbc_r_omegap_size, mbc_r_r, MBC_R_R, mbc_r_r_size, mbc_r_theta, MBC_R_THETA, mbc_r_theta_size, mbc_r_x, MBC_R_X, mbc_r_x_size, mbc_r_xp, MBC_R_XP, mbc_r_xp_size, mbc_r_xpp, MBC_R_XPP, mbc_r_xpp_size, MBC_ROT_EULER_123, MBC_ROT_MAT, MBC_ROT_NONE, MBC_ROT_THETA, n_mbc, and mbc_nodal_t::nodes.
int mbc_py_nodal_recv | ( | unsigned | id | ) |
Definition at line 278 of file mbc_py.cc.
References mbc_nodal_get_motion(), and n_mbc.
Definition at line 268 of file mbc_py.cc.
References mbc_nodal_put_forces(), and n_mbc.
|
static |
Definition at line 309 of file mbc_py.cc.
Referenced by mbc_py_modal_destroy(), mbc_py_modal_initialize(), mbc_py_modal_negotiate(), mbc_py_modal_recv(), and mbc_py_modal_send().
double* mbc_m_p |
Definition at line 303 of file mbc_py.cc.
Referenced by mbc_py_modal_negotiate().
uint32_t mbc_m_p_size |
Definition at line 307 of file mbc_py.cc.
Referenced by mbc_py_modal_negotiate().
double* mbc_m_q |
Definition at line 301 of file mbc_py.cc.
Referenced by mbc_py_modal_negotiate().
uint32_t mbc_m_q_size |
Definition at line 305 of file mbc_py.cc.
Referenced by mbc_py_modal_negotiate().
double* mbc_m_qp |
Definition at line 302 of file mbc_py.cc.
Referenced by mbc_py_modal_negotiate().
uint32_t mbc_m_qp_size |
Definition at line 306 of file mbc_py.cc.
Referenced by mbc_py_modal_negotiate().
uint32_t* mbc_n_d_labels |
Definition at line 77 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t mbc_n_d_labels_size |
Definition at line 90 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
double* mbc_n_euler_123 |
Definition at line 72 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t mbc_n_euler_123_size |
Definition at line 85 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
double* mbc_n_f |
Definition at line 78 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t mbc_n_f_size |
Definition at line 91 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t* mbc_n_k_labels |
Definition at line 68 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t mbc_n_k_labels_size |
Definition at line 81 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
double* mbc_n_m |
Definition at line 79 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t mbc_n_m_size |
Definition at line 92 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
double* mbc_n_omega |
Definition at line 74 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t mbc_n_omega_size |
Definition at line 87 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
double* mbc_n_omegap |
Definition at line 76 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t mbc_n_omegap_size |
Definition at line 89 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
double* mbc_n_r |
Definition at line 71 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t mbc_n_r_size |
Definition at line 84 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
double* mbc_n_theta |
Definition at line 70 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t mbc_n_theta_size |
Definition at line 83 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
double* mbc_n_x |
Definition at line 69 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t mbc_n_x_size |
Definition at line 82 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
double* mbc_n_xp |
Definition at line 73 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t mbc_n_xp_size |
Definition at line 86 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
double* mbc_n_xpp |
Definition at line 75 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t mbc_n_xpp_size |
Definition at line 88 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t* mbc_r_d_label |
Definition at line 49 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t mbc_r_d_label_size |
Definition at line 62 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
double* mbc_r_euler_123 |
Definition at line 44 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t mbc_r_euler_123_size |
Definition at line 57 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
double* mbc_r_f |
Definition at line 50 of file mbc_py.cc.
Referenced by mbc_py_modal_negotiate(), and mbc_py_nodal_negotiate().
uint32_t mbc_r_f_size |
Definition at line 63 of file mbc_py.cc.
Referenced by mbc_py_modal_negotiate(), and mbc_py_nodal_negotiate().
uint32_t* mbc_r_k_label |
Definition at line 40 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t mbc_r_k_label_size |
Definition at line 53 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
double* mbc_r_m |
Definition at line 51 of file mbc_py.cc.
Referenced by mbc_py_modal_negotiate(), and mbc_py_nodal_negotiate().
uint32_t mbc_r_m_size |
Definition at line 64 of file mbc_py.cc.
Referenced by mbc_py_modal_negotiate(), and mbc_py_nodal_negotiate().
double* mbc_r_omega |
Definition at line 46 of file mbc_py.cc.
Referenced by mbc_py_modal_negotiate(), and mbc_py_nodal_negotiate().
uint32_t mbc_r_omega_size |
Definition at line 59 of file mbc_py.cc.
Referenced by mbc_py_modal_negotiate(), and mbc_py_nodal_negotiate().
double* mbc_r_omegap |
Definition at line 48 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t mbc_r_omegap_size |
Definition at line 61 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
double* mbc_r_r |
Definition at line 43 of file mbc_py.cc.
Referenced by mbc_py_modal_negotiate(), and mbc_py_nodal_negotiate().
uint32_t mbc_r_r_size |
Definition at line 56 of file mbc_py.cc.
Referenced by mbc_py_modal_negotiate(), and mbc_py_nodal_negotiate().
double* mbc_r_theta |
Definition at line 42 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t mbc_r_theta_size |
Definition at line 55 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
double* mbc_r_x |
Definition at line 41 of file mbc_py.cc.
Referenced by mbc_py_modal_negotiate(), and mbc_py_nodal_negotiate().
uint32_t mbc_r_x_size |
Definition at line 54 of file mbc_py.cc.
Referenced by mbc_py_modal_negotiate(), and mbc_py_nodal_negotiate().
double* mbc_r_xp |
Definition at line 45 of file mbc_py.cc.
Referenced by mbc_py_modal_negotiate(), and mbc_py_nodal_negotiate().
uint32_t mbc_r_xp_size |
Definition at line 58 of file mbc_py.cc.
Referenced by mbc_py_modal_negotiate(), and mbc_py_nodal_negotiate().
double* mbc_r_xpp |
Definition at line 47 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
uint32_t mbc_r_xpp_size |
Definition at line 60 of file mbc_py.cc.
Referenced by mbc_py_nodal_negotiate().
|
static |
Definition at line 94 of file mbc_py.cc.
Referenced by mbc_py_nodal_destroy(), mbc_py_nodal_initialize(), mbc_py_nodal_negotiate(), mbc_py_nodal_recv(), and mbc_py_nodal_send().