Skip to content

Commit

Permalink
Added this-> for classes who call a protected function of the base class
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaasse committed May 2, 2024
1 parent 2adec13 commit 6d7210c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ void UPwSmallStrainFICElement<TDim, TNumNodes>::FinalizeNonLinearIteration(const

Vector StressVector(VoigtSize);

const auto b_matrices = CalculateBMatrices(Variables.NContainer, Variables.DN_DXContainer);
const auto b_matrices = this->CalculateBMatrices(Variables.NContainer, Variables.DN_DXContainer);

// Loop over integration points
for (unsigned int GPoint = 0; GPoint < NumGPoints; ++GPoint) {
Expand Down Expand Up @@ -444,7 +444,7 @@ void UPwSmallStrainFICElement<TDim, TNumNodes>::CalculateAll(MatrixType& rLeftHa

const bool hasBiotCoefficient = Prop.Has(BIOT_COEFFICIENT);

const auto b_matrices = CalculateBMatrices(Variables.NContainer, Variables.DN_DXContainer);
const auto b_matrices = this->CalculateBMatrices(Variables.NContainer, Variables.DN_DXContainer);

const auto integration_coefficients =
this->CalculateIntegrationCoefficients(IntegrationPoints, Variables.detJContainer);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ void UPwUpdatedLagrangianFICElement<TDim, TNumNodes>::CalculateOnIntegrationPoin
ElementVariables Variables;
this->InitializeElementVariables(Variables, rCurrentProcessInfo);

const auto b_matrices = CalculateBMatrices(Variables.NContainer, Variables.DN_DXContainer);
const auto b_matrices = this->CalculateBMatrices(Variables.NContainer, Variables.DN_DXContainer);

// Loop over integration points
for (unsigned int GPoint = 0; GPoint < mConstitutiveLawVector.size(); ++GPoint) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void UPwUpdatedLagrangianElement<TDim, TNumNodes>::CalculateAll(MatrixType& rLef
RetentionLaw::Parameters RetentionParameters(this->GetProperties(), rCurrentProcessInfo);

const bool hasBiotCoefficient = this->GetProperties().Has(BIOT_COEFFICIENT);
const auto b_matrices = CalculateBMatrices(Variables.NContainer, Variables.DN_DXContainer);
const auto b_matrices = this->CalculateBMatrices(Variables.NContainer, Variables.DN_DXContainer);

const auto integration_coefficients =
this->CalculateIntegrationCoefficients(IntegrationPoints, Variables.detJContainer);
Expand Down Expand Up @@ -189,7 +189,7 @@ void UPwUpdatedLagrangianElement<TDim, TNumNodes>::CalculateOnIntegrationPoints(
ElementVariables Variables;
this->InitializeElementVariables(Variables, rCurrentProcessInfo);

const auto b_matrices = CalculateBMatrices(Variables.NContainer, Variables.DN_DXContainer);
const auto b_matrices = this->CalculateBMatrices(Variables.NContainer, Variables.DN_DXContainer);

// Loop over integration points
for (unsigned int GPoint = 0; GPoint < mConstitutiveLawVector.size(); ++GPoint) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void UpdatedLagrangianUPwDiffOrderElement::CalculateAll(MatrixType& rLeft
rGeom.IntegrationPoints(this->GetIntegrationMethod());

const bool hasBiotCoefficient = rProp.Has(BIOT_COEFFICIENT);
const auto b_matrices = CalculateBMatrices(Variables.NuContainer, Variables.DNu_DXContainer);
const auto b_matrices = this->CalculateBMatrices(Variables.NuContainer, Variables.DNu_DXContainer);

const auto integration_coefficients =
this->CalculateIntegrationCoefficients(IntegrationPoints, Variables.detJuContainer);
Expand Down

0 comments on commit 6d7210c

Please sign in to comment.