Thyra Version of the Day
Loading...
Searching...
No Matches
Thyra_DefaultSpmdVectorSpaceFactory_def.hpp
1// @HEADER
2// *****************************************************************************
3// Thyra: Interfaces and Support for Abstract Numerical Algorithms
4//
5// Copyright 2004 NTESS and the Thyra contributors.
6// SPDX-License-Identifier: BSD-3-Clause
7// *****************************************************************************
8// @HEADER
9
10#ifndef THYRA_DEFAULT_SPMD_VECTOR_SPACE_FACTORY_HPP
11#define THYRA_DEFAULT_SPMD_VECTOR_SPACE_FACTORY_HPP
12
13#include "Thyra_DefaultSpmdVectorSpaceFactory_decl.hpp"
14#include "Thyra_VectorSpaceFactoryBase.hpp"
15#include "Thyra_DefaultSpmdVectorSpace.hpp"
16
17namespace Thyra {
18
19template<class Scalar>
25
26template<class Scalar>
29{
30 return locallyReplicatedDefaultSpmdVectorSpace<Scalar>(comm_, dim);
31}
32
33} // end namespace Thyra
34
35#endif // THYRA_DEFAULT_SPMD_VECTOR_SPACE_FACTORY_HPP
Teuchos::RCP< const VectorSpaceBase< Scalar > > createVecSpc(int dim) const
Create a new locally-replicated DefaultSpmdVectorSpace object given its dimension!
DefaultSpmdVectorSpaceFactory(const Teuchos::RCP< const Teuchos::Comm< Ordinal > > &comm=Teuchos::null)
Depreciated .