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