CATEGORII DOCUMENTE |
Asp | Autocad | C | Dot net | Excel | Fox pro | Html | Java |
Linux | Mathcad | Photoshop | Php | Sql | Visual studio | Windows | Xml |
Table 6 lists the error tolerance information functions. These functions provide information about the tolerance levels currently set, which norm is in use, what the error is, and the tolerance scale factor. The latter is a measure computed when the integration fails because the step size has reached the minimum allowed without satisfying the tolerance requirements. It is the estimated value by which both the absolute and relative tolerances need to be multiplied in order to use the minimum step size successfully.
Table 6 Error Tolerance Information Functions.
Function |
Description |
GetAbsTol |
Returns the absolute tolerance vector. |
GetRelTol |
Returns the relative tolerance vector. |
GetYError |
Returns the current local error estimate. |
GetTolScaleFactor |
Returns the tolerance scale factor when the minimum step size is exceeded. |
UsingRSSNorm |
Returns true if the 2-norm is being used to compute the tolerance. |
UsingInfNorm |
Returns true if the -norm is being used to compute the tolerance. |
AbsTol = pInteg->GetAbsTol();
None.
Type |
Description |
colvec |
Value of the absolute tolerance vector. |
This function returns the absolute tolerance vector, which is the same size as the state vector. If you supplied a single value, it will be repeated in each element.
AbsTol = pInteg->GetRelTol();
None.
Type |
Description |
colvec |
Value of the relative tolerance vector. |
This function returns the relative tolerance vector, which is the same size as the state vector. If you supplied a single value, it will be repeated in each element.
yError = pInteg->GetYError();
None.
Type |
Description |
colvec |
Value of the estimated local error at the current time. |
This function returns the current estimate of the local error. This is the value computed either by Richardson Extrapolation or the embedded formula in the Butcher Table. This value is being used to set the current step size in variable step size operations.
tsf = pInteg->GetTolScaleFactor();
None.
Type |
Description |
double |
Estimated value by which both the absolute and relative tolerances need to be scaled in order to achieve a successful step using the minimum step size allowed. |
This function returns zero until such time that the error tolerance cannot be met.
if ( pInteg->UsingRSSNorm() ).
None.
Type |
Description |
bool |
Returns true if the integrator is using the 2-norm to compute the error tolerance, false otherwise. |
None.
if ( pInteg->UsingInfNorm() ).
None.
Type |
Description |
bool |
Returns true if the integrator is using the -norm to compute the error tolerance, false otherwise. |
None.
Politica de confidentialitate | Termeni si conditii de utilizare |
Vizualizari: 626
Importanta:
Termeni si conditii de utilizare | Contact
© SCRIGROUP 2024 . All rights reserved