[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 773701f 4/4: Rename a member function, and ex
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 773701f 4/4: Rename a member function, and explain why |
Date: |
Thu, 25 Feb 2021 08:16:54 -0500 (EST) |
branch: master
commit 773701f3d707b86362eb51f8eb7deae86dabdad2
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Rename a member function, and explain why
---
i7702.cpp | 2 +-
stratified_charges.cpp | 9 +++++++--
stratified_charges.hpp | 2 +-
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/i7702.cpp b/i7702.cpp
index 2fd8c17..9cc305a 100644
--- a/i7702.cpp
+++ b/i7702.cpp
@@ -38,7 +38,7 @@ i7702::i7702
{
spread_.assign
(database_.length()
- ,stratified_.minimum_tiered_spread_for_7702()
+ ,stratified_.minimum_tiered_sepacct_load_for_7702()
);
// Monthly guar net int for 7702 is
diff --git a/stratified_charges.cpp b/stratified_charges.cpp
index ad23a1d..87c8e30 100644
--- a/stratified_charges.cpp
+++ b/stratified_charges.cpp
@@ -399,7 +399,12 @@ double stratified_charges::tiered_guar_sepacct_load(double
assets, double) const
return tiered_rate<double>() (assets, z.limits(), z.values());
}
-/// Lowest tiered separate-account load.
+/// Lowest tiered separate-account load, for 7702 purposes.
+///
+/// All the tiered asset loads implemented by lmi apply only to the
+/// separate account, so their lowest values may be reflected in GLP
+/// and GSP calculations, but only for separate-account products that
+/// offer no general-account investment option.
///
/// Tiered compensation is not reflected here in order to forestall
/// an adjustment event if compensation decreases in the future.
@@ -414,7 +419,7 @@ double stratified_charges::tiered_guar_sepacct_load(double
assets, double) const
/// because it's not based on assets. Elsewhere, "DB_CurrAcctValLoad"
/// should be added to the result.
-double stratified_charges::minimum_tiered_spread_for_7702() const
+double stratified_charges::minimum_tiered_sepacct_load_for_7702() const
{
stratified_entity const& z = datum("CurrSepAcctLoadTieredByAssets");
LMI_ASSERT(!z.values().empty());
diff --git a/stratified_charges.hpp b/stratified_charges.hpp
index 3cfc85d..dbf2d5a 100644
--- a/stratified_charges.hpp
+++ b/stratified_charges.hpp
@@ -134,7 +134,7 @@ class LMI_SO stratified_charges final
double tiered_asset_based_compensation (double assets) const;
double tiered_investment_management_fee (double assets) const;
- double minimum_tiered_spread_for_7702() const;
+ double minimum_tiered_sepacct_load_for_7702() const;
// Tiered premium tax in certain states.
double tiered_premium_tax