Loading...
Searching...
No Matches
terra::linalg::solvers::detail::DummySolver< OperatorT > Class Template Reference

Dummy solver for concept checks and testing. Implements solve_impl as a no-op. More...

#include <solver.hpp>

Public Types

using OperatorType = OperatorT
 Operator type to be solved.
 
using SolutionVectorType = SrcOf< OperatorType >
 Solution vector type.
 
using RHSVectorType = DstOf< OperatorType >
 Right-hand side vector type.
 

Public Member Functions

void solve_impl (const OperatorType &A, SolutionVectorType &x, const RHSVectorType &b) const
 Dummy solve_impl, does nothing.
 

Detailed Description

template<OperatorLike OperatorT>
class terra::linalg::solvers::detail::DummySolver< OperatorT >

Dummy solver for concept checks and testing. Implements solve_impl as a no-op.

Member Typedef Documentation

◆ OperatorType

template<OperatorLike OperatorT>
using terra::linalg::solvers::detail::DummySolver< OperatorT >::OperatorType = OperatorT

Operator type to be solved.

◆ RHSVectorType

template<OperatorLike OperatorT>
using terra::linalg::solvers::detail::DummySolver< OperatorT >::RHSVectorType = DstOf< OperatorType >

Right-hand side vector type.

◆ SolutionVectorType

template<OperatorLike OperatorT>
using terra::linalg::solvers::detail::DummySolver< OperatorT >::SolutionVectorType = SrcOf< OperatorType >

Solution vector type.

Member Function Documentation

◆ solve_impl()

template<OperatorLike OperatorT>
void terra::linalg::solvers::detail::DummySolver< OperatorT >::solve_impl ( const OperatorType A,
SolutionVectorType x,
const RHSVectorType b 
) const
inline

Dummy solve_impl, does nothing.

Parameters
AOperator.
xSolution vector.
bRight-hand side vector.

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