Navigation

Operators and Keywords

Function List:

C++ API

Function File: [omesh,nodelist,elementlist] = msh3m_submesh(imesh,intrfc,sdl)

Extract the subdomain(s) in sdl from imesh.

The row vector intrfc contains the internal interface sides to be maintained (field mesh.e(5,:)). It can be empty.

Return the vectors nodelist and elementlist containing respectively the list of nodes and elements of the original mesh that are part of the selected subdomain(s).

See also: msh3m_join_structured_mesh, msh2m_join_structured_mesh, msh3m_submesh.

Package: msh