diff --git a/CFDStruct/CFDStructDataManager/CFDStructDataSolverComputingControlManager.cpp b/CFDStruct/CFDStructDataManager/CFDStructDataSolverComputingControlManager.cpp index 251c536..9779f2a 100644 --- a/CFDStruct/CFDStructDataManager/CFDStructDataSolverComputingControlManager.cpp +++ b/CFDStruct/CFDStructDataManager/CFDStructDataSolverComputingControlManager.cpp @@ -35,23 +35,23 @@ void CFDStructDataSolverComputingControlManager::saveDataToDom(rapidjson::Docume void CFDStructDataSolverComputingControlManager::readDataFromDom(rapidjson::Document &dom) { QVariant temp; - jsonAdd(dom, temp, {"couplingSolver", "unSteady", "savedSteps"}); + jsonRead(dom, temp, {"couplingSolver", "unSteady", "savedSteps"}); if (temp != QVariant()) { m_DataSaveFrequency = temp.toInt(); } - jsonAdd(dom, temp, {"couplingSolver", "steady", "savedIters"}); + jsonRead(dom, temp, {"couplingSolver", "steady", "savedIters"}); if (temp != QVariant()) { m_DataSaveFrequency = temp.toInt(); } - jsonAdd(dom, temp, {"couplingSolver", "mpi", "core"}); + jsonRead(dom, temp, {"couplingSolver", "mpi", "core"}); if (temp != QVariant()) { m_NumericalComputationCores = temp.toInt(); } - jsonAdd(dom, temp, {"couplingSolver", "mpi", "on"}); + jsonRead(dom, temp, {"couplingSolver", "mpi", "on"}); if (temp != QVariant()) { m_enableMPI = temp.toInt(); } - jsonAdd(dom, temp, {"couplingSolver", "mpi", "type"}); + jsonRead(dom, temp, {"couplingSolver", "mpi", "type"}); if (temp != QVariant()) { m_mpiLibType = temp.toInt(); }