OGS
MatrixProvider.h
Go to the documentation of this file.
1
11
#pragma once
12
13
#include <cstddef>
14
15
#include "
MathLib/LinAlg/MatrixSpecifications.h
"
16
17
namespace
NumLib
18
{
23
class
MatrixProvider
24
{
25
public
:
27
virtual
GlobalMatrix
&
getMatrix
(std::size_t&
id
) = 0;
28
31
virtual
GlobalMatrix
&
getMatrix
(
MathLib::MatrixSpecifications
const
& ms,
32
std::size_t&
id
) = 0;
33
38
virtual
void
releaseMatrix
(
GlobalMatrix
const
& A) = 0;
39
40
virtual
~MatrixProvider
() =
default
;
41
};
42
}
// namespace NumLib
MatrixSpecifications.h
MathLib::EigenMatrix
Definition
EigenMatrix.h:29
NumLib::MatrixProvider
Definition
MatrixProvider.h:24
NumLib::MatrixProvider::getMatrix
virtual GlobalMatrix & getMatrix(MathLib::MatrixSpecifications const &ms, std::size_t &id)=0
NumLib::MatrixProvider::releaseMatrix
virtual void releaseMatrix(GlobalMatrix const &A)=0
NumLib::MatrixProvider::~MatrixProvider
virtual ~MatrixProvider()=default
NumLib::MatrixProvider::getMatrix
virtual GlobalMatrix & getMatrix(std::size_t &id)=0
Get an uninitialized matrix with the given id.
NumLib
Definition
ProjectData.h:46
MathLib::MatrixSpecifications
Definition
MatrixSpecifications.h:19
NumLib
DOF
MatrixProvider.h
Generated by
1.10.0