gustaf.utils.connec.make_quad_faces#

gustaf.utils.connec.make_quad_faces(resolutions)[source]#

Given number of nodes per each dimension, returns connectivity information of a structured mesh. Counter clock wise connectivity.

(3)*------*(2)
   |      |
   |      |
(0)*------*(1)
Parameters:

resolutions (list)

Returns:

faces

Return type:

(n, 4) np.ndarray