Skip to content

Commit 1cb6c3d

Browse files
committed
modified a few comments in baseline correction source code
(refs idaholab#296)
1 parent ea755a6 commit 1cb6c3d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

include/functions/BaselineCorrection.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ class BaselineCorrection : public Function
5252
/// adjusted (corrected) acceleration ordinates
5353
std::vector<Real> _adj_accel;
5454

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

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

6161
private:

include/utils/BaselineCorrectionUtils.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
**/
2828
namespace BaselineCorrectionUtils
2929
{
30-
/// Evaluates an integral over a single time step with Newmark-beta method
31-
/// Also is used as simple trapezoidal rule when gamma = 0.5.
30+
/// Evaluates an integral over a single time step with Newmark-beta method. This reduces to a simple
31+
/// trapezoidal integration rule when gamma = 0.5 and is used as such for displacement fits.
3232
Real newmarkGammaIntegrate(const Real & u_ddot_old,
3333
const Real & u_ddot,
3434
const Real & u_dot_old,

0 commit comments

Comments
 (0)