get_group (method)

get_group(self, group_names)[source]

Return all attributes of a MeshSolution object with only the cells, points and corresponding solutions of the group. Solutions are converted as SolutionMat.

selfMeshSolution

an MeshSolution object

group_namestr

the name of the group (e.g. “stator”)

grp_cells: dict

a dict sorted by cell type containing connectivity of the group