Commit 9ccbafe6 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#820 Apply changes introduced in #872 to make the code compile again (rebase...

#820 Apply changes introduced in #872 to make the code compile again (rebase has just been applied).
parent 6cd6d9b6
......@@ -209,8 +209,8 @@ namespace HappyHeart
{
const auto& numbering_subset = GetNumberingSubset();
parent::AllocateGlobalMatrix(numbering_subset, numbering_subset);
parent::AllocateGlobalVector(numbering_subset);
parent::AllocateSystemMatrix(numbering_subset, numbering_subset);
parent::AllocateSystemVector(numbering_subset);
decltype(auto) system_matrix = parent::GetSystemMatrix(numbering_subset, numbering_subset);
......
......@@ -49,11 +49,11 @@ namespace HappyHeart
//
// // Allocate the relevant block matrix. Below an example for Stokes model, in which only upper blocks
// // in the matrix need to be allocated.
// parent::AllocateGlobalMatrix(numbering_subset1, numbering_subset1);
// parent::AllocateGlobalMatrix(numbering_subset1, numbering_subset2);
// parent::AllocateSystemMatrix(numbering_subset1, numbering_subset1);
// parent::AllocateSystemMatrix(numbering_subset1, numbering_subset2);
//
// // Same for vector; system_rhs and system_solution are allocated here.
// parent::AllocateGlobalVector(numbering_subset);
// parent::AllocateSystemVector(numbering_subset);
//
// Access to the newly allocated matrix and vectors.
// const auto& system_matrix = GetSystemMatrix(numbering_subset1, numbering_subset1);
......
......@@ -162,8 +162,8 @@ namespace HappyHeart
void PorosityVariationalFormulation::AllocateMatricesAndVectors()
{
decltype(auto) numbering_subset = GetNumberingSubset();
parent::AllocateGlobalMatrix(numbering_subset, numbering_subset);
parent::AllocateGlobalVector(numbering_subset);
parent::AllocateSystemMatrix(numbering_subset, numbering_subset);
parent::AllocateSystemVector(numbering_subset);
}
......
......@@ -544,8 +544,8 @@ namespace HappyHeart
{
const auto& numbering_subset = this->GetNumberingSubset();
parent::AllocateGlobalMatrix(numbering_subset, numbering_subset);
parent::AllocateGlobalVector(numbering_subset);
parent::AllocateSystemMatrix(numbering_subset, numbering_subset);
parent::AllocateSystemVector(numbering_subset);
const auto& system_solution = this->GetSystemSolution(numbering_subset);
const auto& system_matrix = this->GetSystemMatrix(numbering_subset, numbering_subset);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment