27#include <alien/kernels/composite/CompositeMatrixElement.h>
38namespace CompositeKernel
93 void resize(Arccore::Integer nc);
99 Arccore::Integer size()
const;
105 const ISpace& rowSpace()
const;
111 const ISpace& colSpace()
const;
119 Element composite(Arccore::Integer i, Arccore::Integer j);
170 std::shared_ptr<CompositeKernel::MultiMatrixImpl>
m_impl;
Composite matrix for heterogenous matrices.
CompositeMatrix(Arccore::Integer nc)
Constructor.
MultiMatrixImpl * impl()
Get the multimatrix implementation.
CompositeKernel::Matrix & m_composite_matrix
The composite matrix.
void free()
Free the composite matrix.
void clear()
Clear the composite matrix.
CompositeMatrix()
Constructor.
void setUserFeature(Arccore::String feature)
Add a feature to the composite matrix.
CompositeKernel::MatrixElement Element
Type of submatrix element.
virtual ~CompositeMatrix()
Free resources.
std::shared_ptr< CompositeKernel::MultiMatrixImpl > m_impl
The multimatrix implementation.
const IMatrix & operator()(Arccore::Integer i, Arccore::Integer j) const
Get the (i,j) submatrix.
IMatrix & operator()(Arccore::Integer i, Arccore::Integer j)
Get the (i,j) submatrix.
bool hasUserFeature(Arccore::String feature) const
Check if the composite matrix has a feature.
Interface for algebraic space objects.
Multi matrices representation container.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --