Adapter to turn a BCRS matrix into a thread-parallel linear operator. Adapts a matrix to the assembled linear operator interface.
#include <dumux/linear/parallelmatrixadapter.hh>
|
| | ParallelMatrixAdapter (const M &A) |
| | constructor: just store a reference to a matrix
|
| | ParallelMatrixAdapter (std::shared_ptr< const M > A) |
| | constructor: store an std::shared_ptr to a matrix
|
| void | apply (const X &x, Y &y) const override |
| | apply operator to x: \( y = A(x) \)
|
| void | applyscaleadd (field_type alpha, const X &x, Y &y) const override |
| | apply operator to x, scale and add: \( y = y + \alpha A(x) \)
|
◆ domain_type
template<class M, class X, class Y>
◆ field_type
template<class M, class X, class Y>
◆ matrix_type
template<class M, class X, class Y>
◆ range_type
template<class M, class X, class Y>
◆ ParallelMatrixAdapter() [1/2]
template<class M, class X, class Y>
◆ ParallelMatrixAdapter() [2/2]
template<class M, class X, class Y>
◆ apply()
template<class M, class X, class Y>
◆ applyscaleadd()
template<class M, class X, class Y>
The documentation for this class was generated from the following file: