10 #ifndef MUELU_NULLSPACEFACTORY_DECL_HPP
11 #define MUELU_NULLSPACEFACTORY_DECL_HPP
67 template <
class Scalar,
class LocalOrdinal,
class GlobalOrdinal,
class Node>
74 typedef Kokkos::RangePolicy<local_ordinal_type, execution_space>
range_type;
78 #undef MUELU_NULLSPACEFACTORY_SHORT
123 using CoordsType =
typename RealValuedMultiVector::dual_view_type::t_dev_const_um;
124 using MeanCoordsType = Kokkos::View<typename RealValuedMultiVector::impl_scalar_type*, typename Node::memory_space>;
133 #define MUELU_NULLSPACEFACTORY_SHORT
134 #endif // MUELU_NULLSPACEFACTORY_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
Node::execution_space execution_space
RCP< const ParameterList > GetValidParameterList() const
Define valid parameters for internal factory parameters.
Kokkos::RangePolicy< local_ordinal_type, execution_space > range_type
typename RealValuedMultiVector::dual_view_type::t_dev_const_um CoordsType
void fillNullspaceVector(const RCP< MultiVector > &nullspace, LocalOrdinal numPDEs, LocalOrdinal nullspaceDim, CoordsType coordsView, MeanCoordsType meanView) const
void DeclareInput(Level ¤tLevel) const
Specifies the data that this class needs, and the factories that generate that data.
Kokkos::View< typename RealValuedMultiVector::impl_scalar_type *, typename Node::memory_space > MeanCoordsType
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
LocalOrdinal local_ordinal_type
typename Teuchos::ScalarTraits< Scalar >::coordinateType coordinate_type
void SetParameter(const std::string &name, const ParameterEntry &entry)
Set a parameter directly as a ParameterEntry.
NullspaceFactory(const std::string &nspName="Nullspace")
Constructor.
virtual ~NullspaceFactory()
Destructor.
GlobalOrdinal global_ordinal_type
Base class for factories that use one level (currentLevel).
Factory for generating nullspace.
void Build(Level ¤tLevel) const
Build an object with this factory.