VERB_code_2.3
Grid.h File Reference
#include <string>
#include "../Matrix/Matrix.h"
#include "../Parameters/Parameters.h"
#include "../VariousFunctions/variousFunctions.h"
#include "Grid.h"
#include "BoundaryConditions.h"

Go to the source code of this file.

Classes

class  GridElement
 Array of values of coordinate axes. More...
 
class  Grid
 Computational grid composed of 3 different GridElement. More...
 

Functions

double find_alpha (double RHS, double alpha_min, double alhpa_max, double ERR=1e-12, int max_it=100, int it=0)
 

Detailed Description

Grids, grid elements and boundary conditions headers.

Author
Developed under supervision of the PI Yuri Shprits

Definition in file Grid.h.

Function Documentation

double find_alpha ( double  RHS,
double  alpha_min,
double  alpha_max,
double  ERR,
int  max_it,
int  it 
)

Root finding function, used in grid construction.

Function finds alpha-root of equation Y(alpha)/sin(alpha) = RHS.. Used in grid-building.

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 recursion)

Definition at line 401 of file Grid.cpp.