%--------------------------------------------------------------------------
% INT_RULE
%--------------------------------------------------------------------------
% Creation of a INT_RULE object.
%--------------------------------------------------------------------------
% Syntax
%--------------------------------------------------------------------------
IR = INT_RULE(idx)
%--------------------------------------------------------------------------
% Description
%--------------------------------------------------------------------------
% INT_RULE creates a INT_RULE object. This type of object can be used to
% describe an integration rule. It has the following properties:
% - weight : sacalar, vector : weights associated with the integration
% points - n x 1 vector in case of n integration points
% - int_point : n x m vector - in case of n integration points with m
% coordinates
% - nb_point : number of integration points
%--------------------------------------------------------------------------
% Input arguments
%--------------------------------------------------------------------------
% idx : scalar - index to select the appropriate integration rule
%--------------------------------------------------------------------------
% Output arguments
%--------------------------------------------------------------------------
% IR : INT_RULE object
%--------------------------------------------------------------------------
% Example
%--------------------------------------------------------------------------
IR = INT_RULE(5)
IR =
INT_RULE with properties:
weight: [0.0417 0.0417 0.0417 0.0417]
int_point: [4x3 double]
nb_point: 4
IR = INT_RULE(15)
IR =
INT_RULE with properties:
weight: [8x1 double]
int_point: [8x3 double]
nb_point: 8