Schema_Comm_Vecteurs#

#include <Schema_Comm_Vecteurs.h>
Brief description

How to reference this class#

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Schema\_Comm\_Vecteurs <class-schema-comm-vecteurs>`
[Schema\_Comm\_Vecteurs](#class-schema-comm-vecteurs)

Detailed description#

List of Public Methods#

List of Public Static Methods#

List of Protected Methods#

Complete Member Function Documentation#

add_recv_area_template#

Definition
void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)
Brief description
Detailed description
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size) <schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)](#schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size)

add_recv_area_template#

Definition
void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size) <schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)](#schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size)

add_recv_area_template#

Definition
void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size) <schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)](#schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size)

add_recv_area_template#

Definition
void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size) <schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)](#schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size)

add_recv_area_template#

Definition
void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size) <schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_recv_area_template(int pe, int size)](#schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-recv-area-template-int-pe-int-size)

add_send_area_template#

Definition
void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)
Brief description
Detailed description
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size) <schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)](#schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size)

add_send_area_template#

Definition
void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size) <schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)](#schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size)

add_send_area_template#

Definition
void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size) <schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)](#schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size)

add_send_area_template#

Definition
void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size) <schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)](#schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size)

add_send_area_template#

Definition
void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size) <schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size>`
[void Schema_Comm_Vecteurs::add_send_area_template(int pe, int size)](#schema-comm-vecteurs-public-void-schema-comm-vecteurs-add-send-area-template-int-pe-int-size)

begin_comm#

Definition
void Schema_Comm_Vecteurs::begin_comm(bool bufferOnDevice=false)
Brief description

Commence un nouvel echange de donnees (les tailles de buffers doivent avoir ete initialisees avec begin_init() .

Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Schema_Comm_Vecteurs::begin_comm(bool bufferOnDevice=false) <schema-comm-vecteurs-public-void-schema-comm-vecteurs-begin-comm-bool-bufferondevice-equal-false>`
[void Schema_Comm_Vecteurs::begin_comm(bool bufferOnDevice=false)](#schema-comm-vecteurs-public-void-schema-comm-vecteurs-begin-comm-bool-bufferondevice-equal-false)

begin_init#

Definition
void Schema_Comm_Vecteurs::begin_init()
Brief description

Reinitialise les tailles de buffers.

Detailed description

Il faut ensuite definir les tailles de buffers avec add_send/recv_area_…() Cette methode doit etre appelee simultanement sur tous les processeurs du groupe.

References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Schema_Comm_Vecteurs::begin_init() <schema-comm-vecteurs-public-void-schema-comm-vecteurs-begin-init>`
[void Schema_Comm_Vecteurs::begin_init()](#schema-comm-vecteurs-public-void-schema-comm-vecteurs-begin-init)

end_comm#

Definition
void Schema_Comm_Vecteurs::end_comm()
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Schema_Comm_Vecteurs::end_comm() <schema-comm-vecteurs-public-void-schema-comm-vecteurs-end-comm>`
[void Schema_Comm_Vecteurs::end_comm()](#schema-comm-vecteurs-public-void-schema-comm-vecteurs-end-comm)

end_init#

Definition
void Schema_Comm_Vecteurs::end_init()
Brief description

Une fois les donnees a echanger declarees avec add_send/recv_area_.

Detailed description

..(), initialise les offset de buffers et alloue un buffer global de taille suffisante. Methode a appeler par tous les processeurs du groupe.

References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Schema_Comm_Vecteurs::end_init() <schema-comm-vecteurs-public-void-schema-comm-vecteurs-end-init>`
[void Schema_Comm_Vecteurs::end_init()](#schema-comm-vecteurs-public-void-schema-comm-vecteurs-end-init)

exchange#

Definition
void Schema_Comm_Vecteurs::exchange()
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Schema_Comm_Vecteurs::exchange() <schema-comm-vecteurs-public-void-schema-comm-vecteurs-exchange>`
[void Schema_Comm_Vecteurs::exchange()](#schema-comm-vecteurs-public-void-schema-comm-vecteurs-exchange)

get_next_area_template#

Definition
TRUSTArray<_TYPE_> & Schema_Comm_Vecteurs::get_next_area_template(int pe, int array_size)
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`TRUSTArray<_TYPE_> & Schema_Comm_Vecteurs::get_next_area_template(int pe, int array_size) <schema-comm-vecteurs-public-trustarray-type-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-array-size>`
[TRUSTArray<_TYPE_> & Schema_Comm_Vecteurs::get_next_area_template(int pe, int array_size)](#schema-comm-vecteurs-public-trustarray-type-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-array-size)

get_next_area_template#

Definition
ArrOfInt & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size)
Brief description

renvoie un tableau contenant les “size” valeurs suivantes recues du processeur pe lors de la communication en cours.

Detailed description

Attention: Le tableau renvoye est une reference a un tableau interne qui n’est valide que jusqu’au prochain appel a une methode get_next_xxx.

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`ArrOfInt & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size) <schema-comm-vecteurs-public-arrofint-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-size>`
[ArrOfInt & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size)](#schema-comm-vecteurs-public-arrofint-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-size)

get_next_area_template#

Definition
ArrOfTID & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`ArrOfTID & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size) <schema-comm-vecteurs-public-arroftid-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-size>`
[ArrOfTID & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size)](#schema-comm-vecteurs-public-arroftid-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-size)

get_next_area_template#

Definition
ArrOfDouble & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`ArrOfDouble & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size) <schema-comm-vecteurs-public-arrofdouble-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-size>`
[ArrOfDouble & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size)](#schema-comm-vecteurs-public-arrofdouble-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-size)

get_next_area_template#

Definition
ArrOfFloat & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`ArrOfFloat & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size) <schema-comm-vecteurs-public-arroffloat-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-size>`
[ArrOfFloat & Schema_Comm_Vecteurs::get_next_area_template(int pe, int size)](#schema-comm-vecteurs-public-arroffloat-ref-schema-comm-vecteurs-get-next-area-template-int-pe-int-size)

Schema_Comm_Vecteurs#

Definition
Schema_Comm_Vecteurs::Schema_Comm_Vecteurs()
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Schema_Comm_Vecteurs::Schema_Comm_Vecteurs() <schema-comm-vecteurs-public-schema-comm-vecteurs-schema-comm-vecteurs>`
[Schema_Comm_Vecteurs::Schema_Comm_Vecteurs()](#schema-comm-vecteurs-public-schema-comm-vecteurs-schema-comm-vecteurs)

~Schema_Comm_Vecteurs#

Definition
Schema_Comm_Vecteurs::~Schema_Comm_Vecteurs()
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Schema_Comm_Vecteurs::~Schema_Comm_Vecteurs() <schema-comm-vecteurs-public-schema-comm-vecteurs-dtor-schema-comm-vecteurs>`
[Schema_Comm_Vecteurs::~Schema_Comm_Vecteurs()](#schema-comm-vecteurs-public-schema-comm-vecteurs-dtor-schema-comm-vecteurs)

CleanMyStaticViews#

Definition
void Schema_Comm_Vecteurs::CleanMyStaticViews()
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Schema_Comm_Vecteurs::CleanMyStaticViews() <schema-comm-vecteurs-public-static-void-schema-comm-vecteurs-cleanmystaticviews>`
[void Schema_Comm_Vecteurs::CleanMyStaticViews()](#schema-comm-vecteurs-public-static-void-schema-comm-vecteurs-cleanmystaticviews)

add#

Definition
void Schema_Comm_Vecteurs::add(int pe, int size, ArrOfInt &procs, ArrOfInt &buf_sizes, int align_size)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void Schema_Comm_Vecteurs::add(int pe, int size, ArrOfInt &procs, ArrOfInt &buf_sizes, int align_size) <schema-comm-vecteurs-protected-void-schema-comm-vecteurs-add-int-pe-int-size-arrofint-ref-procs-arrofint-ref-buf-sizes-int-align-size>`
[void Schema_Comm_Vecteurs::add(int pe, int size, ArrOfInt &procs, ArrOfInt &buf_sizes, int align_size)](#schema-comm-vecteurs-protected-void-schema-comm-vecteurs-add-int-pe-int-size-arrofint-ref-procs-arrofint-ref-buf-sizes-int-align-size)

check_buffers_full#

Definition
int Schema_Comm_Vecteurs::check_buffers_full() const
Brief description

Selon status_, verifie que tous les pointeurs de buffers pointent a la fin du buffer aloue pour chaque processeur en emission.

Detailed description

ou reception. Renvoie 0 en cas d’erreur (si un buffer n’a pas ete entierement rempli ou vide)

References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Schema_Comm_Vecteurs::check_buffers_full() const <schema-comm-vecteurs-protected-int-schema-comm-vecteurs-check-buffers-full-const>`
[int Schema_Comm_Vecteurs::check_buffers_full() const](#schema-comm-vecteurs-protected-int-schema-comm-vecteurs-check-buffers-full-const)

check_next_area#

Definition
int Schema_Comm_Vecteurs::check_next_area(int pe, int byte_size) const
Brief description

verifie qu’il reste au moins byte_size octets dans le buffer du processeur pe

Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Schema_Comm_Vecteurs::check_next_area(int pe, int byte_size) const <schema-comm-vecteurs-protected-int-schema-comm-vecteurs-check-next-area-int-pe-int-byte-size-const>`
[int Schema_Comm_Vecteurs::check_next_area(int pe, int byte_size) const](#schema-comm-vecteurs-protected-int-schema-comm-vecteurs-check-next-area-int-pe-int-byte-size-const)

Attributes Documentation#

bufferOnDevice_ (protected)
bool Schema_Comm_Vecteurs::bufferOnDevice_ = false
min_buf_size_ (protected)
int Schema_Comm_Vecteurs::min_buf_size_ = - 1
recv_buf_sizes_ (protected)
ArrOfInt Schema_Comm_Vecteurs::recv_buf_sizes_
recv_procs_ (protected)
ArrOfInt Schema_Comm_Vecteurs::recv_procs_
send_buf_sizes_ (protected)
ArrOfInt Schema_Comm_Vecteurs::send_buf_sizes_
send_procs_ (protected)
ArrOfInt Schema_Comm_Vecteurs::send_procs_
sorted_ (protected)
int Schema_Comm_Vecteurs::sorted_ = 1
status_ (protected)
Status Schema_Comm_Vecteurs::status_
use_gpu_aware_mpi_ (protected)
bool Schema_Comm_Vecteurs::use_gpu_aware_mpi_ = false
buffer_locked_ (protected)
bool Schema_Comm_Vecteurs::buffer_locked_
sdata_ (protected)
Schema_Comm_Vecteurs_Static_Data Schema_Comm_Vecteurs::sdata_
tmp_area_double_ (protected)
ArrOfDouble Schema_Comm_Vecteurs::tmp_area_double_
tmp_area_float_ (protected)
ArrOfFloat Schema_Comm_Vecteurs::tmp_area_float_
tmp_area_int_ (protected)
ArrOfInt Schema_Comm_Vecteurs::tmp_area_int_
tmp_area_tid_ (protected)
ArrOfTID Schema_Comm_Vecteurs::tmp_area_tid_

Enums#

Schema_Comm_Vecteurs::Status#

Location: trust-code/src/Kernel/Utilitaires/Schema_Comm_Vecteurs.h:95

How to cite in this doc: Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Schema\_Comm\_Vecteurs::Status <enum-none-schema-comm-vecteurs-status>`
[Schema\_Comm\_Vecteurs::Status](#enum-none-schema-comm-vecteurs-status)
  • RESET

  • BEGIN_INIT

  • END_INIT

  • BEGIN_COMM

  • EXCHANGED