#include <VectorFactory.h>

Public Member Functions | |
| ArrayVectorFactory (size_t d, size_t i, bool global) | |
| AMP::LinearAlgebra::Vector::shared_ptr | getVector () const override |
| std::string | name () const override |
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 Member Functions | |
| ArrayVectorFactory ()=delete | |
Private Attributes | |
| size_t | D |
| bool | GLOBAL |
| size_t | I |
Definition at line 80 of file VectorFactory.h.
|
inline |
Definition at line 83 of file VectorFactory.h.
|
privatedelete |
|
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::VectorFactory.
Definition at line 84 of file VectorFactory.h.
References AMP_COMM_WORLD, AMP::LinearAlgebra::ArrayVectorFactory< TYPE >::D, AMP::AMP_MPI::getRank(), AMP::LinearAlgebra::ArrayVectorFactory< TYPE >::GLOBAL, and AMP::LinearAlgebra::ArrayVectorFactory< TYPE >::I.
|
inlineoverridevirtual |
Implements AMP::LinearAlgebra::VectorFactory.
Definition at line 95 of file VectorFactory.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 99 of file VectorFactory.h.
Referenced by AMP::LinearAlgebra::ArrayVectorFactory< TYPE >::getVector().
|
private |
Definition at line 100 of file VectorFactory.h.
Referenced by AMP::LinearAlgebra::ArrayVectorFactory< TYPE >::getVector().
|
private |
Definition at line 99 of file VectorFactory.h.
Referenced by AMP::LinearAlgebra::ArrayVectorFactory< TYPE >::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:42. Comments on this page |