#include <MeshCut_Maillage.hxx>
Public Member Functions | |
Maillage (std::string _ID) | |
virtual | ~Maillage () |
void | creationGMtype (TYPE_MAILLE tm, std::string nomGMtype) |
void | afficheMailles (TYPE_MAILLE tm) |
void | listeMaillesType (TYPE_MAILLE tm) |
void | listeMaillesTousTypes () |
void | listeMaillesParGM () |
void | listeMaillesGM (std::string nomGM) |
void | listeNoeuds () |
void | listeNoeudsGN (std::string nomGN) |
void | listeNoeudsGNordonne (std::string nomGN) |
std::vector< float > | G (int i, TYPE_MAILLE tm) |
float | distanceNoeudMaille (int ngnoeud, int imaille, TYPE_MAILLE tm) |
int | noeudVoisin (int ngnoeud, int imaille, TYPE_MAILLE tm) |
Retourne le ng du noeud le plus proche de ngnoeud dans la maille imaille du type tm. More... | |
float | distanceNoeudNoeud (int ng1, int ng2) |
void | inputMED (std::string fichierMED) |
void | outputMED (std::string fichierMED) |
void | outputMEDold (std::string fichierMED) |
void | inputHL (std::string fichierHL) |
void | outputHL (std::string fichierHL) |
void | outputVRML (std::string ficVRML, float rNoeuds, char *renduAretes, char *renduFaces, float transparence) |
int | NGLOBAL (TYPE_MAILLE typeMaille, int nlocal) |
int | NLOCAL (int nglobal, TYPE_MAILLE tm) |
TYPE_MAILLE | TYPE (int nglobal) |
void | eliminationMailles (TYPE_MAILLE typeMaille, std::vector< int > listeMaillesSuppr) |
Suppression de mailles dans un type : More... | |
void | acquisitionTYPE_inputMED (TYPE_MAILLE TYPE, int nTYPE, med_idt fid, char maa[MED_NAME_SIZE+1], med_int mdim) |
bool | NoeudDansHEXA8 (int n, int n0, int n1, int n2, int n3, int n4, int n5, int n6, int n7, float epsilon) |
bool | NoeudDansPENTA6 (int n, int n0, int n1, int n2, int n3, int n4, int n5, float epsilon) |
bool | NoeudDansPYRAM5 (int n, int n0, int n1, int n2, int n3, int n4, float epsilon) |
bool | NoeudDansTETRA4 (int n, int n1, int n2, int n3, int n4, float epsilon) |
bool | NoeudDansQUAD4 (int n, int n1, int n2, int n3, int n4, float epsilon) |
bool | NoeudDansTRIA3 (int n, int n1, int n2, int n3, float epsilon) |
double | volumeTETRA (int n1, int n2, int n3, int n4) |
double | aireTRIA (int n1, int n2, int n3) |
double | DET3 (int n1, int n2, int n3) |
double | DET2 (int n1, int n2) |
void * | chargeEnveloppesCubiques (TYPE_MAILLE tm) |
void * | chargeEnveloppesCarrees (TYPE_MAILLE tm) |
bool | noeudDeMaille (int ngnoeud, int i, TYPE_MAILLE tm) |
bool | NoeudDansMaille3D (int n, int i, TYPE_MAILLE tm, float epsilon) |
bool | NoeudDansMaille2D (int n, int i, TYPE_MAILLE tm, float epsilon) |
bool | NoeudDansEnveloppeMaille2D (int n, int i, TYPE_MAILLE tm, float epsilon) |
bool | NoeudDansEnveloppeMaille3D (int n, int i, TYPE_MAILLE tm, float epsilon) |
void * | afficheEnveloppesCubiques (TYPE_MAILLE tm) |
void * | afficheEnveloppesCarrees (TYPE_MAILLE tm) |
std::vector< int > | noeudsGeomCommuns (int i1, TYPE_MAILLE tm1, int i2, TYPE_MAILLE tm2) |
void | creationGMresidu () |
float | longueurMoyenne () |
Data Fields | |
std::map< int, std::vector< int > > | FAMILLES |
std::map< int, std::vector < TYPE_MAILLE > > | FAM_TYPES |
std::map< int, std::vector< int > > | FAMILLES_NOEUDS |
std::map< std::string, std::vector< int > > | GROUPES_MAILLES |
std::map< std::string, std::vector< int > > | GROUPES_NOEUDS |
std::map< int, int > | tailleFAMILLES |
std::map< std::string, int > | tailleGROUPES |
std::map< TYPE_MAILLE, std::vector< int > > | RESIDU |
std::string | ID |
int | nombreNoeudsMaillage |
int | nombreMaillesMaillage |
class Cube * | enveloppeMaillage |
int | dimensionMaillage |
int | dimensionEspace |
char | axisname [3 *MED_SNAME_SIZE+1] |
char | unitname [3 *MED_SNAME_SIZE+1] |
float * | XX |
float * | YY |
float * | ZZ |
std::map< TYPE_MAILLE, int > | EFFECTIFS_TYPES |
std::map< TYPE_MAILLE, int * > | CNX |
std::map< TYPE_MAILLE, float * > | EC |
std::map< std::string, std::map< TYPE_MAILLE, std::vector< int > > > | GM |
std::map< std::string, std::vector< int > > | GN |
Maillage::Maillage | ( | std::string | _ID | ) |
References MESHCUT::HEXA20, and MESHCUT::POI1.
|
virtual |
void Maillage::acquisitionTYPE_inputMED | ( | TYPE_MAILLE | TYPE, |
int | nTYPE, | ||
med_idt | fid, | ||
char | maa[MED_NAME_SIZE+1], | ||
med_int | mdim | ||
) |
void* MESHCUT::Maillage::afficheEnveloppesCarrees | ( | TYPE_MAILLE | tm | ) |
void* MESHCUT::Maillage::afficheEnveloppesCubiques | ( | TYPE_MAILLE | tm | ) |
void Maillage::afficheMailles | ( | TYPE_MAILLE | tm | ) |
References MESHCUT::Nnoeuds(), and MESHCUT::TM2string().
void* MESHCUT::Maillage::chargeEnveloppesCarrees | ( | TYPE_MAILLE | tm | ) |
void* MESHCUT::Maillage::chargeEnveloppesCubiques | ( | TYPE_MAILLE | tm | ) |
void MESHCUT::Maillage::creationGMresidu | ( | ) |
void Maillage::creationGMtype | ( | TYPE_MAILLE | tm, |
std::string | nomGMtype | ||
) |
float Maillage::distanceNoeudMaille | ( | int | ngnoeud, |
int | imaille, | ||
TYPE_MAILLE | tm | ||
) |
References MESHCUT::d, and MESHCUT::NnoeudsGeom().
void Maillage::eliminationMailles | ( | TYPE_MAILLE | tm, |
std::vector< int > | listeMaillesSuppr | ||
) |
Suppression de mailles dans un type :
Les noeuds ne sont pas affectés.
References MESHCUT::ERREUR(), and MESHCUT::Nnoeuds().
Referenced by main().
std::vector< float > Maillage::G | ( | int | i, |
TYPE_MAILLE | tm | ||
) |
References MESHCUT::NnoeudsGeom().
void MESHCUT::Maillage::inputHL | ( | std::string | fichierHL | ) |
void Maillage::inputMED | ( | std::string | fichierMED | ) |
References MESHCUT::ERREUR(), MESHCUT::HEXA20, MESHCUT::InstanceMGE(), MESHCUT::POI1, MESHCUT::string2char(), and MESHCUT::strip().
Referenced by main().
void Maillage::listeMaillesGM | ( | std::string | nomGM | ) |
References MESHCUT::HEXA20, MESHCUT::POI1, and MESHCUT::TM2string().
void Maillage::listeMaillesParGM | ( | ) |
void Maillage::listeMaillesTousTypes | ( | ) |
References MESHCUT::HEXA20, and MESHCUT::POI1.
void Maillage::listeMaillesType | ( | TYPE_MAILLE | tm | ) |
void Maillage::listeNoeuds | ( | ) |
void Maillage::listeNoeudsGN | ( | std::string | nomGN | ) |
void Maillage::listeNoeudsGNordonne | ( | std::string | nomGN | ) |
float MESHCUT::Maillage::longueurMoyenne | ( | ) |
int Maillage::NGLOBAL | ( | TYPE_MAILLE | typeMaille, |
int | nlocal | ||
) |
References MESHCUT::POI1.
int Maillage::NLOCAL | ( | int | nglobal, |
TYPE_MAILLE | tm | ||
) |
bool MESHCUT::Maillage::NoeudDansEnveloppeMaille2D | ( | int | n, |
int | i, | ||
TYPE_MAILLE | tm, | ||
float | epsilon | ||
) |
bool MESHCUT::Maillage::NoeudDansEnveloppeMaille3D | ( | int | n, |
int | i, | ||
TYPE_MAILLE | tm, | ||
float | epsilon | ||
) |
bool MESHCUT::Maillage::NoeudDansHEXA8 | ( | int | n, |
int | n0, | ||
int | n1, | ||
int | n2, | ||
int | n3, | ||
int | n4, | ||
int | n5, | ||
int | n6, | ||
int | n7, | ||
float | epsilon | ||
) |
bool MESHCUT::Maillage::NoeudDansMaille2D | ( | int | n, |
int | i, | ||
TYPE_MAILLE | tm, | ||
float | epsilon | ||
) |
bool MESHCUT::Maillage::NoeudDansMaille3D | ( | int | n, |
int | i, | ||
TYPE_MAILLE | tm, | ||
float | epsilon | ||
) |
bool MESHCUT::Maillage::NoeudDansPENTA6 | ( | int | n, |
int | n0, | ||
int | n1, | ||
int | n2, | ||
int | n3, | ||
int | n4, | ||
int | n5, | ||
float | epsilon | ||
) |
bool MESHCUT::Maillage::NoeudDansPYRAM5 | ( | int | n, |
int | n0, | ||
int | n1, | ||
int | n2, | ||
int | n3, | ||
int | n4, | ||
float | epsilon | ||
) |
bool MESHCUT::Maillage::noeudDeMaille | ( | int | ngnoeud, |
int | i, | ||
TYPE_MAILLE | tm | ||
) |
std::vector<int> MESHCUT::Maillage::noeudsGeomCommuns | ( | int | i1, |
TYPE_MAILLE | tm1, | ||
int | i2, | ||
TYPE_MAILLE | tm2 | ||
) |
int Maillage::noeudVoisin | ( | int | ngnoeud, |
int | imaille, | ||
TYPE_MAILLE | tm | ||
) |
Retourne le ng du noeud le plus proche de ngnoeud dans la maille imaille du type tm.
References MESHCUT::d, and MESHCUT::NnoeudsGeom().
void MESHCUT::Maillage::outputHL | ( | std::string | fichierHL | ) |
void Maillage::outputMED | ( | std::string | fichierMED | ) |
References MESHCUT::conversionCNX(), MESHCUT::ERREUR(), MESHCUT::HEXA20, MESHCUT::InstanceMGE(), MESHCUT::int2string(), MESHCUT::POI1, MESHCUT::string2char(), and MESHCUT::TM2string().
Referenced by main().
void MESHCUT::Maillage::outputMEDold | ( | std::string | fichierMED | ) |
void MESHCUT::Maillage::outputVRML | ( | std::string | ficVRML, |
float | rNoeuds, | ||
char * | renduAretes, | ||
char * | renduFaces, | ||
float | transparence | ||
) |
TYPE_MAILLE Maillage::TYPE | ( | int | nglobal | ) |
References MESHCUT::HEXA20, and MESHCUT::POI1.
char MESHCUT::Maillage::axisname[3 *MED_SNAME_SIZE+1] |
Referenced by main().
std::map<TYPE_MAILLE, int*> MESHCUT::Maillage::CNX |
Referenced by MESHCUT::cas1(), MESHCUT::cas2(), MESHCUT::cas3(), MESHCUT::cas4(), MESHCUT::intersectionSegmentPlan(), and main().
std::map<TYPE_MAILLE, float*> MESHCUT::Maillage::EC |
std::map<TYPE_MAILLE, int> MESHCUT::Maillage::EFFECTIFS_TYPES |
Referenced by MESHCUT::cas1(), MESHCUT::cas2(), MESHCUT::cas3(), MESHCUT::cas4(), and main().
class Cube* MESHCUT::Maillage::enveloppeMaillage |
std::map<int, std::vector<TYPE_MAILLE> > MESHCUT::Maillage::FAM_TYPES |
std::map<std::string, std::map<TYPE_MAILLE, std::vector<int> > > MESHCUT::Maillage::GM |
Referenced by main().
std::map<std::string, std::vector<int> > MESHCUT::Maillage::GROUPES_MAILLES |
std::map<std::string, std::vector<int> > MESHCUT::Maillage::GROUPES_NOEUDS |
std::string MESHCUT::Maillage::ID |
Referenced by main().
std::map<TYPE_MAILLE, std::vector<int> > MESHCUT::Maillage::RESIDU |
std::map<std::string, int> MESHCUT::Maillage::tailleGROUPES |
char MESHCUT::Maillage::unitname[3 *MED_SNAME_SIZE+1] |
Referenced by main().
float* MESHCUT::Maillage::XX |
float* MESHCUT::Maillage::YY |
float* MESHCUT::Maillage::ZZ |