10#ifndef TPETRA_FEMULTIVECTOR_DECL_HPP
11#define TPETRA_FEMULTIVECTOR_DECL_HPP
29template <
class Scalar,
33class FEMultiVector :
public MultiVector<Scalar, LocalOrdinal, GlobalOrdinal, Node> {
114 const Teuchos::RCP<
const Import<local_ordinal_type, global_ordinal_type, node_type>>& importer,
115 const size_t numVecs,
116 const bool zeroOut =
true);
148 void beginAssembly();
158 void globalAssemble();
174 void switchActiveMultiVector();
181 void replaceMap(
const Teuchos::RCP<const map_type>& map);
183 Teuchos::RCP<FE::FillState> fillState_;
186 Teuchos::RCP<base_type> inactiveMultiVector_;
193 Teuchos::RCP<FE::WhichActive> activeMultiVector_;
196 Teuchos::RCP<const Import<local_ordinal_type, global_ordinal_type, node_type>> importer_;
Forward declaration of Tpetra::FEMultiVector.
Declaration of the Tpetra::MultiVector class.
A distributed MultiVector for finite element assembly.
One or more distributed dense vectors.
typename map_type::global_ordinal_type global_ordinal_type
The type of global indices that this class uses.
typename map_type::node_type node_type
Legacy thing that you should not use any more.
typename map_type::local_ordinal_type local_ordinal_type
The type of local indices that this class uses.
Kokkos::DualView< impl_scalar_type **, Kokkos::LayoutLeft, device_type > dual_view_type
Kokkos::DualView specialization used by this class.
typename KokkosKernels::ArithTraits< Scalar >::val_type impl_scalar_type
The type used internally in place of Scalar.
Scalar scalar_type
The type of each entry in the MultiVector.
typename map_type::device_type device_type
This class' preferred Kokkos device type.
typename KokkosKernels::ArithTraits< impl_scalar_type >::mag_type mag_type
Type of a norm result.
Map< LocalOrdinal, GlobalOrdinal, Node > map_type
The type of the Map specialization used by this class.
typename KokkosKernels::Details::InnerProductSpaceTraits< impl_scalar_type >::dot_type dot_type
Type of an inner ("dot") product result.
typename device_type::execution_space execution_space
Type of the (new) Kokkos execution space.
Namespace Tpetra contains the class and methods constituting the Tpetra library.
CombineMode
Rule for combining data in an Import or Export.