You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
902 B
24 lines
902 B
/*
|
|
* Copyright(C) 1999-2020, 2022 National Technology & Engineering Solutions
|
|
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
|
|
* NTESS, the U.S. Government retains certain rights in this software.
|
|
*
|
|
* See packages/seacas/LICENSE for details
|
|
*/
|
|
#pragma once
|
|
|
|
struct refine_vdata
|
|
{
|
|
float above; /* sum of edge weights pulling me higher */
|
|
float below; /* sum of edge weights pulling me lower */
|
|
float same; /* sum of edge weights keeping me here */
|
|
};
|
|
|
|
struct refine_edata
|
|
{
|
|
short node1, node2; /* nodes in mesh connected by this edge */
|
|
short dim; /* which dimension of mesh does wire span? */
|
|
float swap_desire; /* reduction in hops if edge is flipped */
|
|
struct refine_edata *prev; /* pointer to previous guy in list */
|
|
struct refine_edata *next; /* pointer to next guy in list */
|
|
};
|
|
|