Skip to content

Commit

Permalink
modified a few comments in baseline correction source code
Browse files Browse the repository at this point in the history
  • Loading branch information
crswong888 committed Aug 12, 2021
1 parent ea755a6 commit 1cb6c3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/functions/BaselineCorrection.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ class BaselineCorrection : public Function
/// adjusted (corrected) acceleration ordinates
std::vector<Real> _adj_accel;

/// object to output linearly interpolated corrected acceleration ordinates
/// linear interpolation object is applied over adjusted acceleration, i.e., AFTER correction
std::unique_ptr<LinearInterpolation> _linear_interp;

/// function value scale factor
/// function value scale factor - final output is scale_factor * _linear_interp(_time, _adj_accel)
const Real & _scale_factor;

private:
Expand Down
4 changes: 2 additions & 2 deletions include/utils/BaselineCorrectionUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
**/
namespace BaselineCorrectionUtils
{
/// Evaluates an integral over a single time step with Newmark-beta method
/// Also is used as simple trapezoidal rule when gamma = 0.5.
/// Evaluates an integral over a single time step with Newmark-beta method. This reduces to a simple
/// trapezoidal integration rule when gamma = 0.5 and is used as such for displacement fits.
Real newmarkGammaIntegrate(const Real & u_ddot_old,
const Real & u_ddot,
const Real & u_dot_old,
Expand Down

0 comments on commit 1cb6c3d

Please sign in to comment.