Panzer Version of the Day
Loading...
Searching...
No Matches
Functions
panzer::blocked_tpetra_lof_detail Namespace Reference

Functions

template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
Teuchos::RCP< Tpetra::CrsMatrix< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > > getBlockAsCrsMatrix (Thyra::PhysicallyBlockedLinearOpBase< ScalarT > &Amat, int i, int j)
 

Function Documentation

◆ getBlockAsCrsMatrix()

template<typename ScalarT , typename LocalOrdinalT , typename GlobalOrdinalT , typename NodeT >
Teuchos::RCP< Tpetra::CrsMatrix< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > > panzer::blocked_tpetra_lof_detail::getBlockAsCrsMatrix ( Thyra::PhysicallyBlockedLinearOpBase< ScalarT > &  Amat,
int  i,
int  j 
)

Pull the Tpetra CrsMatrix out of block (i,j) of a Thyra blocked operator, or return null if that block is excluded. Mirrors the extraction the container already does.

Definition at line 1690 of file Panzer_BlockedTpetraLinearObjFactory_impl.hpp.