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