ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/step/src/stfaceobound.cpp
Revision: 283
Committed: Tue Sep 13 21:11:20 2011 UTC (13 years, 8 months ago) by francois
File size: 1695 byte(s)
Log Message:
structure de l'écriture

File Contents

# User Rev Content
1 francois 283 //------------------------------------------------------------
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;
36     else orientation=(-1);
37     }
38    
39    
40     int ST_FACE_OUTER_BOUND::get_id_edge_loop(void) const
41     {
42     return id_edge_loop;
43     }
44     int ST_FACE_OUTER_BOUND::get_orientation(void) const
45     {
46     return orientation;
47     }
48    
49    
50     void ST_FACE_OUTER_BOUND::est_util(ST_GESTIONNAIRE* gest)
51     {
52     util=true;
53     gest->lst_edge_loop.getid(id_edge_loop)->est_util(gest);
54     }