Skip to content

Commit

Permalink
remove unused SimData and FactoryExport from FMU
Browse files Browse the repository at this point in the history
  • Loading branch information
rfranke authored and OpenModelica-Hudson committed Oct 28, 2015
1 parent db830e5 commit 712c8c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Compiler/Template/CodegenFMUCpp.tpl
Expand Up @@ -118,7 +118,6 @@ template fmuCalcHelperMainfile(SimCode simCode)
#include "OMCpp<%fileNamePrefix%>FMU.h"

#include "OMCpp<%fileNamePrefix%>AlgLoopMain.cpp"
#include "OMCpp<%fileNamePrefix%>FactoryExport.cpp"
#include "OMCpp<%fileNamePrefix%>Mixed.cpp"
#include "OMCpp<%fileNamePrefix%>Functions.cpp"
<%if(boolOr(Flags.isSet(Flags.HARDCODED_START_VALUES), Flags.isSet(Flags.GEN_DEBUG_SYMBOLS))) then
Expand Down Expand Up @@ -269,7 +268,7 @@ case SIMCODE(modelInfo=MODELINFO(__)) then
<%modelShortName%>FMU *createSystemFMU(IGlobalSettings *globalSettings) {
return new <%modelShortName%>FMU(globalSettings,
shared_ptr<IAlgLoopSolverFactory>(<%solverFactory%>),
shared_ptr<ISimData>(new SimData()),
shared_ptr<ISimData>(NULL),
shared_ptr<ISimVars>(new SimVars(<%numRealvars(modelInfo)%>, <%numIntvars(modelInfo)%>, <%numBoolvars(modelInfo)%>, <%numStringvars(modelInfo)%>, <%getPreVarsCount(modelInfo)%>, <%numStatevars(modelInfo)%>, <%numStateVarIndex(modelInfo)%>)));
}

Expand Down

0 comments on commit 712c8c3

Please sign in to comment.