46 #ifndef XPETRA_VECTORFACTORY_HPP 47 #define XPETRA_VECTORFACTORY_HPP 52 #ifdef HAVE_XPETRA_TPETRA 55 #ifdef HAVE_XPETRA_EPETRA 64 template <class Scalar = Vector<>::scalar_type,
69 #undef XPETRA_VECTORFACTORY_SHORT 82 #ifdef HAVE_XPETRA_TPETRA 92 #define XPETRA_VECTORFACTORY_SHORT 101 #undef XPETRA_VECTORFACTORY_SHORT 113 #ifdef HAVE_XPETRA_TPETRA 118 #ifdef HAVE_XPETRA_EPETRA 119 #ifndef XPETRA_EPETRA_NO_32BIT_GLOBAL_INDICES 130 #ifdef HAVE_XPETRA_INT_LONG_LONG 138 #undef XPETRA_VECTORFACTORY_SHORT 150 #ifdef HAVE_XPETRA_TPETRA 155 #if defined(HAVE_XPETRA_EPETRA) && ! defined(XPETRA_EPETRA_NO_64BIT_GLOBAL_INDICES) 164 #endif // HAVE_XPETRA_INT_LONG_LONG 166 #define XPETRA_VECTORFACTORY_SHORT 175 #undef XPETRA_VECTORFACTORY_SHORT 187 #ifdef HAVE_XPETRA_TPETRA 192 #ifdef HAVE_XPETRA_EPETRA 193 #ifndef XPETRA_EPETRA_NO_32BIT_GLOBAL_INDICES 204 #ifdef HAVE_XPETRA_INT_LONG_LONG 212 #undef XPETRA_VECTORFACTORY_SHORT 224 #ifdef HAVE_XPETRA_TPETRA 229 #if defined(HAVE_XPETRA_EPETRA) && ! defined(XPETRA_EPETRA_NO_64BIT_GLOBAL_INDICES) 238 #endif // HAVE_XPETRA_INT_LONG_LONG 242 #define XPETRA_VECTORFACTORY_SHORT
LocalOrdinal local_ordinal_type
VectorFactory()
Private constructor. This is a static class.
#define XPETRA_FACTORY_ERROR_IF_EPETRA(lib)
VectorFactory()
Private constructor. This is a static class.
static RCP< Vector > Build(const Teuchos::RCP< const Map > &map, bool zeroOut=true)
static RCP< Vector > Build(const Teuchos::RCP< const Map > &map, bool zeroOut=true)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Vector< int, int, GlobalOrdinal >::node_type Node
Vector< double, int, GlobalOrdinal >::node_type Node
#define XPETRA_FACTORY_END
static RCP< Vector > Build(const Teuchos::RCP< const Map > &map, bool zeroOut=true)
Constructor specifying the number of non-zeros for all rows.
VectorFactory()
Private constructor. This is a static class.
#define XPETRA_MONITOR(funcName)