@@ -409,6 +409,28 @@ class HydroSystem {
409409 */
410410 void SetTaperedDirectOptions (const hydrochrono::hydro::TaperedDirectOptions& opts);
411411
412+ /* *
413+ * @brief Enable or disable kernel fit diagnostic output.
414+ *
415+ * When enabled and using state-space radiation, kernel fit quality data
416+ * can be retrieved after the first force evaluation and exported to HDF5.
417+ *
418+ * @param enabled True to enable kernel fit diagnostics
419+ */
420+ void SetOutputKernelFit (bool enabled);
421+
422+ /* *
423+ * @brief Check if kernel fit diagnostics are available.
424+ * @return True if state-space radiation is active and diagnostics are ready
425+ */
426+ bool HasKernelFitDiagnostics () const ;
427+
428+ /* *
429+ * @brief Get kernel fit diagnostics for all bodies.
430+ * @return Vector of KernelFitDiagnostics (one per body)
431+ */
432+ std::vector<hydrochrono::hydro::KernelFitDiagnostics> GetKernelFitDiagnostics () const ;
433+
412434 /* *
413435 * @brief Set the directory where diagnostics (e.g., CSVs) should be written.
414436 */
@@ -532,10 +554,11 @@ class HydroSystem {
532554 // Radiation configuration (uses canonical types from radiation module)
533555 // ─────────────────────────────────────────────────────────────────────────
534556
535- // Top-level method selection (state-space not yet implemented)
557+ // Top-level method selection
536558 hydrochrono::hydro::RadiationMethod radiation_method_ =
537559 hydrochrono::hydro::RadiationMethod::kRirfConvolution ;
538560 hydrochrono::hydro::StateSpaceOptions state_space_opts_;
561+ bool output_kernel_fit_ = false ;
539562
540563 // Convolution kernel preprocessing (only applies when method == kRirfConvolution)
541564 hydrochrono::hydro::RadiationConvolutionMode convolution_mode_;
0 commit comments