CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   points / localPoints (http://www.cfd-online.com/Forums/openfoam-programming-development/77242-points-localpoints.html)

niklas June 17, 2010 09:50

points / localPoints
 
Is there some addressing connecting points in the mesh with the localPoints on a patch?

const pointField& points = mesh.points();
const polyBoundaryMesh& patches = mesh.boundaryMesh();
const vectorField& bPoints = patches[i].localPoints();

N

deepsterblue June 17, 2010 11:13

Yup. Look at the meshPoints() and meshPointMap() functions in PrimitivePatch.H

niklas June 18, 2010 02:06

thanks, that was exactly what I was searching for :)

N


All times are GMT -4. The time now is 14:01.