#include <aigrid.h>
Public Member Functions | |
DispoHypParam (int iMax, double A, double B, double linSt, double linEn, double linCen) | |
constructor | |
Public Attributes | |
int | m_iMax |
number of cells | |
double | m_A |
hyperbolical start | |
double | m_B |
hyperbolical end | |
double | m_linSt |
linear distribution at start | |
double | m_linEn |
linear distribution at end | |
double | m_linCen |
linear distribution at position of maximum derivative |
The distribution of points along a definition line is managed by hyperbolic tangent functions.
Example:
DispoHypParam(24,-1.6,2.0,0.1,0.15,0.2)
First the section between AiDispoHypParam::m_A(-1.6) and AiDispoHypParam::m_B(2.0) will be taken from the hyperbolic tangent function (picture hyperbolic tangent), then this section will be made nondimensional along the abscissa (picture dimensionless in abscissa).
Then at the beginning DispoHypParam::m_linSt(0.1), at the end DispoHypParam::m_linEn(0.15) and at the position of maximum derivative DispoHypParam::m_linCen(0.2) a linear section of claimed length will be inserted. Afterwards the abscissa and the ordinate will be made dimensionless as well. Find the result in picture with linear regions, and the corresponding derivative in picture derivative.