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