|
[Sponsors] |
December 6, 2009, 10:37 |
Understanding findCell-octree
|
#1 |
Member
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 17 |
Dear all
I'm trying to understand how findCell-octree.C [1] works. I'm stuck on line 72/73, which says: Code:
// Wrap indices and mesh information into helper object octreeDataCell shapes(mesh); First of all I could not find the concerning method, shapes. Then I also could not figure out what a shape actually is, according to the users guide it's actually a heaxahedron, wedge, prism, etc But I could not find a concerning class/method in the source documentation Any help will be appreciated. [1] Is in $FOAM_SRC/applications/test/findCell-octree |
|
December 6, 2009, 15:27 |
|
#2 |
Senior Member
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 124
Rep Power: 18 |
Hello Andrew,
this line of code causes the creation of an object named "shapes" of class "octreeDataCell". Only the constructor of octreeDataCell is called. The code is here: $FOAM_SRC/meshTools/lnInclude/octreeDataCell.C line 51 Regards, Hannes |
|
December 6, 2009, 15:30 |
|
#3 |
Member
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 17 |
Ok seems that I know c++ still not good enough, so shapes is the object name and not a method. Thank you!
|
|
Tags |
mesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Understanding of channelOodles and oodles solver | fs82 | OpenFOAM | 1 | September 23, 2009 11:36 |
Octree Grid Refinement | Tristan | CFX | 3 | September 26, 2008 06:33 |
Octree Vs Advancing Front tetra meshing techniques | Sam | CFX | 4 | February 18, 2008 09:54 |
AMR or Octree | loic bretonnet | Main CFD Forum | 1 | November 16, 2006 01:00 |
Octree Approach - ICEM | Fred | CFX | 0 | June 15, 2005 03:39 |