VERB_code_2.2  2
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
Grid.cpp File Reference
#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)
 

Detailed Description

Grids, grid elements and boundary conditions source.

Author
Developed under supervision of the PI Yuri Shprits

Definition in file Grid.cpp.

Macro Definition Documentation

#define maxERR   1.e-6

Definition at line 18 of file Grid.cpp.

Function Documentation

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-bilding.

Parameters
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 396 of file Grid.cpp.

References VF::Y().