public JsonResult ParallelExecutionSave(VParallelExecution m) { var sd = GetSolverData(); ObjectMapperManager.DefaultInstance.GetMapper <VParallelExecution, DecomposeParDictData>().Map(m, sd.DecomposeParDict); ObjectMapperManager.DefaultInstance.GetMapper <VHierarchicalCoeffs, HierarchicalCoeffs>().Map(m.coefs, sd.DecomposeParDict.hCoefs); SetSolverData(sd); return(Json("OK")); }
public ActionResult ParallelExecution() { ShortTitle = "Parallel Execution"; var m = new VParallelExecution(); var sd = GetSolverData(); ObjectMapperManager.DefaultInstance.GetMapper <DecomposeParDictData, VParallelExecution>().Map(sd.DecomposeParDict, m); ObjectMapperManager.DefaultInstance.GetMapper <HierarchicalCoeffs, VHierarchicalCoeffs>().Map(sd.DecomposeParDict.hCoefs, m.coefs); return(View(m)); }