how to use the Cuthill-McKee algorithm (symrcm) for msh files

I have built a mesh of a cylindrical structure using GMSH, I would like to reduce the bandwidth of the nodes, for do that I woud like to use the Cuthill-McKee algorithm. I think matlab has it built in thought the function symrcm(), but I don't know how to use it for a .msh file.
For a cylinder, the meshing file is some like this:
$ MeshFormat
2.2 0 8
$ EndMeshFormat
$ Nodes
6870
1 300 -7.347638122934264e-014 10
2 300 -7.347638122934264e-014 0
I attach the cylinder mesh file,
Thanks so much.

Answers (0)

Categories

Find more on Sparse Matrices in Help Center and File Exchange

Tags

Asked:

on 14 Apr 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!