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

#include <mgopt_simp.h>

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

Fonctions membres publiques

 MGOPT_SIMP (bool save)
 
 MGOPT_SIMP (MGOPT_SIMP &mdd)
 
 ~MGOPT_SIMP ()
 
virtual void adapte_resultat (char *nomgestd, char *nomparam=NULL)
 
- Fonctions membres publiques hérités de MGOPT
 MGOPT (bool save)
 
 MGOPT (MGOPT &mdd)
 
virtual ~MGOPT ()
 
virtual void active_affichage (void(*fonc)(char *))
 
virtual void optimise (char *nomgestd, char *nomgestnd, char *nomsortie, char *nomparam, char *nomparamaster)
 
virtual void optimise (char *fichier)
 
virtual void enregistre_simple (char *nomfichier, class FEM_MAILLAGE *fem)
 
virtual void change_nom_fichierdbg (char *nom)
 

Fonctions membres protégées

void optimisation (int num_adapt, class FEM_MAILLAGE *fem, char *nomparamaster, int iter=0)
 
void recupere_energie (std::vector< class SIMP_TETRA * > lsttet)
 
void ajouter_voisin_distance (int i, SIMP_TETRA *tet, std::vector< SIMP_TETRA * > &lst)
 
void ajouter_voisin_couche (int i, SIMP_TETRA *tet, std::vector< SIMP_TETRA * > &lst, int nb_couches, int nb_couches2)
 
double poid_lissage (double dist, double distref, double k, double volume, int type)
 
- Fonctions membres protégées hérités de MGOPT
virtual class FEM_MAILLAGEprepare_model (class MG_GESTIONNAIRE *gestd, MG_GESTIONNAIRE *gestnd)
 
virtual void lire_params (char *fichier)
 
void affiche (char *mess)
 

Membres hérités additionnels

- Attributs protégés hérités de MGOPT
struct tm tdebut
 
void(* affiche_ptr )(char *mess)
 
int affichageactif
 
OT_PARAMETRES params
 
OT_PARAMETRES param
 
char nometude [500]
 
char nometudesortie [500]
 
class MG_FILEgestd
 
class MG_FILEgestnd
 
class FCT_TAILLEcarte
 
bool savedbg
 
char nomfichierdbg [500]
 

Description détaillée

Définition à la ligne 30 du fichier mgopt_simp.h.

Documentation des constructeurs et destructeur

◆ MGOPT_SIMP() [1/2]

MGOPT_SIMP::MGOPT_SIMP ( bool  save)

Définition à la ligne 74 du fichier mgopt_simp.cpp.

Références OT_PARAMETRES::ajouter(), OT_PARAMETRES::DOUBLE, et MGOPT::params.

Voici le graphe d'appel pour cette fonction :

◆ MGOPT_SIMP() [2/2]

MGOPT_SIMP::MGOPT_SIMP ( MGOPT_SIMP mdd)

Définition à la ligne 102 du fichier mgopt_simp.cpp.

◆ ~MGOPT_SIMP()

MGOPT_SIMP::~MGOPT_SIMP ( )

Définition à la ligne 107 du fichier mgopt_simp.cpp.

Documentation des fonctions membres

◆ adapte_resultat()

◆ ajouter_voisin_couche()

void MGOPT_SIMP::ajouter_voisin_couche ( int  i,
SIMP_TETRA tet,
std::vector< SIMP_TETRA * > &  lst,
int  nb_couches,
int  nb_couches2 
)
protected

◆ ajouter_voisin_distance()

void MGOPT_SIMP::ajouter_voisin_distance ( int  i,
SIMP_TETRA tet,
std::vector< SIMP_TETRA * > &  lst 
)
protected

◆ optimisation()

void MGOPT_SIMP::optimisation ( int  num_adapt,
class FEM_MAILLAGE fem,
char *  nomparamaster,
int  iter = 0 
)
protectedvirtual

Implémente MGOPT.

Définition à la ligne 112 du fichier mgopt_simp.cpp.

Références MGOPT::affiche(), MG_GESTIONNAIRE::ajouter_fem_solution(), ajouter_voisin_couche(), ajouter_voisin_distance(), MG_EXPORT::aster(), MGOPT::carte, SIMP_TETRA::centre, FEM_SOLUTION::change_legende(), FEM_ELEMENT_MAILLAGE::change_numero(), FEM_ELEMENT_MAILLAGE::change_solution(), SIMP_TETRA::denergie, SIMP_TETRA::densite, SIMP_TETRA::design, SIMP_TETRA::distance(), SIMP_TETRA::distance_ref, SIMP_TETRA::distance_ref2, OT_PARAMETRES::DOUBLE, FEM_SOLUTION::ecrire(), SIMP_TETRA::energie, MAGIC::ENTITE_SOLUTION::ENTITE_ELEMENT3, FCT_TAILLE::evaluer(), MGLANCEURASTER::execute(), f(), MGOPT::gestd, MG_GESTIONNAIRE::get_fem_solution(), FEM_SOLUTION::get_maillage(), FEM_ELEMENT_MAILLAGE::get_mg_element_maillage(), MG_MAILLAGE::get_mg_geometrie(), FEM_MAILLAGE::get_mg_geometrie(), FEM_MAILLAGE::get_mg_maillage(), OT_PARAMETRES::get_nb(), FEM_MAILLAGE::get_nb_fem_element3(), FEM_MAILLAGE::get_nb_fem_noeud(), MG_GESTIONNAIRE::get_nb_fem_solution(), OT_PARAMETRES::get_nom(), FEM_SOLUTION::get_nom_fichier(), FEM_MAILLAGE::get_premier_element3(), FEM_MAILLAGE::get_suivant_element3(), OT_PARAMETRES::get_type(), OT_PARAMETRES::get_valeur(), MG_GEOMETRIE::get_valeur_unite(), MG_EXPORT::gmsh(), MAGIC::ORIGINE::IMPOSE, FCT_TAILLE::lire(), MG_EXPORT::lire_params_aster(), m, SIMP_TETRA::maille_niveau, MAGIC::ORIGINE::MAILLEUR_AUTO, SIMP_TETRA::new_denergie, SIMP_TETRA::new_densite, MGOPT::nometude, MGOPT::nometudesortie, MAGIC::CALCUL_ASTER::OPTIMISATIONTOPOLOGIQUE, MAGIC::ORIGINE::OPTIMISE, MGOPT::param, MGOPT::params, poid_lissage(), recupere_energie(), sqrt(), OT_PARAMETRES::STRING, MG_GESTIONNAIRE::supprimer_fem_solution(), MG_GESTIONNAIRE::supprimer_fem_solution_du_gestionnaire(), MGOPT::tdebut, SIMP_TETRA::tet, SIMP_TETRA::voisin, SIMP_TETRA::voisin2, et SIMP_TETRA::volume.

Référencé par MGOPT_SIMP_ADAPTATIVE::adapte().

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

◆ poid_lissage()

double MGOPT_SIMP::poid_lissage ( double  dist,
double  distref,
double  k,
double  volume,
int  type 
)
protected

Définition à la ligne 571 du fichier mgopt_simp.cpp.

Référencé par optimisation().

Voici le graphe des appelants de cette fonction :

◆ recupere_energie()

void MGOPT_SIMP::recupere_energie ( std::vector< class SIMP_TETRA * >  lsttet)
protected

Définition à la ligne 623 du fichier mgopt_simp.cpp.

Références CODE_ASTER_CPU, CODE_ASTER_ECOULE, MGOPT::nometude, et res.

Référencé par optimisation().

Voici le graphe des appelants de cette fonction :

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