#######################################################################################################################################
#                                                                                                                                     #
#         P A R T I T I O N   A L E A T O I R E   D E   L ' E N S E M B L E   D E S   P A R T I C U L E S                             #
#         E N   D E U X   S O U S - E N S E M B L E S   P O U R   L E S   F A M I L L E S  :                                          #
#                                                                                                                                     #
#                                                                                                                                     #
#         Author of '$xivP/disk.000000009/face.2/.REFL.u.83.$U' :                                                                                    #
#                                                                                                                                     #
#                     Jean-Francois Colonna (LACTAMME, AAAAMMJJhhmmss).                                                               #
#                                                                                                                                     #
#######################################################################################################################################

$Z                  @                   PartNs2 = $PartN - $Part0
$Z                  @                   PartNs2 = $PartNs2 / 2
$Z                  @                   PartNs2 = $PartNs2 + $Part0

$Z                  Gen                 $xTV/FAMILLE.p                $PartNs2  $PartNs2  cubique=FAUX   entiers=VRAI  epsilon=0.01

$Z                  $DELETE             $xTV/CARACTERIS.T

$Z                  $xrv/BARY.21$X                                                                                                      \
$Z                                      ne=$Npart                                                                                       \
$Z                                      fichier1=$xTV/FAMILLE                                                                           \
$Z                                      fichier2=$xTV/FAMILLE.p                                                                         \
$Z                                      lambda=$xTV/CARACTERIS.L                                                                        \
$Z                                                                                                            >   $xTV/CARACTERIS.T

$Z                  $DELETE             $xTV/FAMILLE
$Z                  $MV                 $xTV/CARACTERIS.T  $xTV/FAMILLE

$Z                  $DELETE             $xTV/FAMILLE.p



Copyright © Jean-François Colonna, 2019-2021.
Copyright © CMAP (Centre de Mathématiques APpliquées) UMR CNRS 7641 / Ecole Polytechnique, 2019-2021.