GooseFEM 1.4.1.dev2+g78f16df
Loading...
Searching...
No Matches
GooseFEM::MatrixSolverPartitionedBase< D > Class Template Reference

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

#include <GooseFEM/Matrix.h>

Public Types

using derived_type = D
 Underlying type.
 

Public Member Functions

template<class M >
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 \).
 
template<class M >
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 \).
 

Detailed Description

template<class D>
class GooseFEM::MatrixSolverPartitionedBase< D >

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

Definition at line 136 of file Matrix.h.

Member Typedef Documentation

◆ derived_type

template<class D >
using GooseFEM::MatrixSolverPartitionedBase< D >::derived_type = D

Underlying type.

Definition at line 141 of file Matrix.h.

Member Function Documentation

◆ Solve() [1/2]

template<class D >
template<class M >
array_type::tensor< double, 1 > GooseFEM::MatrixSolverPartitionedBase< D >::Solve ( M & A,
const array_type::tensor< double, 1 > & b,
const array_type::tensor< double, 1 > & x )
inline

Solve \( x = A^{-1} b \).

Parameters
AGooseFEM (sparse) matrix, see e.g. GooseFEM::Matrix().
bdofval [ndof].
xnodevec [nelem, ndim].
Returns
x dofval [ndof].

Definition at line 184 of file Matrix.h.

◆ Solve() [2/2]

template<class D >
template<class M >
array_type::tensor< double, 2 > GooseFEM::MatrixSolverPartitionedBase< D >::Solve ( M & A,
const array_type::tensor< double, 2 > & b,
const array_type::tensor< double, 2 > & x )
inline

Solve \( x = A^{-1} b \).

Parameters
AGooseFEM (sparse) matrix, see e.g. GooseFEM::Matrix().
bnodevec [nelem, ndim].
xnodevec [nelem, ndim].
Returns
x nodevec [nelem, ndim].

Definition at line 165 of file Matrix.h.


The documentation for this class was generated from the following file: