conftrans Class Reference

Conformal transform (interface, implements identity transform). More...

#include <conftrans.h>

List of all members.

Public Member Functions

 conftrans ()
 Constructs the identity conformal transform.
dcmplx T (dcmplx t) const
 Calculates the conformal transform $ T(t) $.
dcmplx Tp (dcmplx t) const
 Calculates the first derivative of the conformal transform $ T'(t) $.
dcmplx Tpp (dcmplx t) const
 Calculates the second derivative of the conformal transform $ T''(t) $.
double singorder (dcmplx t) const
 Returns the order of singularity of T'(t) at a given boundary point.
int nsing () const
 Gives the number of singular points at the unit circle boundary.
double getSingAngle (int i) const
 Returns the polar angle of specified singular point.
 ~conftrans ()
 Destructor.

Detailed Description

Conformal transform (interface, implements identity transform).

This class declares forward (and later, possibly, reverse) conformal transform $ z=T(t)$ from the unit disk $ t $, $ |t| \leq 1 $ to the desired shape of the nano-cylinder's face $ z $. It is parent of all conformal transforms, used in nanomagnFMM and implements the identity transform.

Author:
Konstantin L. Metlov <metlov@kinetic.ac.donetsk.ua>

Member Function Documentation

double conftrans::getSingAngle ( int  i  )  const

Returns the polar angle of specified singular point.

Schwarz-Christoffel mapping is singular at points, mapped at polygon's vertices. This function returns polar angle $ \varphi_i $ of i-th such point in the interval $ 0 \leq \varphi_i \leq 2\pi $. The angles are returned in increasing order: $ \varphi_i < \varphi_{i+1} $.

Parameters:
i number of the polygon's vertex, must be less than nsing().
Returns:
Polar angle of the point on the unit circle, mapped to the given vertex.
See also:
nsing().

Referenced by nanomagn::group::group(), and nanomagn::mesh::mesh().

int conftrans::nsing (  )  const

Gives the number of singular points at the unit circle boundary.

Schwarz-Christoffel mapping is singular at points, mapped at polygon's vertices. This function essentially gives their number or 0 if particle has no corners.

Returns:
Number of singular points.

Referenced by nanomagn::group::group(), and nanomagn::mesh::mesh().

double conftrans::singorder ( dcmplx  t  )  const

Returns the order of singularity of T'(t) at a given boundary point.

This is necessary for implementing the Schwarz-Christoffel mapping to polygons, which have a singular first derivative at certain boundary points. The function returns 0 if the given boundary point is not singular, or gives the order of singularity if the point is close to singularity (as determined by tol_eq).

See also:
tol_eq()
Parameters:
t a point on the unit circle $ |t| \leq 1 $.
Returns:
second derivative of the conformal transform $ T''(t) $.
dcmplx conftrans::T ( dcmplx  t  )  const

Calculates the conformal transform $ T(t) $.

Parameters:
t a point on the unit disk $ |t| \leq 1 $.
Returns:
transformed point $ z=T(t) $.

Referenced by sideenergydeintegrand::eval(), chord::getCenter(), chord::getRadius(), chord::getRandom(), and nanomagn::group::group().

dcmplx conftrans::Tp ( dcmplx  t  )  const

Calculates the first derivative of the conformal transform $ T'(t) $.

Parameters:
t a point on the unit disk $ |t| \leq 1 $.
Returns:
derivative of the conformal transform $ T'(t) $.

Referenced by fmm::chargesFace(), fmm::chargesSide(), fmm::chargesVolume(), and sideenergydeintegrand::eval().

dcmplx conftrans::Tpp ( dcmplx  t  )  const

Calculates the second derivative of the conformal transform $ T''(t) $.

Parameters:
t a point on the unit disk $ |t| \leq 1 $.
Returns:
second derivative of the conformal transform $ T''(t) $.

Referenced by fmm::chargesVolume().


The documentation for this class was generated from the following files:
Generated on Mon Oct 8 18:26:44 2012 for nanomagnFMM by  doxygen 1.6.3