12#ifndef MFEM_BATCHED_SOLVER
13#define MFEM_BATCHED_SOLVER
Solve block-diagonal systems using batched LU or inverses.
DenseTensor A
The LU factors/inverses of the input matrices.
Mode
Solver mode: whether to use LU factorization or inverses.
@ INVERSE
Inverse matrices.
void Mult(const Vector &x, Vector &y) const
Sets .
BatchedDirectSolver(const DenseTensor &A_, Mode mode_, BatchedLinAlg::Backend backend_=BatchedLinAlg::GetActiveBackend())
Constructor.
void SetOperator(const Operator &op)
Not supported (aborts).
Array< int > P
Pivots (needed only for LU factors).
BatchedLinAlg::Backend backend
Requested batched linear algebra backend.
Backend
Available backends for implementations of batched algorithms.
static Backend GetActiveBackend()
Get the default backend for batched linear algebra operations.
Rank 3 tensor (array of matrices)