% -*- texinfo -*- % @deftypefn {Function File} {[@var{omesh},@var{nodelist},@var{elementlist}]} = MSH3Msubmesh(@var{imesh},@var{intrfc},@var{sdl}) % % Gives as output a specified submesh, and the lists of nodes and element that are mantained. % % Input: % @itemize @minus % @item @var{imesh}: standard PDEtool-like mesh, with field 'p', 'e', 't'. % @item @var{intrfc}: row vector containing the number of the internal % interface sides (numbering referred to mesh.e(10,:)) that should be % mantained. Could be empty. % @item @var{sdl} (subdomain list): row vector containing the list of the subdomain that are going to be extracted. % @end itemize % % Output: % @itemize @minus % @item @var{omesh}: standard PDEtool-like mesh, with field 'p', 'e', 't'. % @item @var{nodelist}: list of the node of the original mesh that are present in the restricted one. % @item @var{elementlist}: list of the element of the original mesh that are present in the restricted one. % @end itemize % % @seealso{MSH3Mstructmesh,MSH3Mjoinstructm,MSH3Mgmsh} % @end deftypefn