| 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 <cstddef> // for size_t |
| 11 |
struct Machine_Description; |
| 12 |
struct Problem_Description; |
| 13 |
template <typename INT> struct Graph_Description; |
| 14 |
template <typename INT> struct Mesh_Description; |
| 15 |
|
| 16 |
/* Function prototypes */ |
| 17 |
template <typename INT> |
| 18 |
int parse_groups(Mesh_Description<INT> *mesh, /* Mesh information structure */ |
| 19 |
Problem_Description *prob); /* Problem information */ |
| 20 |
|
| 21 |
template <typename INT> |
| 22 |
int get_group_info(Machine_Description *machine, Problem_Description *prob, |
| 23 |
Mesh_Description<INT> *mesh, Graph_Description<INT> *graph, int elem2grp[], |
| 24 |
int nprocg[], int nelemg[], size_t *max_vtx, size_t *max_adj); |