22 auto graph = this->getGraph();
25 auto rows =
typename dev_crs_graph_type::local_graph_device_type::row_map_type::non_const_type(
"rows", graph.numRows() + 1);
26 auto entries =
typename dev_crs_graph_type::local_graph_device_type::entries_type::non_const_type(
"columns", graph.entries.extent(0));
27 Kokkos::deep_copy(
rows, graph.row_map);
28 Kokkos::deep_copy(entries, graph.entries);
31 auto graph_d = local_graph_type_device(entries,
rows);
37 auto bndry = this->GetBoundaryNodeMap();
38 auto bndry_d = bndry_nodes_type(
"boundary_nodes", bndry.extent(0));
39 Kokkos::deep_copy(bndry_d, bndry);
40 lw_d->SetBoundaryNodeMap(bndry_d);