MAGiC  V5.0
Mailleurs Automatiques de Géometries intégrés à la Cao
Référence de la classe MG_SOLUTION

#include <mg_solution.h>

Graphe d'héritage de MG_SOLUTION:
Graphe de collaboration de MG_SOLUTION:

Fonctions membres publiques

 MG_SOLUTION (class MG_MAILLAGE *mai, int nb, char *chemin, int code, std::string nomsol, int entite=MAGIC::ENTITE_SOLUTION::ENTITE_NOEUD, int type_solution=MAGIC::TYPE_SOLUTION::SCALAIRE)
 
 MG_SOLUTION (unsigned long num, MG_MAILLAGE *mai, int nb, char *chemin, int code, std::string nomsol, int entite=MAGIC::ENTITE_SOLUTION::ENTITE_NOEUD, int type_solution=MAGIC::TYPE_SOLUTION::SCALAIRE)
 
virtual ~MG_SOLUTION ()
 
double lire (int i, int j, int coord=0, int num_no=0)
 
void ecrire (double val, int i, int j, int coord=0, int num_no=0)
 
void active_solution (int num)
 
void change_legende (int num, std::string val)
 
std::string get_legende (int num)
 
int get_nb_champ (void)
 
MG_MAILLAGEget_maillage (void)
 
double get_legende_min (int num=0)
 
double get_legende_max (int num=0)
 
void efface (void)
 
std::string get_nom (void)
 
std::string get_nom_fichier (void)
 
int get_entite_solution (void)
 
int get_dim_solution (void)
 
virtual void enregistrer (std::ostream &o, double version)
 
virtual void get_fichier_dependant (std::vector< std::string > &liste_fichier)
 
- Fonctions membres publiques hérités de MG_IDENTIFICATEUR
 MG_IDENTIFICATEUR (unsigned long num)
 
 MG_IDENTIFICATEUR ()
 
 MG_IDENTIFICATEUR (MG_IDENTIFICATEUR &mdd)
 
virtual ~MG_IDENTIFICATEUR ()
 
unsigned long get_id ()
 
void change_id (unsigned long idtmp)
 

Fonctions membres privées

void inisolution (char *chemin, int code)
 

Attributs privés

char * nom_fichier
 
int nb_champs
 
FILE * in
 
MG_MAILLAGEmgmai
 
double solmin [MAX_TYPE_SOLUTION]
 
double solmax [MAX_TYPE_SOLUTION]
 
std::string * legende
 
std::string nomsolution
 
int typeentite
 
int dim_solution
 
std::vector< unsigned long > hash
 

Amis

std::ostream & operator<< (std::ostream &o, MG_SOLUTION &maillage)
 

Description détaillée

Définition à la ligne 46 du fichier mg_solution.h.

Documentation des constructeurs et destructeur

◆ MG_SOLUTION() [1/2]

MG_SOLUTION::MG_SOLUTION ( class MG_MAILLAGE mai,
int  nb,
char *  chemin,
int  code,
std::string  nomsol,
int  entite = MAGIC::ENTITE_SOLUTION::ENTITE_NOEUD,
int  type_solution = MAGIC::TYPE_SOLUTION::SCALAIRE 
)

Définition à la ligne 42 du fichier mg_solution.cpp.

Références inisolution().

Voici le graphe d'appel pour cette fonction :

◆ MG_SOLUTION() [2/2]

MG_SOLUTION::MG_SOLUTION ( unsigned long  num,
MG_MAILLAGE mai,
int  nb,
char *  chemin,
int  code,
std::string  nomsol,
int  entite = MAGIC::ENTITE_SOLUTION::ENTITE_NOEUD,
int  type_solution = MAGIC::TYPE_SOLUTION::SCALAIRE 
)

Définition à la ligne 47 du fichier mg_solution.cpp.

Références inisolution().

Voici le graphe d'appel pour cette fonction :

◆ ~MG_SOLUTION()

MG_SOLUTION::~MG_SOLUTION ( )
virtual

Définition à la ligne 52 du fichier mg_solution.cpp.

Références in, legende, et nom_fichier.

Documentation des fonctions membres

◆ active_solution()

◆ change_legende()

◆ ecrire()

◆ efface()

void MG_SOLUTION::efface ( void  )

Définition à la ligne 287 du fichier mg_solution.cpp.

Références in, et nom_fichier.

Référencé par MG_GESTIONNAIRE::supprimer_mg_solution(), et MG_GESTIONNAIRE::supprimer_mg_solutionid().

Voici le graphe des appelants de cette fonction :

◆ enregistrer()

void MG_SOLUTION::enregistrer ( std::ostream &  o,
double  version 
)
virtual

Implémente MG_IDENTIFICATEUR.

Définition à la ligne 464 du fichier mg_solution.cpp.

Références dim_solution, MG_IDENTIFICATEUR::get_id(), legende, mgmai, nb_champs, nom_fichier, nomsolution, et typeentite.

Référencé par operator<<().

Voici le graphe d'appel pour cette fonction :
Voici le graphe des appelants de cette fonction :

◆ get_dim_solution()

int MG_SOLUTION::get_dim_solution ( void  )

Définition à la ligne 323 du fichier mg_solution.cpp.

Références dim_solution.

Référencé par MG_EXPORT::gmsh().

Voici le graphe des appelants de cette fonction :

◆ get_entite_solution()

int MG_SOLUTION::get_entite_solution ( void  )

Définition à la ligne 483 du fichier mg_solution.cpp.

Références typeentite.

Référencé par MG_EXPORT::gmsh().

Voici le graphe des appelants de cette fonction :

◆ get_fichier_dependant()

void MG_SOLUTION::get_fichier_dependant ( std::vector< std::string > &  liste_fichier)
virtual

Réimplémentée à partir de MG_IDENTIFICATEUR.

Définition à la ligne 478 du fichier mg_solution.cpp.

◆ get_legende()

std::string MG_SOLUTION::get_legende ( int  num)

Définition à la ligne 333 du fichier mg_solution.cpp.

Références legende.

Référencé par MG_EXPORT::gmsh().

Voici le graphe des appelants de cette fonction :

◆ get_legende_max()

double MG_SOLUTION::get_legende_max ( int  num = 0)

Définition à la ligne 353 du fichier mg_solution.cpp.

Références solmax.

◆ get_legende_min()

double MG_SOLUTION::get_legende_min ( int  num = 0)

Définition à la ligne 348 du fichier mg_solution.cpp.

Références solmin.

◆ get_maillage()

MG_MAILLAGE * MG_SOLUTION::get_maillage ( void  )

Définition à la ligne 343 du fichier mg_solution.cpp.

Références mgmai.

Référencé par MG_GESTIONNAIRE::get_mg_solution(), et MG_EXPORT::gmsh().

Voici le graphe des appelants de cette fonction :

◆ get_nb_champ()

int MG_SOLUTION::get_nb_champ ( void  )

Définition à la ligne 338 du fichier mg_solution.cpp.

Références nb_champs.

Référencé par MG_GESTIONNAIRE::get_mg_solution(), et MG_EXPORT::gmsh().

Voici le graphe des appelants de cette fonction :

◆ get_nom()

std::string MG_SOLUTION::get_nom ( void  )

Définition à la ligne 456 du fichier mg_solution.cpp.

Références nomsolution.

Référencé par MG_GESTIONNAIRE::get_mg_solution(), et MG_EXPORT::gmsh().

Voici le graphe des appelants de cette fonction :

◆ get_nom_fichier()

std::string MG_SOLUTION::get_nom_fichier ( void  )

Définition à la ligne 460 du fichier mg_solution.cpp.

Références nom_fichier.

Référencé par MG_GESTIONNAIRE::get_mg_solution().

Voici le graphe des appelants de cette fonction :

◆ inisolution()

◆ lire()

double MG_SOLUTION::lire ( int  i,
int  j,
int  coord = 0,
int  num_no = 0 
)

Définition à la ligne 296 du fichier mg_solution.cpp.

Références dim_solution, hash, in, et nb_champs.

Référencé par active_solution(), et MG_EXPORT::gmsh().

Voici le graphe des appelants de cette fonction :

Documentation des fonctions amies et associées

◆ operator<<

std::ostream& operator<< ( std::ostream &  o,
MG_SOLUTION maillage 
)
friend

Définition à la ligne 490 du fichier mg_solution.cpp.

Documentation des données membres

◆ dim_solution

int MG_SOLUTION::dim_solution
private

Définition à la ligne 86 du fichier mg_solution.h.

Référencé par active_solution(), ecrire(), enregistrer(), get_dim_solution(), inisolution(), et lire().

◆ hash

std::vector<unsigned long> MG_SOLUTION::hash
private

Définition à la ligne 87 du fichier mg_solution.h.

Référencé par ecrire(), inisolution(), et lire().

◆ in

FILE* MG_SOLUTION::in
private

Définition à la ligne 79 du fichier mg_solution.h.

Référencé par ecrire(), efface(), inisolution(), lire(), et ~MG_SOLUTION().

◆ legende

std::string* MG_SOLUTION::legende
private

Définition à la ligne 83 du fichier mg_solution.h.

Référencé par change_legende(), enregistrer(), get_legende(), inisolution(), et ~MG_SOLUTION().

◆ mgmai

MG_MAILLAGE* MG_SOLUTION::mgmai
private

Définition à la ligne 80 du fichier mg_solution.h.

Référencé par active_solution(), enregistrer(), get_maillage(), et inisolution().

◆ nb_champs

int MG_SOLUTION::nb_champs
private

Définition à la ligne 78 du fichier mg_solution.h.

Référencé par ecrire(), enregistrer(), get_nb_champ(), inisolution(), et lire().

◆ nom_fichier

char* MG_SOLUTION::nom_fichier
private

Définition à la ligne 77 du fichier mg_solution.h.

Référencé par efface(), enregistrer(), get_nom_fichier(), inisolution(), et ~MG_SOLUTION().

◆ nomsolution

std::string MG_SOLUTION::nomsolution
private

Définition à la ligne 84 du fichier mg_solution.h.

Référencé par enregistrer(), et get_nom().

◆ solmax

double MG_SOLUTION::solmax[MAX_TYPE_SOLUTION]
private

Définition à la ligne 82 du fichier mg_solution.h.

Référencé par active_solution(), et get_legende_max().

◆ solmin

double MG_SOLUTION::solmin[MAX_TYPE_SOLUTION]
private

Définition à la ligne 81 du fichier mg_solution.h.

Référencé par active_solution(), et get_legende_min().

◆ typeentite

int MG_SOLUTION::typeentite
private

Définition à la ligne 85 du fichier mg_solution.h.

Référencé par active_solution(), enregistrer(), get_entite_solution(), et inisolution().


La documentation de cette classe a été générée à partir des fichiers suivants :