/[ff3d]/ff3d/solver/Structured3DMesh.cpp
ViewVC logotype

Diff of /ff3d/solver/Structured3DMesh.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by delpinux, Fri Aug 1 17:50:49 2003 UTC revision 1.3 by delpinux, Fri Aug 8 08:39:56 2003 UTC
# Line 70  Structured3DMesh::Structured3DMesh(const Line 70  Structured3DMesh::Structured3DMesh(const
70          real_t wk0 = static_cast<real_t>(k) / static_cast<real_t>(nz_1);          real_t wk0 = static_cast<real_t>(k) / static_cast<real_t>(nz_1);
71          real_t wk1 = static_cast<real_t>(nz_1-k)/static_cast<real_t>(nz_1);          real_t wk1 = static_cast<real_t>(nz_1-k)/static_cast<real_t>(nz_1);
72          Vertex& v = vertex(i,j,k);          Vertex& v = vertex(i,j,k);
73          v.X() = wi0 * __verticesShape.b(0) + wi1 * __verticesShape.a(0);          v.x() = wi0 * __verticesShape.b(0) + wi1 * __verticesShape.a(0);
74          v.Y() = wj0 * __verticesShape.b(1) + wj1 * __verticesShape.a(1);          v.y() = wj0 * __verticesShape.b(1) + wj1 * __verticesShape.a(1);
75          v.Z() = wk0 * __verticesShape.b(2) + wk1 * __verticesShape.a(2);          v.z() = wk0 * __verticesShape.b(2) + wk1 * __verticesShape.a(2);
76        }        }
77      }      }
78    }    }
# Line 222  void Structured3DMesh::createReferences( Line 222  void Structured3DMesh::createReferences(
222    for (size_t i=0; i<this->numberOfVertices(); ++i) {    for (size_t i=0; i<this->numberOfVertices(); ++i) {
223      Vertex& V = vertex(i);      Vertex& V = vertex(i);
224    
225      V.Ref() = S.inside(V);      V.reference() = S.inside(V);
226    }    }
227  }  }
228    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26