Advanced Multi-Physics (AMP)
On-Line Documentation
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
AMP::LinearAlgebra::SimpleVectorFactory< TYPE, VecOps, VecData > Class Template Reference

#include <VectorFactory.h>

Inheritance diagram for AMP::LinearAlgebra::SimpleVectorFactory< TYPE, VecOps, VecData >:
Inheritance graph
[legend]

Public Member Functions

AMP::LinearAlgebra::Vector::shared_ptr getVector () const override
 
std::string name () const override
 
 SimpleVectorFactory (int i, bool global, std::string name="SimpleVectorFactory")
 

Static Public Member Functions

static std::shared_ptr< Vectorcreate (int64_t fid, AMP::IO::RestartManager *manager)
 Create the vector from the restart file.
 
static VectorFactorygetFactory ()
 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

 SimpleVectorFactory ()=delete
 

Private Attributes

bool GLOBAL
 
int I
 
std::string NAME
 

Detailed Description

template<class TYPE = double, typename VecOps = VectorOperationsDefault<TYPE>, typename VecData = VectorDataDefault<TYPE>>
class AMP::LinearAlgebra::SimpleVectorFactory< TYPE, VecOps, VecData >

Definition at line 52 of file VectorFactory.h.

Constructor & Destructor Documentation

◆ SimpleVectorFactory() [1/2]

template<class TYPE = double, typename VecOps = VectorOperationsDefault<TYPE>, typename VecData = VectorDataDefault<TYPE>>
AMP::LinearAlgebra::SimpleVectorFactory< TYPE, VecOps, VecData >::SimpleVectorFactory ( int  i,
bool  global,
std::string  name = "SimpleVectorFactory< TYPE, VecOps, VecData >" 
)
inline

Definition at line 55 of file VectorFactory.h.

◆ SimpleVectorFactory() [2/2]

template<class TYPE = double, typename VecOps = VectorOperationsDefault<TYPE>, typename VecData = VectorDataDefault<TYPE>>
AMP::LinearAlgebra::SimpleVectorFactory< TYPE, VecOps, VecData >::SimpleVectorFactory ( )
privatedelete

Member Function Documentation

◆ create()

static std::shared_ptr< Vector > AMP::LinearAlgebra::VectorFactory::create ( int64_t  fid,
AMP::IO::RestartManager manager 
)
staticinherited

Create the vector from the restart file.

◆ getFactory()

static VectorFactory & AMP::LinearAlgebra::VectorFactory::getFactory ( )
inlinestaticinherited

get a singleton instance of the factory

Definition at line 28 of file VectorFactory.h.

◆ getVector()

template<class TYPE = double, typename VecOps = VectorOperationsDefault<TYPE>, typename VecData = VectorDataDefault<TYPE>>
AMP::LinearAlgebra::Vector::shared_ptr AMP::LinearAlgebra::SimpleVectorFactory< TYPE, VecOps, VecData >::getVector ( ) const
inlineoverridevirtual

◆ name()

template<class TYPE = double, typename VecOps = VectorOperationsDefault<TYPE>, typename VecData = VectorDataDefault<TYPE>>
std::string AMP::LinearAlgebra::SimpleVectorFactory< TYPE, VecOps, VecData >::name ( ) const
inlineoverridevirtual

◆ registerVector()

template<class VECTOR >
static void AMP::LinearAlgebra::VectorFactory::registerVector ( const std::string &  name)
inlinestaticinherited

Register a vector with the factory.

Definition at line 39 of file VectorFactory.h.

References AMP::LinearAlgebra::VectorFactory::name().

Member Data Documentation

◆ GLOBAL

template<class TYPE = double, typename VecOps = VectorOperationsDefault<TYPE>, typename VecData = VectorDataDefault<TYPE>>
bool AMP::LinearAlgebra::SimpleVectorFactory< TYPE, VecOps, VecData >::GLOBAL
private

◆ I

template<class TYPE = double, typename VecOps = VectorOperationsDefault<TYPE>, typename VecData = VectorDataDefault<TYPE>>
int AMP::LinearAlgebra::SimpleVectorFactory< TYPE, VecOps, VecData >::I
private

◆ NAME

template<class TYPE = double, typename VecOps = VectorOperationsDefault<TYPE>, typename VecData = VectorDataDefault<TYPE>>
std::string AMP::LinearAlgebra::SimpleVectorFactory< TYPE, VecOps, VecData >::NAME
private

The documentation for this class was generated from the following file:



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:43.
Comments on this page