Grid module. More...
Public Member Functions | |
| subroutine | init_grid |
| Finite volume grid initialization. More... | |
| subroutine | interp_1d_scalar (x1, f1, x2, f2) |
| Scalar interpolation. More... | |
| real *8 function | batimetry_function (x) |
| Batimetry function. More... | |
Public Attributes | |
| real *8, dimension(:), allocatable | x_comp |
| Location of the centers of the control volume of the domain. More... | |
| real *8, dimension(:), allocatable | x_stag |
| Location of the boundaries of the control volumes of the domain. More... | |
| real *8, dimension(:), allocatable | b_stag |
| Batimetry at the boundaries of the control volumes. More... | |
| real *8, dimension(:), allocatable | b_cent |
| Batimetry at the centers of the control volumes. More... | |
| real *8, dimension(:), allocatable | b_prime |
| Batimetry slope at the centers of the control volumes. More... | |
| real *8, dimension(:,:), allocatable | batimetry_profile |
| integer | n_batimetry_profile |
| real *8 | dx |
| Control volumes size. More... | |
| real *8 | x0 |
| Left (bottom) of the physical domain. More... | |
| real *8 | xn |
| Right (top) of the physical domain. More... | |
| integer | comp_cells |
| Number of control volumes in the comp. domain. More... | |
| integer | comp_interfaces |
| Number of interfaces (comp_cells+1) More... | |
Grid module.
This module contains the variables and the subroutines related to the computational grid
Definition at line 7 of file geometry.f90.
| real*8 function geometry::batimetry_function | ( | real*8, intent(in) | x | ) |
Batimetry function.
This subroutine generates a point of the batimetry from the input x grid point
| x | original grid (input) |
Definition at line 206 of file geometry.f90.

| subroutine geometry::init_grid | ( | ) |
Finite volume grid initialization.
This subroutine initialize the grids for the finite volume solver.
Definition at line 47 of file geometry.f90.


| subroutine geometry::interp_1d_scalar | ( | real*8, dimension(:), intent(in) | x1, |
| real*8, dimension(:), intent(in) | f1, | ||
| real*8, intent(in) | x2, | ||
| real*8, intent(out) | f2 | ||
| ) |
Scalar interpolation.
This subroutine interpolate the values of the array f1, defined on the grid points x1, at the point x2. The value are saved in f2
| x1 | original grid (input) |
| f1 | original values (input) |
| x2 | new point (output) |
| f2 | interpolated value (output) |
Definition at line 154 of file geometry.f90.

| real*8, dimension(:), allocatable geometry::b_cent |
Batimetry at the centers of the control volumes.
Definition at line 23 of file geometry.f90.
| real*8, dimension(:), allocatable geometry::b_prime |
Batimetry slope at the centers of the control volumes.
Definition at line 26 of file geometry.f90.
| real*8, dimension(:), allocatable geometry::b_stag |
Batimetry at the boundaries of the control volumes.
Definition at line 20 of file geometry.f90.
| real*8, dimension(:,:), allocatable geometry::batimetry_profile |
Definition at line 28 of file geometry.f90.
| integer geometry::comp_cells |
Number of control volumes in the comp. domain.
Definition at line 35 of file geometry.f90.
| integer geometry::comp_interfaces |
Number of interfaces (comp_cells+1)
Definition at line 36 of file geometry.f90.
| real*8 geometry::dx |
Control volumes size.
Definition at line 32 of file geometry.f90.
| integer geometry::n_batimetry_profile |
Definition at line 30 of file geometry.f90.
| real*8 geometry::x0 |
Left (bottom) of the physical domain.
Definition at line 33 of file geometry.f90.
| real*8, dimension(:), allocatable geometry::x_comp |
Location of the centers of the control volume of the domain.
Definition at line 14 of file geometry.f90.
| real*8, dimension(:), allocatable geometry::x_stag |
Location of the boundaries of the control volumes of the domain.
Definition at line 17 of file geometry.f90.
| real*8 geometry::xn |
Right (top) of the physical domain.
Definition at line 34 of file geometry.f90.
1.8.7