Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapt Cpp code to increased use of calculatedParameter, ticket:4027
This follows up 25249c8 "Fix initialization problems containing parameters having implicitly fixed=false" - move initialization details to the three sub-methods initializeMemory/FreeVariables/BoundVariables - in particular place initParameterEquations() in initializeBoundVariables - avoid duplicate initialization steps in FMUWrapper and FMU2Wrapper - force HARDCODED_START_VALUES for FMI export -- this is needed for FMI2, because calculatedParameters have no values in the XML file; it is also needed for FMI1 tests that re-import FMUs (e.g. Crane*)
- Loading branch information
Showing
5 changed files
with
42 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters