优化雅可比矩阵计算;端口转发情况下仿真结果传输方式优化
This commit is contained in:
1 parent
3bc4be3c06
commit
aa4951b14e
28 files changed
+8038
-23
No files matched your search
@@ -15,6 +15,10 @@ typedef struct {
|
||||
double wall_start, cpu_start, solve_seconds, solve_cpu_seconds, last_progress;
|
||||
double max_accepted_step;
|
||||
unsigned long nfev, accepted, rejected, events, starts, njev, nlu;
|
||||
/* Structure coloring is automatic; verification is diagnostic only. */
|
||||
int jacobian_verify, jacobian_colored;
|
||||
unsigned long jacobian_rhs, jacobian_colored_evals, jacobian_fallbacks;
|
||||
unsigned long jacobian_checks, jacobian_mismatches, cvode_rhs, linear_rhs;
|
||||
int status; /* 0 completed, 1 cancelled, 2 failed */
|
||||
const char *message;
|
||||
} NativeRun;
|
||||
@@ -23,6 +27,7 @@ double native_wall_time(void);
|
||||
double native_cpu_time(void);
|
||||
int native_poll(NativeRun *run, double time);
|
||||
int native_rhs(NativeRun *run, double t, const double *y, double *dy);
|
||||
int native_jacobian_rhs(NativeRun *run, double t, const double *y, double *dy);
|
||||
int native_append(NativeRun *run, double t, const double *y);
|
||||
int native_accept(NativeRun *run, double t, double next, const double *old,
|
||||
const double *trial, NativeDense dense, void *context,
|
||||
|
||||
Reference in new issue
Block a user