Xpetra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Xpetra::MultiVectorFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

#include <Xpetra_MultiVectorFactory_decl.hpp>

Static Public Member Functions

static Teuchos::RCP
< MultiVector< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
Build (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node >> &map, size_t NumVectors, bool zeroOut=true)
 Constructor specifying the number of non-zeros for all rows. More...
 
static Teuchos::RCP
< MultiVector< Scalar,
LocalOrdinal, GlobalOrdinal,
Node > > 
Build (const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node >> &map, const Teuchos::ArrayView< const Teuchos::ArrayView< const Scalar >> &ArrayOfPtrs, size_t NumVectors)
 Set multi-vector values from array of pointers using Teuchos memory management classes. (copy). More...
 

Private Member Functions

 MultiVectorFactory ()
 Private constructor. This is a static class. More...
 

Detailed Description

template<class Scalar, class LocalOrdinal, class GlobalOrdinal, class Node = KokkosClassic::DefaultNode::DefaultNodeType>
class Xpetra::MultiVectorFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >

Definition at line 72 of file Xpetra_MultiVectorFactory_decl.hpp.

Constructor & Destructor Documentation

template<class Scalar, class LocalOrdinal, class GlobalOrdinal, class Node = KokkosClassic::DefaultNode::DefaultNodeType>
Xpetra::MultiVectorFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::MultiVectorFactory ( )
inlineprivate

Private constructor. This is a static class.

Definition at line 77 of file Xpetra_MultiVectorFactory_decl.hpp.

Member Function Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Xpetra::MultiVectorFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Build ( const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node >> &  map,
size_t  NumVectors,
bool  zeroOut = true 
)
static

Constructor specifying the number of non-zeros for all rows.

Definition at line 62 of file Xpetra_MultiVectorFactory_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
Teuchos::RCP< MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Xpetra::MultiVectorFactory< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Build ( const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node >> &  map,
const Teuchos::ArrayView< const Teuchos::ArrayView< const Scalar >> &  ArrayOfPtrs,
size_t  NumVectors 
)
static

Set multi-vector values from array of pointers using Teuchos memory management classes. (copy).

Definition at line 91 of file Xpetra_MultiVectorFactory_def.hpp.


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