%--------------------------------------------------------------------------
% OUTPUT.SORT
%--------------------------------------------------------------------------
% Creation of an output file.
%--------------------------------------------------------------------------
% Syntax
%--------------------------------------------------------------------------
OUTPUT.SORT(file_name,format,'MESH',label)
OUTPUT.SORT(file_name,format,'CHPOINT',label,CHP1,nb_compo)
OUTPUT.SORT(file_name,format,'CHAMELEM',MO1,CHAM1)
%--------------------------------------------------------------------------
% Description
%--------------------------------------------------------------------------
% SORT static method of the OUTPUT class is used to create an output file.
%--------------------------------------------------------------------------
% Input arguments
%--------------------------------------------------------------------------
% file_name : STRING describing the path where to create the output file
% format : STRING describing the format of the output file. It can be
% equal to:
% - AVS : AVS UCD format
% label : STRING describing the label of the physical group
% CHP1 : CHPOINT object
% nb_compo : index of the component to output
% CHAM1 : CHAMELEM object
%--------------------------------------------------------------------------
% Output arguments
%--------------------------------------------------------------------------
% N/A
%--------------------------------------------------------------------------
% Example
%--------------------------------------------------------------------------
OUTPUT.SORT('endo.inp','AVS','CHAMELEM',MOT,SOL.cham_element(100).cham)