mirror of
https://github.com/nasa/trick.git
synced 2025-01-30 08:03:51 +00:00
Merge branch 'nasa:master' into master
This commit is contained in:
commit
d3951d62ae
@ -85,9 +85,10 @@ If a developer wishes to use their own integration scheme, then the <i> integrat
|
||||
should be reviewed so that the proper interfaces can be maintained. The <i> integrate() </i> 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 <i> integration </i> class jobs listed within the S_define file;
|
||||
each integration job should have an associated <i> INTEGRATOR </i> data structure declaration.
|
||||
each integration job should have an associated <i> IntegLoop </i> declaration.
|
||||
The available inputs for state integration control are listed in Table 18.
|
||||
|
||||
Table 18 State Integration Control Inputs
|
||||
|
@ -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] ) ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user