cashocs.io.mesh.create_point_representation#

cashocs.io.mesh.create_point_representation(dim: int, points: ndarray, idcs: ndarray, subwrite_counter: int) str[source]#

Creates the representation of the mesh coordinates for gmsh .msh file.

Parameters:
  • dim (int) – Dimension of the mesh.

  • points (ndarray) – The array of the mesh coordinates.

  • idcs (ndarray) – The list of indices of the points for the current element.

  • subwrite_counter (int) – A counter for looping over the indices.

Returns:

A string representation of the mesh coordinates.

Return type:

str