#include <test_MatrixVectorFactory.h>

Public Member Functions | |
| std::shared_ptr< Vec > | getVec (AMP::LinearAlgebra::Vector::shared_ptr vec) const override |
| AMP::LinearAlgebra::Vector::shared_ptr | getVector () const override |
| std::string | name () const override |
| PETScInterfaceRightVectorFactory (std::shared_ptr< AMP::LinearAlgebra::Matrix > matrix) | |
Static Public Member Functions | |
| static std::shared_ptr< Vector > | create (int64_t fid, AMP::IO::RestartManager *manager) |
| Create the vector from the restart file. | |
| static VectorFactory & | getFactory () |
| get a singleton instance of the factory | |
| template<class VECTOR > | |
| static void | registerVector (const std::string &name) |
| Register a vector with the factory. | |
Private Attributes | |
| std::shared_ptr< AMP::LinearAlgebra::Matrix > | d_matrix |
Definition at line 106 of file test_MatrixVectorFactory.h.
|
inlineexplicit |
Definition at line 109 of file test_MatrixVectorFactory.h.
|
staticinherited |
Create the vector from the restart file.
|
inlinestaticinherited |
get a singleton instance of the factory
Definition at line 28 of file VectorFactory.h.
|
inlineoverridevirtual |
Implements AMP::LinearAlgebra::PetscVectorFactory.
Definition at line 124 of file test_MatrixVectorFactory.h.
|
inlineoverridevirtual |
Implements AMP::LinearAlgebra::VectorFactory.
Definition at line 113 of file test_MatrixVectorFactory.h.
References AMP::LinearAlgebra::createVector(), d_matrix, and AMP::LinearAlgebra::PetscMatrix::view().
|
inlineoverridevirtual |
Implements AMP::LinearAlgebra::VectorFactory.
Definition at line 130 of file test_MatrixVectorFactory.h.
|
inlinestaticinherited |
Register a vector with the factory.
Definition at line 39 of file VectorFactory.h.
References AMP::LinearAlgebra::VectorFactory::name().
|
private |
Definition at line 133 of file test_MatrixVectorFactory.h.
Referenced by getVector().
|
Advanced Multi-Physics (AMP) Oak Ridge National Laboratory Idaho National Laboratory Los Alamos National Laboratory |
This page automatically produced from the source code by Last updated: Tue Mar 10 2026 13:06:43. Comments on this page |