10 #ifndef TPETRA_FEMULTIVECTOR_DECL_HPP
11 #define TPETRA_FEMULTIVECTOR_DECL_HPP
21 template <
class Scalar,
26 public MultiVector<Scalar, LocalOrdinal, GlobalOrdinal, Node>
43 using scalar_type = Scalar;
47 using global_ordinal_type = GlobalOrdinal;
56 using node_type = Node;
78 FEMultiVector () =
delete;
107 FEMultiVector (
const Teuchos::RCP<const map_type>& map,
108 const Teuchos::RCP<
const Import<local_ordinal_type, global_ordinal_type, node_type>>& importer,
109 const size_t numVecs,
110 const bool zeroOut =
true);
113 FEMultiVector (
const FEMultiVector<Scalar, LocalOrdinal, GlobalOrdinal, Node>&) =
delete;
116 FEMultiVector (FEMultiVector<Scalar, LocalOrdinal, GlobalOrdinal, Node>&&) =
delete;
120 operator= (
const FEMultiVector<Scalar, LocalOrdinal, GlobalOrdinal, Node>&) =
delete;
124 operator= (FEMultiVector<Scalar, LocalOrdinal, GlobalOrdinal, Node>&&) =
delete;
135 virtual ~FEMultiVector () =
default;
142 void beginAssembly ();
152 void globalAssemble ();
168 void switchActiveMultiVector();
175 void replaceMap (
const Teuchos::RCP<const map_type>& map);
177 Teuchos::RCP<FE::FillState> fillState_;
180 Teuchos::RCP<base_type> inactiveMultiVector_;
187 Teuchos::RCP<FE::WhichActive> activeMultiVector_;
190 Teuchos::RCP<const Import<local_ordinal_type, global_ordinal_type, node_type>> importer_;
195 #endif // TPETRA_FEMULTIVECTOR_DECL_HPP
typename device_type::execution_space execution_space
Type of the (new) Kokkos execution space.
typename Kokkos::ArithTraits< impl_scalar_type >::mag_type mag_type
Type of a norm result.
void replaceMap(const Teuchos::RCP< const map_type > &map)
Replace the underlying Map in place.
typename map_type::device_type device_type
This class' preferred Kokkos device type.
int local_ordinal_type
Default value of Scalar template parameter.
typename Kokkos::ArithTraits< Scalar >::val_type impl_scalar_type
The type used internally in place of Scalar.
Declaration of the Tpetra::MultiVector class.
CombineMode
Rule for combining data in an Import or Export.
Kokkos::DualView< impl_scalar_type **, Kokkos::LayoutLeft, device_type > dual_view_type
Kokkos::DualView specialization used by this class.
Map< LocalOrdinal, GlobalOrdinal, Node > map_type
The type of the Map specialization used by this class.
Forward declaration of Tpetra::FEMultiVector.
typename Kokkos::Details::InnerProductSpaceTraits< impl_scalar_type >::dot_type dot_type
Type of an inner ("dot") product result.