MCPcopy Create free account
hub / github.com/JSBSim-Team/jsbsim / InitializeModels

Method InitializeModels

src/FGFDMExec.cpp:381–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
380
381void FGFDMExec::InitializeModels(void)
382{
383 for (unsigned int i = 0; i < Models.size(); i++) {
384 // The Input/Output models must not be initialized prior to IC loading
385 if (i == eInput || i == eOutput) continue;
386
387 LoadInputs(i);
388 Models[i]->InitModel();
389 }
390}
391
392//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
393

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
InitModelMethod · 0.45

Tested by

no test coverage detected