/// <summary> /// Sets the results saved parameters for the analysis case. /// </summary> /// <param name="resultsSaved">The results saved.</param> /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception> public void SetResultsSaved(ResultsSaved resultsSaved) { _staticNonlinear?.SetResultsSaved(Name, resultsSaved.SaveMultipleSteps, resultsSaved.MinSavedStates, resultsSaved.MaxSavedStates, resultsSaved.SavePositiveDisplacementIncrementsOnly); ResultsSaved = resultsSaved; }
/// <summary> /// Retrieves the results saved parameters for the analysis case. /// </summary> /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception> public void FillResultsSaved() { if (_staticNonlinear == null) { return; } _staticNonlinear.GetResultsSaved(Name, out var saveMultipleSteps, out var minSavedStates, out var maxSavedStates, out var savePositiveDisplacementIncrementsOnly); ResultsSaved = new ResultsSaved { SaveMultipleSteps = saveMultipleSteps, MinSavedStates = minSavedStates, MaxSavedStates = maxSavedStates, SavePositiveDisplacementIncrementsOnly = savePositiveDisplacementIncrementsOnly }; }