Skip to content

Commit

Permalink
Merge pull request #337 from FreyJo/sim_clean
Browse files Browse the repository at this point in the history
Integrator Cleanup - new_lifted_irk -> lifted_irk, ERK: removed unused expl_ode_jac
  • Loading branch information
giaf committed Nov 9, 2018
2 parents 3fb7f19 + 54e77d7 commit ec85a73
Show file tree
Hide file tree
Showing 38 changed files with 2,482 additions and 3,974 deletions.
1 change: 0 additions & 1 deletion Makefile
Expand Up @@ -55,7 +55,6 @@ OBJS += acados/sim/sim_collocation_utils.o
OBJS += acados/sim/sim_erk_integrator.o
OBJS += acados/sim/sim_irk_integrator.o
OBJS += acados/sim/sim_lifted_irk_integrator.o
OBJS += acados/sim/sim_new_lifted_irk_integrator.o
OBJS += acados/sim/sim_common.o
OBJS += acados/sim/sim_gnsf.o
# utils
Expand Down
1 change: 0 additions & 1 deletion acados/sim/Makefile
Expand Up @@ -8,7 +8,6 @@ OBJS += sim_collocation_utils.o
OBJS += sim_erk_integrator.o
OBJS += sim_common.o
OBJS += sim_lifted_irk_integrator.o
OBJS += sim_new_lifted_irk_integrator.o
OBJS += sim_irk_integrator.o
OBJS += sim_gnsf.o

Expand Down
1 change: 0 additions & 1 deletion acados/sim/sim_common.h
Expand Up @@ -34,7 +34,6 @@
typedef enum {
// ERK and LIFTED_ERK
EXPL_ODE_FUN,
EXPL_ODE_JAC, // TODO(all): expl_ode_jac_x
EXPL_ODE_HES, // wrt x and u ???
EXPL_VDE_FOR,
EXPL_VDE_ADJ,
Expand Down
3 changes: 0 additions & 3 deletions acados/sim/sim_erk_integrator.c
Expand Up @@ -123,9 +123,6 @@ int sim_erk_model_set_function(void *model_, sim_function_t fun_type, void *fun)
case EXPL_ODE_FUN:
model->expl_ode_fun = (external_function_generic *) fun;
break;
case EXPL_ODE_JAC:
model->expl_ode_jac = (external_function_generic *) fun;
break;
case EXPL_ODE_HES:
model->expl_ode_hes = (external_function_generic *) fun;
break;
Expand Down
2 changes: 0 additions & 2 deletions acados/sim/sim_erk_integrator.h
Expand Up @@ -39,8 +39,6 @@ typedef struct
/* external functions */
// explicit ode
external_function_generic *expl_ode_fun;
// jacobian explicit ode
external_function_generic *expl_ode_jac;
// hessian explicit ode
external_function_generic *expl_ode_hes;
// forward explicit vde
Expand Down

0 comments on commit ec85a73

Please sign in to comment.