Rev | Line | |
---|
[14312] | 1 | Index: ../trunk-jpl/src/c/classes/objects/Vertex.cpp
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/src/c/classes/objects/Vertex.cpp (revision 14098)
|
---|
| 4 | +++ ../trunk-jpl/src/c/classes/objects/Vertex.cpp (revision 14099)
|
---|
| 5 | @@ -196,17 +196,18 @@
|
---|
| 6 | /*FUNCTION Vertex::ToXYZ {{{*/
|
---|
| 7 | void Vertex::ToXYZ(Matrix<IssmDouble>* matrix){
|
---|
| 8 |
|
---|
| 9 | - int i;
|
---|
| 10 | - double xyz[3];
|
---|
| 11 | - int indices[3];
|
---|
| 12 | + IssmDouble xyz[3];
|
---|
| 13 | + int indices[3];
|
---|
| 14 |
|
---|
| 15 | - if (this->clone==true)return;
|
---|
| 16 | - else{
|
---|
| 17 | + if (this->clone==true) return;
|
---|
| 18 |
|
---|
| 19 | - xyz[0]=x; xyz[1]=y; xyz[2]=z;
|
---|
| 20 | - indices[0]=0;indices[1]=1; indices[2]=2;
|
---|
| 21 | + xyz[0]=x;
|
---|
| 22 | + xyz[1]=y;
|
---|
| 23 | + xyz[2]=z;
|
---|
| 24 | + indices[0]=0;
|
---|
| 25 | + indices[1]=1;
|
---|
| 26 | + indices[2]=2;
|
---|
| 27 |
|
---|
| 28 | - matrix->SetValues(1,&sid,3,&indices[0],&xyz[0],INS_VAL);
|
---|
| 29 | - }
|
---|
| 30 | + matrix->SetValues(1,&sid,3,&indices[0],&xyz[0],INS_VAL);
|
---|
| 31 | }
|
---|
| 32 | /*}}}*/
|
---|
Note:
See
TracBrowser
for help on using the repository browser.