Re: Define the orientation in anisotropic system

2013-04-26 Thread Jonathan Guyer
On Apr 26, 2013, at 5:30 AM, Kun-Dar Li wrote: > I use two different methods to define the > orientation as the following: > theta=arctan2(phi.getFaceGrad()[1], phi.getFaceGrad()[0]) > theta=arctan(phi.getFaceGrad()[1] / phi.getFaceGrad()[0]) > However, I got a slight different result from abo

Define the orientation in anisotropic system

2013-04-26 Thread Kun-Dar Li
Dear fipy users, I'm trying to solve a problem in an anisotropic system. Referring to 12.4 examples.phase.anisotropy, I use two different methods to define the orientation as the following: theta=arctan2(phi.getFaceGrad()[1], phi.getFaceGrad()[0]) theta=arctan(phi.getFaceGrad()[1] / phi.getFaceG