FrictionQPotFEM 0.23.3
|
CRTP base class for a solver class. More...
#include <include/GooseFEM/Matrix.h>
Public Types | |
using | derived_type = D |
Underlying type. More... | |
Public Member Functions | |
template<class M > | |
void | solve (M &A, const array_type::tensor< double, 2 > &b, array_type::tensor< double, 2 > &x) |
Solve \( x = A^{-1} b \). More... | |
template<class M > | |
void | solve (M &A, const array_type::tensor< double, 1 > &b, array_type::tensor< double, 1 > &x) |
Solve \( x = A^{-1} b \). More... | |
CRTP base class for a solver class.
using GooseFEM::MatrixSolverBase< D >::derived_type = D |
|
inline |
Solve \( x = A^{-1} b \).
A | GooseFEM (sparse) matrix, see e.g. GooseFEM::Matrix(). |
b | dofval [ndof]. |
x | (overwritten) dofval [ndof]. |
|
inline |
Solve \( x = A^{-1} b \).
A | GooseFEM (sparse) matrix, see e.g. GooseFEM::Matrix(). |
b | nodevec [nelem, ndim]. |
x | (overwritten) nodevec [nelem, ndim]. |