function info=mphxmeshinfo(model,varargin)
% MPHXHESHINFO Extract information about the Xmesh
% 
%   INFO = MPHXMESHINFO(MODEL, 'SOLNAME', SOLNAME) extracts xmesh 
%   information from the solution with the name SOLNAME.
% 
%   INFO = MPHXMESHINFO(MODEL, 'SOLANME', SOLNAME, 'STUDYSTEPTAG', STTAG) 
%   extracts xmesh information from the Study Step with the tag STTAG.
% 
%   Valid property/value pairs include:
%   Property      Value/{Default}            Description
%   -----------------------------------------------------------------------
%   Solname                                  Solver name
%   Studysteptag                             Tag for the study step
% 
%   See the entry MPHXMESHINFO in the LiveLink for MATLAB User's Guide for 
%   more information about the entity type definition. 
% 
%   Example:
%     % Load busbar.mph from the Model Library:
%     model = mphload('busbar.mph')
%     % Extract xmesh information for the Solver feature:
%     info = mphxmeshinfo(model,'solname', 'sol1')
%     % Extract xmesh information from the Study Step node st1:
%     info = mphxmeshinfo(model,'solname', 'sol1', 'studysteptag', 'st1')

% Copyright 2010-2011 COMSOL
