Re: [Tochnog-users] contact_geometry problem

<[email protected]>
Newsgroups gmane.comp.mathematics.tochnog.devel
Message-ID <[email protected]>
Hi, tochnoggers,
 before all, happy new year.
 I think there is a bug in the code. Please someone who can look at 
geometry.cc, lines 334-336. The goal of those lines are computing the 
normal to a ellipse, but in fact:

  1. The b/a factor would have to be squared
  2. If 1. would be true, then y/x should be used, and not x/y. There 
may also be some bug on the sign, to make the normal point outwards 
the ellipse.

 Please, check it, and if you agree, I will correct and put it to the 
CVS.


  Best,

  Jesús Torrecilla 

> I have modified the home page metal forging example using 
> geometry_circle in place of geometry_line as the contacting object. 
> It works fine.  But if I use geometry_ellipse or 
geometry_polynomial, 
> contact does not seem to be detected at all.  Is there something 
> wrong with the code or am I overlooking something obvious?
> 
> -- 
> 
> 
> Jeffrey A. Hinkley, Ph.D.
> Mail Stop 226
> Advanced Materials and Processing Branch
> NASA Langley Research Center
> 6A W. Taylor St.
> Hampton, VA 23681
> 
> voice: 757 864 4259
> fax:  757 864 8312
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for 
IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys 
admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> Tochnog-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tochnog-users
> 








-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.