Grid.cpp File Reference

Grids, grid elements and boundary conditions source. More...

#include <iostream>
#include <iomanip>
#include "Grid.h"
#include <math.h>
#include "../VariousFunctions/variousFunctions.h"
#include "../Exceptions/error.h"

Include dependency graph for Grid.cpp:

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.


Detailed Description

Grids, grid elements and boundary conditions source.

Author:
Developed under supervision of the PI Yuri Shprits

Definition in file Grid.cpp.


Define Documentation

#define maxERR   1.e-6

Definition at line 18 of file Grid.cpp.

Referenced by Grid::MakeGrid().


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.

Root finding function, used in grid construction.

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

References VF::Y().

Referenced by Grid::MakeGrid().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Thu May 27 11:53:19 2010 for VERB_CODE_2.0 by  doxygen 1.5.9