dune-istl 2.12-git
Loading...
Searching...
No Matches

Classes for using UMFPack with ISTL matrices. More...

Go to the source code of this file.

Classes

struct  Dune::UMFPackMethodChooser< T >
 
struct  Dune::UMFPackMethodChooser< double >
 
struct  Dune::UMFPackMethodChooser< std::complex< double > >
 
class  Dune::UMFPack< M >
 The UMFPack direct sparse solver. More...
 
struct  Dune::IsDirectSolver< UMFPack< M > >
 
struct  Dune::StoresColumnCompressed< UMFPack< BCRSMatrix< T, A > > >
 
struct  Dune::UMFPackImpl::isValidBlock< OpTraits, class >
 
struct  Dune::UMFPackImpl::isValidBlock< OpTraits, std::enable_if_t< std::is_same_v< Impl::UMFPackDomainType< typename OpTraits::matrix_type >, typename OpTraits::domain_type > &&std::is_same_v< Impl::UMFPackRangeType< typename OpTraits::matrix_type >, typename OpTraits::range_type > &&std::is_same_v< typename FieldTraits< typename OpTraits::domain_type::field_type >::real_type, double > &&std::is_same_v< typename FieldTraits< typename OpTraits::range_type::field_type >::real_type, double > > >
 

Namespaces

namespace  Dune
 
namespace  Dune::UMFPackImpl
 

Functions

 Dune::DUNE_REGISTER_SOLVER ("umfpack", [](auto opTraits, const auto &op, const Dune::ParameterTree &config) -> std::shared_ptr< typename decltype(opTraits)::solver_type > { using OpTraits=decltype(opTraits);if constexpr(OpTraits::isParallel){ if(opTraits.getCommOrThrow(op).communicator().size() > 1) DUNE_THROW(Dune::InvalidStateException, "UMFPack works only for sequential operators.");} if constexpr(OpTraits::isAssembled){ using M=typename OpTraits::matrix_type;if constexpr(UMFPackImpl::isValidBlock< OpTraits >::value) { const auto &A=opTraits.getAssembledOpOrThrow(op);const M &mat=A->getmat();return std::make_shared< Dune::UMFPack< M > >(mat, config);} } DUNE_THROW(UnsupportedType, "Unsupported Type in UMFPack (only double and std::complex<double> supported)");return nullptr;})
 

Detailed Description

Classes for using UMFPack with ISTL matrices.

Author
Dominic Kempf