Partitionneur_Fichier_MED#

#include <Partitionneur_Fichier_MED.h>
Brief description

Partition d’un domaine a partir d’un fichier MED contenant un champ donnant, pour chaque element, le numero du processeur auquel cet element est attache.

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:`Partitionneur\_Fichier\_MED <class-partitionneur-fichier-med>`
[Partitionneur\_Fichier\_MED](#class-partitionneur-fichier-med)

Detailed description#

Le fichier doit contenir un champ au format ArrOfInt

Inherits from#

Inheritance graph#

If the image is too small, right-click and open in new tab

../../../../../_images/classPartitionneur__Fichier__MED__inherit__graph.png

List of Public Methods#

List of Public Static Methods#

List of Protected Methods#

Complete Member Function Documentation#

associer_domaine#

Definition
void Partitionneur_Fichier_MED::associer_domaine(const Domaine &domaine) override
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 Partitionneur_Fichier_MED::associer_domaine(const Domaine &domaine) override <partitionneur-fichier-med-public-void-partitionneur-fichier-med-associer-domaine-const-domaine-ref-domaine-override>`
[void Partitionneur_Fichier_MED::associer_domaine(const Domaine &domaine) override](#partitionneur-fichier-med-public-void-partitionneur-fichier-med-associer-domaine-const-domaine-ref-domaine-override)

construire_partition#

Definition
void Partitionneur_Fichier_MED::construire_partition(IntVect &elem_part, int &nb_parts_tot) const override
Brief description

Lit le contenu du fichier “filename_” et stocke le resultat dans elem_part.

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 Partitionneur_Fichier_MED::construire_partition(IntVect &elem_part, int &nb_parts_tot) const override <partitionneur-fichier-med-public-void-partitionneur-fichier-med-construire-partition-intvect-ref-elem-part-int-ref-nb-parts-tot-const-override>`
[void Partitionneur_Fichier_MED::construire_partition(IntVect &elem_part, int &nb_parts_tot) const override](#partitionneur-fichier-med-public-void-partitionneur-fichier-med-construire-partition-intvect-ref-elem-part-int-ref-nb-parts-tot-const-override)

duplique#

Definition
int Partitionneur_Fichier_MED::duplique() const override
Brief description
Detailed description

Reimplements:

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 Partitionneur_Fichier_MED::duplique() const override <partitionneur-fichier-med-public-int-partitionneur-fichier-med-duplique-const-override>`
[int Partitionneur_Fichier_MED::duplique() const override](#partitionneur-fichier-med-public-int-partitionneur-fichier-med-duplique-const-override)

get_info#

Definition
const Type_info * Partitionneur_Fichier_MED::get_info() const override
Brief description

Donne des informations sur le type de l’ Objet_U .

Detailed description

Reimplements:

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:`const Type_info * Partitionneur_Fichier_MED::get_info() const override <partitionneur-fichier-med-public-const-type-info-ptr-partitionneur-fichier-med-get-info-const-override>`
[const Type_info * Partitionneur_Fichier_MED::get_info() const override](#partitionneur-fichier-med-public-const-type-info-ptr-partitionneur-fichier-med-get-info-const-override)

initialiser#

Definition
void Partitionneur_Fichier_MED::initialiser(const char *filename)
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 Partitionneur_Fichier_MED::initialiser(const char *filename) <partitionneur-fichier-med-public-void-partitionneur-fichier-med-initialiser-const-char-ptr-filename>`
[void Partitionneur_Fichier_MED::initialiser(const char *filename)](#partitionneur-fichier-med-public-void-partitionneur-fichier-med-initialiser-const-char-ptr-filename)

Partitionneur_Fichier_MED#

Definition
Partitionneur_Fichier_MED::Partitionneur_Fichier_MED()
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:`Partitionneur_Fichier_MED::Partitionneur_Fichier_MED() <partitionneur-fichier-med-public-partitionneur-fichier-med-partitionneur-fichier-med>`
[Partitionneur_Fichier_MED::Partitionneur_Fichier_MED()](#partitionneur-fichier-med-public-partitionneur-fichier-med-partitionneur-fichier-med)

set_param#

Definition
void Partitionneur_Fichier_MED::set_param(Param &param) override
Brief description
Detailed description

Reimplements:

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 Partitionneur_Fichier_MED::set_param(Param &param) override <partitionneur-fichier-med-public-void-partitionneur-fichier-med-set-param-param-ref-param-override>`
[void Partitionneur_Fichier_MED::set_param(Param &param) override](#partitionneur-fichier-med-public-void-partitionneur-fichier-med-set-param-param-ref-param-override)

taille_memoire#

Definition
unsigned Partitionneur_Fichier_MED::taille_memoire() const override
Brief description
Detailed description

Reimplements:

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:`unsigned Partitionneur_Fichier_MED::taille_memoire() const override <partitionneur-fichier-med-public-unsigned-partitionneur-fichier-med-taille-memoire-const-override>`
[unsigned Partitionneur_Fichier_MED::taille_memoire() const override](#partitionneur-fichier-med-public-unsigned-partitionneur-fichier-med-taille-memoire-const-override)

~Partitionneur_Fichier_MED#

Definition
Partitionneur_Fichier_MED::~Partitionneur_Fichier_MED()
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:`Partitionneur_Fichier_MED::~Partitionneur_Fichier_MED() <partitionneur-fichier-med-public-partitionneur-fichier-med-dtor-partitionneur-fichier-med>`
[Partitionneur_Fichier_MED::~Partitionneur_Fichier_MED()](#partitionneur-fichier-med-public-partitionneur-fichier-med-dtor-partitionneur-fichier-med)

cree_instance#

Definition
Objet_U * Partitionneur_Fichier_MED::cree_instance()
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:`Objet_U * Partitionneur_Fichier_MED::cree_instance() <partitionneur-fichier-med-public-static-objet-u-ptr-partitionneur-fichier-med-cree-instance>`
[Objet_U * Partitionneur_Fichier_MED::cree_instance()](#partitionneur-fichier-med-public-static-objet-u-ptr-partitionneur-fichier-med-cree-instance)

info#

Definition
const Type_info * Partitionneur_Fichier_MED::info()
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:`const Type_info * Partitionneur_Fichier_MED::info() <partitionneur-fichier-med-public-static-const-type-info-ptr-partitionneur-fichier-med-info>`
[const Type_info * Partitionneur_Fichier_MED::info()](#partitionneur-fichier-med-public-static-const-type-info-ptr-partitionneur-fichier-med-info)

self_cast#

Definition
const Partitionneur_Fichier_MED & Partitionneur_Fichier_MED::self_cast(const Objet_U &)
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:`const Partitionneur_Fichier_MED & Partitionneur_Fichier_MED::self_cast(const Objet_U &) <partitionneur-fichier-med-public-static-const-partitionneur-fichier-med-ref-partitionneur-fichier-med-self-cast-const-objet-u-ref>`
[const Partitionneur_Fichier_MED & Partitionneur_Fichier_MED::self_cast(const Objet_U &)](#partitionneur-fichier-med-public-static-const-partitionneur-fichier-med-ref-partitionneur-fichier-med-self-cast-const-objet-u-ref)

self_cast#

Definition
Partitionneur_Fichier_MED & Partitionneur_Fichier_MED::self_cast(Objet_U &)
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:`Partitionneur_Fichier_MED & Partitionneur_Fichier_MED::self_cast(Objet_U &) <partitionneur-fichier-med-public-static-partitionneur-fichier-med-ref-partitionneur-fichier-med-self-cast-objet-u-ref>`
[Partitionneur_Fichier_MED & Partitionneur_Fichier_MED::self_cast(Objet_U &)](#partitionneur-fichier-med-public-static-partitionneur-fichier-med-ref-partitionneur-fichier-med-self-cast-objet-u-ref)

printOn#

Definition
Sortie & Partitionneur_Fichier_MED::printOn(Sortie &x) const override
Brief description

Ecriture de l’objet sur un flot de sortie Methode a surcharger.

Detailed description

Reimplements:

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:`Sortie & Partitionneur_Fichier_MED::printOn(Sortie &x) const override <partitionneur-fichier-med-protected-sortie-ref-partitionneur-fichier-med-printon-sortie-ref-x-const-override>`
[Sortie & Partitionneur_Fichier_MED::printOn(Sortie &x) const override](#partitionneur-fichier-med-protected-sortie-ref-partitionneur-fichier-med-printon-sortie-ref-x-const-override)

readOn#

Definition
Entree & Partitionneur_Fichier_MED::readOn(Entree &) override
Brief description

Lecture des parametres du partitionneur sur disque.

Detailed description

Fomat attendu: { file FILENAME field FIELDNAME } FILENAME est le nom d’un fichier MED, le champ FIELDNAME comporte un ArrayOfInt avec le numero du processeur.

Reimplements:

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:`Entree & Partitionneur_Fichier_MED::readOn(Entree &) override <partitionneur-fichier-med-protected-entree-ref-partitionneur-fichier-med-readon-entree-ref-override>`
[Entree & Partitionneur_Fichier_MED::readOn(Entree &) override](#partitionneur-fichier-med-protected-entree-ref-partitionneur-fichier-med-readon-entree-ref-override)

Attributes Documentation#

info_obj (public)
const Type_info Partitionneur_Fichier_MED::info_obj
fieldname_ (protected)
Nom Partitionneur_Fichier_MED::fieldname_ = "partition"
filename_ (protected)
Nom Partitionneur_Fichier_MED::filename_ = ""
ref_domaine_ (protected)
TRUST_Ref<Domaine *> Partitionneur_Fichier_MED::ref_domaine_