1 |
//------------------------------------------------------------ |
2 |
//------------------------------------------------------------ |
3 |
// MAGiC |
4 |
// Jean Christophe Cuilli�e et Vincent FRANCOIS |
5 |
// D�artement de G�ie M�anique - UQTR |
6 |
//------------------------------------------------------------ |
7 |
// Le projet MAGIC est un projet de recherche du d�artement |
8 |
// de g�ie m�anique de l'Universit�du Qu�ec � |
9 |
// Trois Rivi�es |
10 |
// Les librairies ne peuvent �re utilis�s sans l'accord |
11 |
// des auteurs (contact : francois@uqtr.ca) |
12 |
//------------------------------------------------------------ |
13 |
//------------------------------------------------------------ |
14 |
// |
15 |
// fem_tetra.cpp |
16 |
// |
17 |
//------------------------------------------------------------ |
18 |
//------------------------------------------------------------ |
19 |
// COPYRIGHT 2000 |
20 |
// Version du 02/03/2006 �11H22 |
21 |
//------------------------------------------------------------ |
22 |
//------------------------------------------------------------ |
23 |
|
24 |
|
25 |
#include "gestionversion.h" |
26 |
#include <math.h> |
27 |
#include "xfem_element3.h" |
28 |
#include "fem_maillage.h" |
29 |
#include "mg_element_maillage.h" |
30 |
#include "ot_boite_3D.h" |
31 |
|
32 |
XFEM_ELEMENT3::XFEM_ELEMENT3(unsigned long num,class MG_ELEMENT_MAILLAGE* mai):FEM_ELEMENT_MAILLAGE(num,mai),etat(0) |
33 |
{ |
34 |
} |
35 |
|
36 |
XFEM_ELEMENT3::XFEM_ELEMENT3(class MG_ELEMENT_MAILLAGE* mai):FEM_ELEMENT_MAILLAGE(mai),etat(0) |
37 |
{ |
38 |
} |
39 |
|
40 |
|
41 |
XFEM_ELEMENT3::XFEM_ELEMENT3(XFEM_ELEMENT3& mdd):FEM_ELEMENT_MAILLAGE(mdd),etat(mdd.etat) |
42 |
{ |
43 |
} |
44 |
|
45 |
|
46 |
|
47 |
XFEM_ELEMENT3::~XFEM_ELEMENT3() |
48 |
{ |
49 |
} |
50 |
|
51 |
|
52 |
void XFEM_ELEMENT3::extrapoler_solution_noeud(void) |
53 |
{ |
54 |
int nb=get_nb_fem_noeud(); |
55 |
for (int i=0;i<nb;i++) |
56 |
get_fem_noeud(i)->change_solution(solution); |
57 |
} |
58 |
|
59 |
|
60 |
|
61 |
|