Class GooseFEM::MatrixSolverPartitionedBase#

template<class D>
class MatrixSolverPartitionedBase#

CRTP base class for a extra functions for a partitioned solver class.

Public Types

using derived_type = D#

Underlying type.

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
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
Returns

x dofval [ndof].