Skip to content
Snippets Groups Projects
Commit 638f7959 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[mpfa][iv] remove obsolete matrices

All matrices are now stored in the data handles
parent b740964c
No related branches found
No related tags found
2 merge requests!1337WIP Fix/dirichlet caching v2,!1298Restructure mpfa flux caches
......@@ -249,11 +249,6 @@ public:
}
}
}
// Maybe resize local matrices if dynamic types are used
resizeMatrix(A_, numUnknowns_, numUnknowns_);
resizeMatrix(B_, numUnknowns_, numKnowns_);
resizeMatrix(C_, numFaces_, numUnknowns_);
}
//! returns the number of primary scvfs of this interaction volume
......@@ -296,18 +291,6 @@ public:
const std::vector<DirichletData>& dirichletData() const
{ return dirichletData_; }
//! returns the matrix associated with face unknowns in local equation system
const AMatrix& A() const { return A_; }
AMatrix& A() { return A_; }
//! returns the matrix associated with cell unknowns in local equation system
const BMatrix& B() const { return B_; }
BMatrix& B() { return B_; }
//! returns the matrix associated with face unknowns in flux expressions
const CMatrix& C() const { return C_; }
CMatrix& C() { return C_; }
//! returns container storing the transmissibilities for each face & coordinate
const TransmissibilityStorage& omegas() const { return wijk_; }
TransmissibilityStorage& omegas() { return wijk_; }
......@@ -349,11 +332,6 @@ private:
std::vector<LocalFaceData> localFaceData_;
std::vector<DirichletData> dirichletData_;
// Matrices needed for computation of transmissibilities
AMatrix A_;
BMatrix B_;
CMatrix C_;
// The omega factors are stored during assembly of local system
TransmissibilityStorage wijk_;
......
......@@ -207,11 +207,6 @@ public:
// make sure we found it
assert(localFaceData_[faceIdxLocal*2+1].ivLocalInsideScvIndex() == outsideLocalScvIdx);
}
// Maybe resize local matrices if dynamic types are used
resizeMatrix(A_, numScvf, numScvf);
resizeMatrix(B_, numScvf, numScv);
resizeMatrix(C_, numScvf, numScv);
}
//! returns the number of primary scvfs of this interaction volume
......@@ -255,18 +250,6 @@ public:
const std::array<DirichletData, 0>& dirichletData() const
{ return dirichletData_; }
//! returns the matrix associated with face unknowns in local equation system
const AMatrix& A() const { return A_; }
AMatrix& A() { return A_; }
//! returns the matrix associated with cell unknowns in local equation system
const BMatrix& B() const { return B_; }
BMatrix& B() { return B_; }
//! returns the matrix associated with face unknowns in flux expressions
const CMatrix& C() const { return C_; }
CMatrix& C() { return C_; }
//! returns container storing the transmissibilities for each face & coordinate
const TransmissibilityStorage& omegas() const { return wijk_; }
TransmissibilityStorage& omegas() { return wijk_; }
......@@ -308,11 +291,6 @@ private:
std::array<LocalScvfType, numScvf> scvfs_;
std::array<LocalFaceData, numScvf*2> localFaceData_;
// Matrices needed for computation of transmissibilities
AMatrix A_;
BMatrix B_;
CMatrix C_;
// The omega factors are stored during assembly of local system
TransmissibilityStorage wijk_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment