bool SBMLModelSimulation::LoadSBMLFromFile() //Use current file information to load sbml from file { if(!mEngine) { return false; } bool val = mEngine->loadSBMLFromFile(GetModelsFullFilePath(), mCompileIfDllExists); return val; }
bool SBMLModelSimulation::LoadSBMLFromFile() //Use current file information to load sbml from file { if(!mEngine) { return false; } LoadSBMLOptions opt; opt.modelGeneratorOpt = mCompileIfDllExists ? opt.modelGeneratorOpt | LoadSBMLOptions::RECOMPILE : opt.modelGeneratorOpt & ~LoadSBMLOptions::RECOMPILE; mEngine->load(GetModelsFullFilePath(), &opt); return true; }