Skip to content

Commit

Permalink
formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
andersonw1 committed Apr 2, 2024
1 parent 9d121ca commit 2f2fe2f
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 50 deletions.
36 changes: 19 additions & 17 deletions lib/algo/DMDc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>(DMDc*& parametric_dmdc,
std::vector<Vector*>& parameter_points,
Expand Down
70 changes: 37 additions & 33 deletions lib/algo/ParametricDMDc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <class T>
void getParametricDMDc(T*& parametric_dmdc,
Expand Down Expand Up @@ -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 <class T>
void getParametricDMDc(T*& parametric_dmdc,
Expand Down

0 comments on commit 2f2fe2f

Please sign in to comment.