![]() |
MAGiC
V5.0
Mailleurs Automatiques de Géometries intégrés à la Cao
|
#include <mg_solution.h>
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_MAILLAGE * | get_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) |
![]() | |
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_MAILLAGE * | mgmai |
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) |
Définition à la ligne 46 du fichier mg_solution.h.
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().
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().
|
virtual |
Définition à la ligne 52 du fichier mg_solution.cpp.
Références in, legende, et nom_fichier.
void MG_SOLUTION::active_solution | ( | int | num | ) |
Définition à la ligne 358 du fichier mg_solution.cpp.
Références dim_solution, OPERATEUR::egal(), MAGIC::ENTITE_SOLUTION::ENTITE_ELEMENT1, MAGIC::ENTITE_SOLUTION::ENTITE_ELEMENT2, MAGIC::ENTITE_SOLUTION::ENTITE_ELEMENT3, MAGIC::ENTITE_SOLUTION::ENTITE_NOEUD, MG_MAILLAGE::get_premier_hexa(), MG_MAILLAGE::get_premier_noeud(), MG_MAILLAGE::get_premier_quadrangle(), MG_MAILLAGE::get_premier_segment(), MG_MAILLAGE::get_premier_tetra(), MG_MAILLAGE::get_premier_triangle(), MG_MAILLAGE::get_suivant_hexa(), MG_MAILLAGE::get_suivant_noeud(), MG_MAILLAGE::get_suivant_quadrangle(), MG_MAILLAGE::get_suivant_segment(), MG_MAILLAGE::get_suivant_tetra(), MG_MAILLAGE::get_suivant_triangle(), lire(), mgmai, solmax, solmin, et typeentite.
Référencé par MG_MAILLAGE_ALGOS::calcule_caracteristiques1(), MG_MAILLAGE_ALGOS::calcule_caracteristiques2(), MG_MAILLAGE_ALGOS::calcule_caracteristiques3(), et MAILLEUR_ADAPTATIF::maille().
void MG_SOLUTION::change_legende | ( | int | num, |
std::string | val | ||
) |
Définition à la ligne 328 du fichier mg_solution.cpp.
Références legende.
Référencé par MG_MAILLAGE_OUTILS::calcul_courbure(), MG_MAILLAGE_OUTILS::calcul_courbure_discrete(), MG_MAILLAGE_ALGOS::calcule_caracteristiques1(), MG_MAILLAGE_ALGOS::calcule_caracteristiques2(), MG_MAILLAGE_ALGOS::calcule_caracteristiques3(), MG_MAILLAGE::calculer_carte_taille_reelle(), MAILLEUR_ANALYSE::compare_maillage_carte_isotrope(), REC_SQUELETTE::construire_squelette(), et MG_FILE::lire().
void MG_SOLUTION::ecrire | ( | double | val, |
int | i, | ||
int | j, | ||
int | coord = 0 , |
||
int | num_no = 0 |
||
) |
Définition à la ligne 309 du fichier mg_solution.cpp.
Références dim_solution, hash, in, et nb_champs.
Référencé par MAILLEUR_ANALYSE::analyse_qualite_maillage_2D(), MAILLEUR_ANALYSE::analyse_qualite_maillage_3D(), MG_MAILLAGE_OUTILS::calcul_courbure(), MG_MAILLAGE_OUTILS::calcul_courbure_discrete(), MG_MAILLAGE_ALGOS::calcule_caracteristiques1(), MG_MAILLAGE_ALGOS::calcule_caracteristiques2(), MG_MAILLAGE_ALGOS::calcule_caracteristiques3(), MG_MAILLAGE::calculer_carte_taille_reelle(), MAILLEUR_ANALYSE::compare_maillage_carte_isotrope(), et REC_SQUELETTE::construire_squelette().
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().
|
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<<().
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().
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().
|
virtual |
Réimplémentée à partir de MG_IDENTIFICATEUR.
Définition à la ligne 478 du fichier mg_solution.cpp.
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().
double MG_SOLUTION::get_legende_max | ( | int | num = 0 | ) |
Définition à la ligne 353 du fichier mg_solution.cpp.
Références solmax.
double MG_SOLUTION::get_legende_min | ( | int | num = 0 | ) |
Définition à la ligne 348 du fichier mg_solution.cpp.
Références solmin.
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().
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().
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().
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().
|
private |
Définition à la ligne 60 du fichier mg_solution.cpp.
Références dim_solution, MAGIC::ENTITE_SOLUTION::ENTITE_ELEMENT1, MAGIC::ENTITE_SOLUTION::ENTITE_ELEMENT1_NOEUD, MAGIC::ENTITE_SOLUTION::ENTITE_ELEMENT2, MAGIC::ENTITE_SOLUTION::ENTITE_ELEMENT2_NOEUD, MAGIC::ENTITE_SOLUTION::ENTITE_ELEMENT3, MAGIC::ENTITE_SOLUTION::ENTITE_ELEMENT3_NOEUD, MAGIC::ENTITE_SOLUTION::ENTITE_NOEUD, MG_MAILLAGE::get_nb_mg_hexa(), MG_MAILLAGE::get_nb_mg_noeud(), MG_MAILLAGE::get_nb_mg_quadrangle(), MG_MAILLAGE::get_nb_mg_segment(), MG_MAILLAGE::get_nb_mg_tetra(), MG_MAILLAGE::get_nb_mg_triangle(), MG_MAILLAGE::get_premier_hexa(), MG_MAILLAGE::get_premier_noeud(), MG_MAILLAGE::get_premier_quadrangle(), MG_MAILLAGE::get_premier_segment(), MG_MAILLAGE::get_premier_tetra(), MG_MAILLAGE::get_premier_triangle(), MG_MAILLAGE::get_suivant_hexa(), MG_MAILLAGE::get_suivant_noeud(), MG_MAILLAGE::get_suivant_quadrangle(), MG_MAILLAGE::get_suivant_segment(), MG_MAILLAGE::get_suivant_tetra(), MG_MAILLAGE::get_suivant_triangle(), hash, in, legende, mgmai, nb_champs, nom_fichier, et typeentite.
Référencé par MG_SOLUTION().
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().
|
friend |
Définition à la ligne 490 du fichier mg_solution.cpp.
|
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().
|
private |
Définition à la ligne 87 du fichier mg_solution.h.
Référencé par ecrire(), inisolution(), et lire().
|
private |
Définition à la ligne 79 du fichier mg_solution.h.
Référencé par ecrire(), efface(), inisolution(), lire(), et ~MG_SOLUTION().
|
private |
Définition à la ligne 83 du fichier mg_solution.h.
Référencé par change_legende(), enregistrer(), get_legende(), inisolution(), et ~MG_SOLUTION().
|
private |
Définition à la ligne 80 du fichier mg_solution.h.
Référencé par active_solution(), enregistrer(), get_maillage(), et inisolution().
|
private |
Définition à la ligne 78 du fichier mg_solution.h.
Référencé par ecrire(), enregistrer(), get_nb_champ(), inisolution(), et lire().
|
private |
Définition à la ligne 77 du fichier mg_solution.h.
Référencé par efface(), enregistrer(), get_nom_fichier(), inisolution(), et ~MG_SOLUTION().
|
private |
Définition à la ligne 84 du fichier mg_solution.h.
Référencé par enregistrer(), et get_nom().
|
private |
Définition à la ligne 82 du fichier mg_solution.h.
Référencé par active_solution(), et get_legende_max().
|
private |
Définition à la ligne 81 du fichier mg_solution.h.
Référencé par active_solution(), et get_legende_min().
|
private |
Définition à la ligne 85 du fichier mg_solution.h.
Référencé par active_solution(), enregistrer(), get_entite_solution(), et inisolution().