From 2f2fe2faa8a2483ecf30420bc82c380bdb515d75 Mon Sep 17 00:00:00 2001 From: Anderson Date: Tue, 2 Apr 2024 08:04:01 -0700 Subject: [PATCH] formatting changes --- lib/algo/DMDc.h | 36 ++++++++++---------- lib/algo/ParametricDMDc.h | 70 +++++++++++++++++++++------------------ 2 files changed, 56 insertions(+), 50 deletions(-) diff --git a/lib/algo/DMDc.h b/lib/algo/DMDc.h index 01196ea8d..6cb1b0296 100644 --- a/lib/algo/DMDc.h +++ b/lib/algo/DMDc.h @@ -189,23 +189,25 @@ class DMDc * @brief Obtain DMD model interpolant at desired parameter point by * interpolation of DMD models from training parameter points. * - * @param[in] parametric_dmdc The interpolant DMD model at the desired point. - * @param[in] parameter_points The training parameter points. - * @param[in] dmdcs The DMD objects associated with - * each training parameter point. - * @param[in] controls The matrices of controls from previous runs which we use to interpolate. - * @param[in] controls_interpolated The interpolated controls. - * @param[in] desired_point The desired point at which to create a parametric DMD. - * @param[in] rbf The RBF type ("G" == gaussian, - * "IQ" == inverse quadratic, - * "IMQ" == inverse multiquadric) - * @param[in] interp_method The interpolation method type - * ("LS" == linear solve, - * "IDW" == inverse distance weighting, - * "LP" == lagrangian polynomials) - * @param[in] closest_rbf_val The RBF parameter determines the width of influence. - * Set the RBF value of the nearest two parameter points to a value between 0.0 to 1.0 - * @param[in] reorthogonalize_W Whether to reorthogonalize the interpolated W (basis) matrix. + * @param[in] parametric_dmdc The interpolant DMD model at the desired point. + * @param[in] parameter_points The training parameter points. + * @param[in] dmdcs The DMD objects associated with + * each training parameter point. + * @param[in] controls The matrices of controls from previous + * runs which we use to interpolate. + * @param[in] controls_interpolated The interpolated controls. + * @param[in] desired_point The desired point at which to create a parametric DMD. + * @param[in] rbf The RBF type ("G" == gaussian, + * "IQ" == inverse quadratic, + * "IMQ" == inverse multiquadric) + * @param[in] interp_method The interpolation method type + * ("LS" == linear solve, + * "IDW" == inverse distance weighting, + * "LP" == lagrangian polynomials) + * @param[in] closest_rbf_val The RBF parameter determines the width of influence. + * Set the RBF value of the nearest two parameter points + * to a value between 0.0 to 1.0 + * @param[in] reorthogonalize_W Whether to reorthogonalize the interpolated W (basis) matrix. */ friend void getParametricDMDc(DMDc*& parametric_dmdc, std::vector& parameter_points, diff --git a/lib/algo/ParametricDMDc.h b/lib/algo/ParametricDMDc.h index fc51dd880..714107842 100644 --- a/lib/algo/ParametricDMDc.h +++ b/lib/algo/ParametricDMDc.h @@ -32,23 +32,25 @@ namespace CAROM { /** * @brief Constructor. * - * @param[in] parametric_dmdc The interpolant DMDc model at the desired point. - * @param[in] parameter_points The training parameter points. - * @param[in] dmdcs The DMDc objects associated with - * each training parameter point. - * @param[in] controls The matrices of controls from previous runs which we use to interpolate. - * @param[in] controls_interpolated The interpolated controls. - * @param[in] desired_point The desired point at which to create a parametric DMDc. - * @param[in] rbf The RBF type ("G" == gaussian, - * "IQ" == inverse quadratic, - * "IMQ" == inverse multiquadric) - * @param[in] interp_method The interpolation method type - * ("LS" == linear solve, - * "IDW" == inverse distance weighting, - * "LP" == lagrangian polynomials) - * @param[in] closest_rbf_val The RBF parameter determines the width of influence. - * Set the RBF value of the nearest two parameter points to a value between 0.0 to 1.0 - * @param[in] reorthogonalize_W Whether to reorthogonalize the interpolated W (basis) matrix. + * @param[in] parametric_dmdc The interpolant DMDc model at the desired point. + * @param[in] parameter_points The training parameter points. + * @param[in] dmdcs The DMDc objects associated with + * each training parameter point. + * @param[in] controls The matrices of controls from previous runs + * which we use to interpolate. + * @param[in] controls_interpolated The interpolated controls. + * @param[in] desired_point The desired point at which to create a parametric DMDc. + * @param[in] rbf The RBF type ("G" == gaussian, + * "IQ" == inverse quadratic, + * "IMQ" == inverse multiquadric) + * @param[in] interp_method The interpolation method type + * ("LS" == linear solve, + * "IDW" == inverse distance weighting, + * "LP" == lagrangian polynomials) + * @param[in] closest_rbf_val The RBF parameter determines the width of influence. + * Set the RBF value of the nearest two parameter points + * to a value between 0.0 to 1.0 + * @param[in] reorthogonalize_W Whether to reorthogonalize the interpolated W (basis) matrix. */ template void getParametricDMDc(T*& parametric_dmdc, @@ -139,22 +141,24 @@ void getParametricDMDc(T*& parametric_dmdc, /** * @brief Constructor. * - * @param[in] parameter_points The parameter points. - * @param[in] dmdc_paths The paths to the saved DMD objects associated with - * each parameter point. - * @param[in] desired_point The desired point at which to create a parametric DMD. - * @param[in] controls The matrices of controls from previous runs which we use to interpolate. - * @param[in] controls_interpolated The interpolated controls. - * @param[in] rbf The RBF type ("G" == gaussian, - * "IQ" == inverse quadratic, - * "IMQ" == inverse multiquadric) - * @param[in] interp_method The interpolation method type - * ("LS" == linear solve, - * "IDW" == inverse distance weighting, - * "LP" == lagrangian polynomials) - * @param[in] closest_rbf_val The RBF parameter determines the width of influence. - * Set the RBF value of the nearest two parameter points to a value between 0.0 to 1.0 - * @param[in] reorthogonalize_W Whether to reorthogonalize the interpolated W (basis) matrix. + * @param[in] parameter_points The parameter points. + * @param[in] dmdc_paths The paths to the saved DMD objects associated with + * each parameter point. + * @param[in] desired_point The desired point at which to create a parametric DMD. + * @param[in] controls The matrices of controls from previous runs which we + * use to interpolate. + * @param[in] controls_interpolated The interpolated controls. + * @param[in] rbf The RBF type ("G" == gaussian, + * "IQ" == inverse quadratic, + * "IMQ" == inverse multiquadric) + * @param[in] interp_method The interpolation method type + * ("LS" == linear solve, + * "IDW" == inverse distance weighting, + * "LP" == lagrangian polynomials) + * @param[in] closest_rbf_val The RBF parameter determines the width of influence. + * Set the RBF value of the nearest two parameter points + * to a value between 0.0 to 1.0 + * @param[in] reorthogonalize_W Whether to reorthogonalize the interpolated W (basis) matrix. */ template void getParametricDMDc(T*& parametric_dmdc,