Go to the documentation of this file.
22 int main(
int argc,
char *argv[])
37 printf(
"*** Meshes with more than one balancing constraint are not supported yet.\n");
74 printf(
"***It seems that Metis did not free all of its memory! Report this.\n");
79 printf(
"\n***Metis returned with an error.\n");
101 printf(
"******************************************************************************\n");
103 printf(
" (HEAD: %s, Built on: %s, %s)\n", SVNINFO, __DATE__, __TIME__);
104 printf(
" size of idx_t: %zubits, real_t: %zubits, idx_t *: %zubits\n",
107 printf(
"Mesh Information ------------------------------------------------------------\n");
108 printf(
" Name: %s, #Elements: %"PRIDX", #Nodes: %"PRIDX"\n",
111 printf(
"Options ---------------------------------------------------------------------\n");
112 printf(
" gtype=%s, ncommon=%"PRIDX", outfile=%s\n",
132 printf(
"\nTiming Information ----------------------------------------------------------\n");
136 printf(
"\nMemory Information ----------------------------------------------------------\n");
137 printf(
" Max memory used:\t\t %7.3"PRREAL" MB\n", (
real_t)(
params->maxmemory/(1024.0*1024.0)));
138 printf(
"******************************************************************************\n");
void WriteGraph(graph_t *graph, char *filename)
void gk_free(void **ptr1,...)
#define gk_getcputimer(tmr)
int main(int argc, char *argv[])
static const SmartProjectionParams params
#define gk_startcputimer(tmr)
size_t gk_GetMaxMemoryUsed()
int METIS_MeshToDual(idx_t *ne, idx_t *nn, idx_t *eptr, idx_t *eind, idx_t *ncommon, idx_t *numflag, idx_t **r_xadj, idx_t **r_adjncy)
params_t * parse_cmdline(int argc, char *argv[])
static char gtypenames[][15]
NonlinearFactorGraph graph
size_t gk_GetCurMemoryUsed()
int METIS_MeshToNodal(idx_t *ne, idx_t *nn, idx_t *eptr, idx_t *eind, idx_t *numflag, idx_t **r_xadj, idx_t **r_adjncy)
void M2GReportResults(params_t *params, mesh_t *mesh, graph_t *graph)
mesh_t * ReadMesh(params_t *params)
#define gk_stopcputimer(tmr)
void gk_malloc_cleanup(int showstats)
void M2GPrintInfo(params_t *params, mesh_t *mesh)
gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:33:10