VERB_code_2.3
|
#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.
Macros | |
#define | maxERR 1.e-6 |
Functions | |
double | find_alpha (double RHS, double alpha_min, double alpha_max, double ERR, int max_it, int it) |
Grids, grid elements and boundary conditions source.
Definition in file Grid.cpp.
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.. Used in grid-building.
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 recursion) |