source: issm/trunk-jpl/src/c/bamg/SubDomain.cpp@ 16546

Last change on this file since 16546 was 16546, checked in by Mathieu Morlighem, 11 years ago

CHG: making compiler happy

File size: 629 bytes
Line 
1#include <cstdio>
2#include <cstring>
3#include <cmath>
4#include <ctime>
5
6#include "SubDomain.h"
7#include "Mesh.h"
8
9namespace bamg {
10
11 /*Constructors/Destructors*/
12
13 /*Methods*/
14 /*FUNCTION SubDomain::Set {{{*/
15 void SubDomain::Set(const Mesh & Th ,long i,Mesh & ThNew){
16 *this = Th.subdomains[i];
17 if( head-Th.triangles<0 || head-Th.triangles>=Th.nbt){
18 _error_("head-Th.triangles<0 || head-Th.triangles>=Th.nbt");
19 }
20 head = ThNew.triangles + Th.GetId(head) ;
21 if(edge-Th.edges<0 || edge-Th.edges>=Th.nbe){
22 _error_("edge-Th.edges<0 || edge-Th.edges>=Th.nbe");
23 }
24 edge = ThNew.edges+ Th.GetId(edge);
25 }
26 /*}}}*/
27
28}
Note: See TracBrowser for help on using the repository browser.