42 #ifndef TPETRA_FEMULTIVECTOR_DECL_HPP
43 #define TPETRA_FEMULTIVECTOR_DECL_HPP
53 template <
class Scalar,
58 public MultiVector<Scalar, LocalOrdinal, GlobalOrdinal, Node>
75 using scalar_type = Scalar;
79 using global_ordinal_type = GlobalOrdinal;
88 using node_type = Node;
110 FEMultiVector () =
delete;
139 FEMultiVector (
const Teuchos::RCP<const map_type>& map,
140 const Teuchos::RCP<
const Import<local_ordinal_type, global_ordinal_type, node_type>>& importer,
141 const size_t numVecs,
142 const bool zeroOut =
true);
145 FEMultiVector (
const FEMultiVector<Scalar, LocalOrdinal, GlobalOrdinal, Node>&) =
delete;
148 FEMultiVector (FEMultiVector<Scalar, LocalOrdinal, GlobalOrdinal, Node>&&) =
delete;
152 operator= (
const FEMultiVector<Scalar, LocalOrdinal, GlobalOrdinal, Node>&) =
delete;
156 operator= (FEMultiVector<Scalar, LocalOrdinal, GlobalOrdinal, Node>&&) =
delete;
167 virtual ~FEMultiVector () =
default;
174 void beginAssembly ();
184 void globalAssemble ();
200 void switchActiveMultiVector();
207 void replaceMap (
const Teuchos::RCP<const map_type>& map);
212 FE_ACTIVE_OWNED_PLUS_SHARED,
222 Teuchos::RCP<FillState> fillState_;
225 Teuchos::RCP<base_type> inactiveMultiVector_;
232 Teuchos::RCP<FEWhichActive> activeMultiVector_;
235 Teuchos::RCP<const Import<local_ordinal_type, global_ordinal_type, node_type>> importer_;
240 #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.