A static "factory" that provides a way to register and construct arbitrary Ifpack2::Container subclasses using string keys.
More...
#include <Ifpack2_ContainerFactory_decl.hpp>
template<typename MatrixType>
class Ifpack2::ContainerFactory< MatrixType >
A static "factory" that provides a way to register and construct arbitrary Ifpack2::Container subclasses using string keys.
- Template Parameters
-
MatrixType | A specialization of Tpetra::RowMatrix. |
◆ scalar_type
template<typename MatrixType >
The type of the entries of the input MatrixType.
◆ local_ordinal_type
template<typename MatrixType >
The local_ordinal_type from the input MatrixType.
◆ global_ordinal_type
template<typename MatrixType >
The global_ordinal_type from the input MatrixType.
◆ node_type
template<typename MatrixType >
The node_type from the input MatrixType.
◆ row_matrix_type
template<typename MatrixType >
Tpetra::RowMatrix specialization (superclass of MatrixType)
◆ import_type
template<typename MatrixType >
Tpetra::Importer specialization for use with MatrixType
and compatible MultiVectors.
◆ registerContainer()
template<typename MatrixType >
template<typename ContainerType >
Registers a specialization of Ifpack2::Container by binding a key (string) to it.
- Template Parameters
-
ContainerType | The Container specialization to register. |
- Parameters
-
containerType | The key to pair with ContainerType. After registering, the key can be used to construct a ContainerType. |
◆ build()
template<typename MatrixType >
Build a specialization of Ifpack2::Container given a key that has been registered.
- Parameters
-
containerType | The key for looking up the Container specialization. If this key hasn't been registered, an exception is thrown. |
A | The problem matrix. |
partitions | The rows that correspond to each block. The outer list contains blocks, and the inner list contains rows. In BlockRelaxation, this is retrieved from a Partitioner. |
importer | The importer that is used to import off-process rows (used by overlapping BlockRelaxation). |
pointIndexed | If A is a BlockCrsMatrix, whether partitions contains the indices of individual DOFs instead of nodes/blocks. |
◆ deregisterContainer()
template<typename MatrixType >
Registers a specialization of Ifpack2::Container by binding a key (string) to it.
- Parameters
-
containerType | The key to deregister. If it wasn't registered before, the call has no effect. |
The documentation for this class was generated from the following files: