#include <iostream>
#include <iomanip>
#include "Grid.h"
#include <math.h>
#include "../VariousFunctions/variousFunctions.h"
#include "../Exceptions/error.h"
Go to the source code of this file.
Defines | |
#define | maxERR 1.e-6 |
Functions | |
double | find_alpha (double RHS, double alpha_min, double alpha_max, double ERR, int max_it, int it) |
Function finds alpha-root of equation Y(alpha)/sin(alpha) = RHS. |
Definition in file Grid.cpp.
#define maxERR 1.e-6 |
double find_alpha | ( | double | RHS, | |
double | alpha_min, | |||
double | alpha_max, | |||
double | ERR, | |||
int | max_it, | |||
int | it | |||
) |
Function finds alpha-root of equation Y(alpha)/sin(alpha) = RHS.
Root finding function, used in grid construction.
. Used in grid-bilding.
RHS | - right hand side | |
alpha_min | - min alpha value to look for root | |
alpha_max | - max alpha value to look for root | |
ERR | - max error (min accuracy) | |
max_it | - max number of iterations | |
it | - current iteration number (for recurcion) |
Definition at line 509 of file Grid.cpp.
References VF::Y().
Referenced by Grid::MakeGrid().