Class GooseFEM::MatrixBase#
-
template<class D>
class MatrixBase# CRTP base class for a matrix.
Subclassed by GooseFEM::MatrixPartitionedBase< MatrixDiagonalPartitioned >, GooseFEM::MatrixPartitionedBase< MatrixPartitioned >, GooseFEM::MatrixPartitionedBase< MatrixPartitionedTyings >, GooseFEM::MatrixPartitionedBase< D >
Public Functions
-
inline size_t nelem() const#
Number of elements.
- Returns:
Unsigned integer.
-
inline size_t nne() const#
Number of nodes per element.
- Returns:
Unsigned integer.
-
inline size_t nnode() const#
Number of nodes.
- Returns:
Unsigned integer.
-
inline size_t ndim() const#
Number of dimensions.
- Returns:
Unsigned integer.
-
inline size_t ndof() const#
Number of DOFs.
- Returns:
Unsigned integer.
-
inline const array_type::tensor<size_t, 2> &dofs() const#
DOFs per node.
-
inline const array_type::tensor<size_t, 2> &conn() const#
Connectivity.
-
inline array_type::tensor<double, 2> Todense() const#
Copy as dense matrix.
-
inline array_type::tensor<double, 2> Dot(const array_type::tensor<double, 2> &x) const#
Dot-product \( b_i = A_{ij} x_j \).
-
inline array_type::tensor<double, 1> Dot(const array_type::tensor<double, 1> &x) const#
Dot-product \( b_i = A_{ij} x_j \).
-
inline void dot(const array_type::tensor<double, 2> &x, array_type::tensor<double, 2> &b) const#
Dot-product \( b_i = A_{ij} x_j \).
-
inline void dot(const array_type::tensor<double, 1> &x, array_type::tensor<double, 1> &b) const#
Dot-product \( b_i = A_{ij} x_j \).
-
inline size_t nelem() const#