42 #ifndef TPETRA_MPIPLATFORM_HPP
43 #define TPETRA_MPIPLATFORM_HPP
45 #include <Teuchos_DefaultMpiComm.hpp>
46 #include <Teuchos_Describable.hpp>
47 #include <Tpetra_ConfigDefs.hpp>
48 #include <Kokkos_DefaultNode.hpp>
97 comm_ (Teuchos::createMpiComm<int> (Teuchos::opaqueWrapper<MPI_Comm> (MPI_COMM_WORLD))),
121 :
comm_ (Teuchos::createMpiComm<int> (rawMpiComm)),
136 :
comm_ (Teuchos::createMpiComm<int> (Teuchos::opaqueWrapper<MPI_Comm> (rawMpiComm))),
194 typedef Kokkos::DefaultNode::DefaultNodeType
NodeType;
207 comm_ (Teuchos::createMpiComm<int> (Teuchos::opaqueWrapper<MPI_Comm> (MPI_COMM_WORLD))),
208 node_ (Kokkos::DefaultNode::getDefaultNode ())
226 comm_ (Teuchos::createMpiComm<int> (Teuchos::opaqueWrapper<MPI_Comm> (MPI_COMM_WORLD))),
227 node_ (node.
is_null() ? Kokkos::DefaultNode::getDefaultNode() : node)
249 :
comm_ (Teuchos::createMpiComm<int> (rawMpiComm)),
250 node_ (node.
is_null() ? Kokkos::DefaultNode::getDefaultNode() : node)
264 :
comm_ (Teuchos::createMpiComm<int> (Teuchos::opaqueWrapper<MPI_Comm> (rawMpiComm))),
265 node_ (node.
is_null() ? Kokkos::DefaultNode::getDefaultNode() : node)
303 #endif // TPETRA_MPIPLATFORM_HPP
bool is_null(const boost::shared_ptr< T > &p)