17 std::size_t
const n_global_nodes,
18 std::vector<std::size_t>
const& n_regular_base_nodes_at_rank,
19 std::vector<std::size_t>
const& n_regular_high_order_nodes_at_rank)
21 std::vector<int> data;
23 std::transform(n_regular_base_nodes_at_rank.begin() + 1,
24 n_regular_base_nodes_at_rank.end(),
25 n_regular_high_order_nodes_at_rank.begin() + 1,
26 std::back_inserter(data), std::plus<int>());
28 data.push_back(n_global_nodes);
34 const std::string& name,
35 const std::vector<Node*>& nodes,
36 const std::vector<std::size_t>& glb_node_ids,
37 const std::vector<Element*>& elements,
39 const std::size_t n_global_base_nodes,
40 const std::size_t n_global_nodes,
41 const std::size_t n_regular_nodes,
42 std::vector<std::size_t>&& n_regular_base_nodes_at_rank,
43 std::vector<std::size_t>&& n_regular_high_order_nodes_at_rank)
44 :
Mesh(name, nodes, elements, true ,
46 _global_node_ids(glb_node_ids),
47 _n_global_base_nodes(n_global_base_nodes),
48 _n_global_nodes(n_global_nodes),
49 _n_regular_nodes(n_regular_nodes),
50 _n_regular_base_nodes_at_rank(std::move(n_regular_base_nodes_at_rank)),
51 _n_regular_high_order_nodes_at_rank(
52 std::move(n_regular_high_order_nodes_at_rank)),
55 _n_regular_high_order_nodes_at_rank)),
56 _is_single_thread(false)