diff --git a/docs/documentation/simulation_capabilities/Integrator.md b/docs/documentation/simulation_capabilities/Integrator.md index 283ccf99..56382dd2 100644 --- a/docs/documentation/simulation_capabilities/Integrator.md +++ b/docs/documentation/simulation_capabilities/Integrator.md @@ -85,9 +85,10 @@ If a developer wishes to use their own integration scheme, then the integrat should be reviewed so that the proper interfaces can be maintained. The integrate() source code is located in the ${TRICK_HOME}/trick_source/sim_services/integ/integrate.c file. -@section LEVEL3 Integrator Control Inputs +### Integrator Control Inputs + There can be any number of integration class jobs listed within the S_define file; -each integration job should have an associated INTEGRATOR data structure declaration. +each integration job should have an associated IntegLoop declaration. The available inputs for state integration control are listed in Table 18. Table 18 State Integration Control Inputs diff --git a/trick_sims/Ball/models/ball/L3/src/ball_ensemble_collision.c b/trick_sims/Ball/models/ball/L3/src/ball_ensemble_collision.c index e61fc0a4..84412f4e 100644 --- a/trick_sims/Ball/models/ball/L3/src/ball_ensemble_collision.c +++ b/trick_sims/Ball/models/ball/L3/src/ball_ensemble_collision.c @@ -19,7 +19,8 @@ double ball_ensemble_collision( BSTATE * states[2] ) { double event_tgo; event_tgo = BIG_TGO; - for (int i=0 ; i < 2 ; i++) { + int i; + for (i=0 ; i<2 ; i++) { tgo = ball_ceiling( states[i]); if (tgo < event_tgo) event_tgo = tgo; tgo = ball_floor( states[i] ) ;