itaps-parallel inconsistencies in getAllVtxCoords
Carl Ollivier-Gooch
cfog at mech.ubc.ca
Sun Sep 14 16:55:02 CDT 2008
Lori A. Diachin wrote:
> Hi Carl and Tim,
>
> Right after you left today a question came up regarding what functions
> such as getAllVtxCoords should return for 2D meshes. In my and Ting's
> implementations, we return an array of num_vtx*num_dim but you and Tim
> seem to return num_vtx*3 regardless of the dimension of the mesh. The
> documentation doesn't specify the proper behavior.
Oops. My intention was to return num_vtx*num_dim. That's what my SIDL
implementation did, and what the unit testing code checks for
(obviously, I haven't run unit test with a 2D mesh; I wonder what else
I'll find...). But my C implementation for 2D appears to share a bit
too much code with my 3D implementation....
Carl
--
------------------------------------------------------------------------
Dr. Carl Ollivier-Gooch, P.Eng. Voice: +1-604-822-1854
Associate Professor Fax: +1-604-822-2403
Department of Mechanical Engineering email: cfog at mech.ubc.ca
University of British Columbia http://www.mech.ubc.ca/~cfog
Vancouver, BC V6T 1Z4 http://tetra.mech.ubc.ca/ANSLab/
------------------------------------------------------------------------
More information about the itaps-parallel
mailing list