42 #ifndef TPETRA_SERIALPLATFORM_HPP
43 #define TPETRA_SERIALPLATFORM_HPP
45 #include <Tpetra_ConfigDefs.hpp>
47 #include <Kokkos_DefaultNode.hpp>
48 #include <Teuchos_DefaultSerialComm.hpp>
49 #include <Teuchos_Describable.hpp>
96 comm_ (Teuchos::rcp (new Teuchos::SerialComm<int> ()))
111 const Teuchos::RCP<NodeType>& ) :
112 comm_ (Teuchos::null)
126 Teuchos::RCP<const Teuchos::Comm<int> >
getComm ()
const {
135 return Teuchos::rcp (
new Node);
141 Teuchos::RCP<const Teuchos::Comm<int> >
comm_;
158 public Teuchos::Describable {
175 comm_ (Teuchos::rcp (new Teuchos::SerialComm<int> ()))
184 comm_ (Teuchos::null)
203 comm_ (Teuchos::rcp (new Teuchos::SerialComm<int> ()))
218 const Teuchos::RCP<NodeType>& ) :
219 comm_ (Teuchos::null)
233 Teuchos::RCP<const Teuchos::Comm<int> >
getComm()
const {
242 Teuchos::RCP<Tpetra::Details::DefaultTypes::node_type>
258 Teuchos::RCP<const Teuchos::Comm<int> >
comm_;
263 #endif // TPETRA_SERIALPLATFORM_HPP
void initialize(int *argc, char ***argv)
Initialize Tpetra.
Functions for initializing and finalizing Tpetra.
::Kokkos::Compat::KokkosDeviceWrapperNode< execution_space > node_type
Default value of Node template parameter.
Teuchos::RCP< const Teuchos::Comm< int > > getDefaultComm()
Get Tpetra's default communicator.