| 90 | //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 91 | |
| 92 | void FGModelFunctions::PostLoad(Element* el, FGFDMExec* fdmex, string prefix) |
| 93 | { |
| 94 | // Load model post-functions, if any |
| 95 | |
| 96 | Element *function = el->FindElement("function"); |
| 97 | while (function) { |
| 98 | if (function->GetAttributeValue("type") == "post") { |
| 99 | PostFunctions.push_back(std::make_shared<FGFunction>(fdmex, function, prefix)); |
| 100 | } |
| 101 | function = el->FindNextElement("function"); |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 106 | // Tell the Functions to cache values, so when the function values |
no test coverage detected