1 |
|
5 |
//------------------------------------------------------------
|
2 |
|
|
//------------------------------------------------------------
|
3 |
|
|
// MAGiC
|
4 |
|
|
// Jean Christophe Cuillière et Vincent FRANCOIS
|
5 |
|
|
// Département de Génie Mécanique - UQTR
|
6 |
|
|
//------------------------------------------------------------
|
7 |
|
|
// Le projet MAGIC est un projet de recherche du département
|
8 |
|
|
// de génie mécanique de l'Université du Québec à
|
9 |
|
|
// Trois Rivières
|
10 |
|
|
// Les librairies ne peuvent être utilisées sans l'accord
|
11 |
|
|
// des auteurs (contact : francois@uqtr.ca)
|
12 |
|
|
//------------------------------------------------------------
|
13 |
|
|
//------------------------------------------------------------
|
14 |
|
|
//
|
15 |
|
|
// stfaceobound.cpp
|
16 |
|
|
//
|
17 |
|
|
//------------------------------------------------------------
|
18 |
|
|
//------------------------------------------------------------
|
19 |
|
|
// COPYRIGHT 2000
|
20 |
|
|
// Version du 02/03/2006 à 11H24
|
21 |
|
|
//------------------------------------------------------------
|
22 |
|
|
//------------------------------------------------------------
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
#include "gestionversion.h"
|
26 |
|
|
|
27 |
|
|
#include <string.h>
|
28 |
|
|
#include "stfaceobound.h"
|
29 |
|
|
#include "st_ident.h"
|
30 |
|
|
#include "st_gestionnaire.h"
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
ST_FACE_OUTER_BOUND::ST_FACE_OUTER_BOUND(int LigneCourante,std::string idori,int edge_loop,char *sens):ST_IDENTIFICATEUR(LigneCourante,idori),id_edge_loop(edge_loop)
|
34 |
|
|
{
|
35 |
|
|
if (strcmp(sens,"T")==0) orientation=1; else orientation=(-1);
|
36 |
|
|
}
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
int ST_FACE_OUTER_BOUND::get_id_edge_loop(void) const
|
40 |
|
|
{
|
41 |
|
|
return id_edge_loop;
|
42 |
|
|
}
|
43 |
|
|
int ST_FACE_OUTER_BOUND::get_orientation(void) const
|
44 |
|
|
{
|
45 |
|
|
return orientation;
|
46 |
|
|
}
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
void ST_FACE_OUTER_BOUND::est_util(ST_GESTIONNAIRE* gest)
|
50 |
|
|
{
|
51 |
|
|
util=true;
|
52 |
|
|
gest->lst_edge_loop.getid(id_edge_loop)->est_util(gest);
|
53 |
|
|
}
|