Example of partitioning a mesh composed of 4 quadrilaterals and 9 nodes based upon its nodal graph.
Source: https://www.cfd-online.com/Forums/main/112366-using-metis-functions-fortran.html#post404734
Type | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|
integer(kind=idx_t), | parameter | :: | ne | = | 4 | |
integer(kind=idx_t), | parameter | :: | nn | = | 9 | |
integer(kind=idx_t) | :: | eptr(ne+1) | ||||
integer(kind=idx_t) | :: | eind(4*ne) | ||||
integer(kind=idx_t) | :: | epart(ne) | ||||
integer(kind=idx_t) | :: | npart(nn) | ||||
integer(kind=idx_t) | :: | opts(0:METIS_NOPTIONS-1) | ||||
integer(kind=idx_t) | :: | ios | ||||
integer(kind=idx_t) | :: | objval |