Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NF] Enable flat output with instantiateModel.
- Break out the instantiateModel handling from CevalScriptBackend.cevalInteractiveFunctions3 to its own function and make it handle flat modelica output when -f is set. - Change NFInst.instClassInProgram to return NF structures instead of DAE, and convert to DAE in CevalScriptBackend.runFrontEndWork instead. - Rename getCommentsFromSource to getComments in ElementSource, since the FromSource part can be inferred from it being in ElementSource. - Added ElementSource.getOptComment to fetch the first added comment. - Simplify flat model handling by changing the Comment in FlatModel into a ElementSource, to also embed the SourceInfo in the flat model. - Remove the name of the class from all the execStat calls in the NF except for the first to simplify the interface between the modules, since it doesn't provide any extra information.
- Loading branch information
Showing
16 changed files
with
244 additions
and
146 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
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
Oops, something went wrong.