fedoo.Mesh.gausspoint_coordinates

Mesh.gausspoint_coordinates(n_elm_gp: int | None = None) ndarray

Return the coordinates of the integration points

Parameters:

n_elm_gp (int|None, optional) – Number of gauss points. Default depend of the element type. If n_elm_gp = 1, return the center of the elements (same as element_centers property)

Returns:

The coordinates of the gauss points. The lenght of the returned array is n_elm_gp*n_elements The coordiantes of the ith gauss point (i=0 for the 1st gp) for each element have index in range(i*n_nodes:(i+1)*n_nodes) The results can be reshaped (n_elm_gp,n_elements,ndim) for sake of clarity.

Return type:

numpy.ndarray