%--------------------------------------------------------------------------
% CHPOINT.REAC
%--------------------------------------------------------------------------
% Computation of the reaction forces.
%--------------------------------------------------------------------------
% Syntax
%--------------------------------------------------------------------------
[REA_I,REA_II,CU_I,CU_II] = CHPOINT.REAC(CL1,CHP1)
%--------------------------------------------------------------------------
% Description
%--------------------------------------------------------------------------
% The REAC static method of the CHPOINT class is used to compute the
% reaction forces.
%--------------------------------------------------------------------------
% Input arguments
%--------------------------------------------------------------------------
% CL1 : MATRICE object describing the boundary condition
% CHP1 : CHPOINT object describing the displacement field
%--------------------------------------------------------------------------
% Output arguments
%--------------------------------------------------------------------------
% REA_I : CHPOINT object describing the reaction forces associated with
% the Lagrange multiplier of type I
% REA_II : CHPOINT object describing the reaction forces associated with
% the Lagrange multiplier of type II
% CU_I : CHPOINT object describing the degrees of freedom whose the
% value should be prescribed - related to Lagrange multiplier of
% type I
% CU_II : CHPOINT object describing the degrees of freedom whose the
% value should be prescribed - related to Lagrange multiplier of
% type II
%--------------------------------------------------------------------------
% Example
%--------------------------------------------------------------------------
diric
diric =
MATRICE with properties:
mat_elem: [1x81 MAT_ELEM]
type: 'DIRI'
[REA_I,REA_II,CU_I,CU_II] = CHPOINT.REAC(diric,U)
REA_I =
CHPOINT with properties:
support: [1x516 NODE]
loc_dof: [516x1 double]
dof_val: [516x1 double]
REA_II =
CHPOINT with properties:
support: [1x516 NODE]
loc_dof: [516x1 double]
dof_val: [516x1 double]
CU_I =
CHPOINT with properties:
support: [1x516 NODE]
loc_dof: [516x1 double]
dof_val: [516x1 double]
CU_II =
CHPOINT with properties:
support: [1x516 NODE]
loc_dof: [516x1 double]
dof_val: [516x1 double]