Debian Codegraph @

packages/seacas/applications/nem_slice/fix_column_partitions.h

raw
1 /*
2 * Copyright(C) 1999-2020, 2022 National Technology & Engineering Solutions
3 * of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
4 * NTESS, the U.S. Government retains certain rights in this software.
5 *
6 * See packages/seacas/LICENSE for details
7 */
8 #pragma once
9
10 #include "elb.h" // for LB_Description<INT>, etc
11
12 /*! @brief If the mesh is columnar, ensure each column is fully in on partition
13 @param lb Load balancing or partitioning information (may be modified)
14 @param mesh Description of the mesh
15 @param graph Description of the adjacency graph
16
17 **** ASSUMES COLUMNS ARE STRICTLY VERTICAL, i.e., NO LATERAL FACE ****
18 **** HAS A Z-COMPONENT IN ITS NORMAL ****
19
20 */
21
22 template <typename INT>
23 int fix_column_partitions(LB_Description<INT> *lb, Mesh_Description<INT> const *const mesh,
24 Graph_Description<INT> const *const graph);