0.6.0
Loading...
Searching...
No Matches
mod_grid_generator Module Reference

Data Types

interface  function_interface
 

Functions/Subroutines

subroutine, public initialize_grid_generator (coordg_fx, coordg_fy, coordg_fz)
 Allocate 3 directional grids.
 
subroutine, public grid_generate_regular (cell_range, coordinate_range, coordg)
 Generate a regular grid.
 
subroutine, public grid_generate_chebyshev (cell_range, coordinate_range, coordg)
 Generate a Chebyshev grid.
 
subroutine, public grid_generate_exponential (cell_range, coordinate_range, expansion_ratio, coordg)
 Generate an exponential grid from the expansion ratio.
 
subroutine, public grid_generate_exponential2 (cell_range, coordinate_range, first_step, reverse, coordg)
 Generate an exponential grid from the first step.
 
pure subroutine safeguarded_newton_raphson (root, f, f_derivative, inf, sup, max_iter, tolerance)
 
subroutine, public read_grid_dimensions_from_file (filename)
 Create a grid from a file.
 
subroutine, public create_grid_from_file (coordg_fx, coordg_fy, coordg_fz, filename)
 Create a grid from a file.
 
subroutine, public complete_grid_structure (coordg_fx, coordg_fy, coordg_fz)
 Compute coordinates and spatial steps using global face coordinates.
 

Function/Subroutine Documentation

◆ safeguarded_newton_raphson()

pure subroutine mod_grid_generator::safeguarded_newton_raphson ( double precision, intent(inout) root,
procedure(function_interface) f,
procedure(function_interface) f_derivative,
double precision, intent(in) inf,
double precision, intent(in) sup,
integer, intent(in) max_iter,
double precision, intent(in) tolerance )
private