Class GooseFEM::MatrixSolverPartitionedBase#
-
template<class D>
class MatrixSolverPartitionedBase# CRTP base class for a extra functions for a partitioned solver class.
Public Functions
-
template<class M>
inline array_type::tensor<double, 2> Solve(M &A, const array_type::tensor<double, 2> &b, const array_type::tensor<double, 2> &x)# Solve \( x = A^{-1} b \).
- Parameters:
A – GooseFEM (sparse) matrix, see e.g. GooseFEM::Matrix().
b – nodevec [nelem, ndim].
x – nodevec [nelem, ndim].
- Returns:
x nodevec [nelem, ndim].
-
template<class M>
inline array_type::tensor<double, 1> Solve(M &A, const array_type::tensor<double, 1> &b, const array_type::tensor<double, 1> &x)# Solve \( x = A^{-1} b \).
- Parameters:
A – GooseFEM (sparse) matrix, see e.g. GooseFEM::Matrix().
b – dofval [ndof].
x – nodevec [nelem, ndim].
- Returns:
x dofval [ndof].
-
template<class M>