Discrete derivatives dictionnary. More...
Functions/Subroutines | |
subroutine | init_dd_matrix () |
Initialize the dd matrix holder. | |
type(t_discrete_derivative) function | get_dd (n, order, steps) |
Get the Discrete Derivative This function builds the dictionnary 'on the fly', if needed. | |
subroutine | get_dd_pointer (n, order, steps, res) |
Get the pointer to the associated Discrete Derivative. | |
Variables | |
integer, parameter | max_derivative = 8 |
Maximum derivative,. | |
integer, parameter | max_order = 8 |
Maximum order,. | |
type(t_dd_dict_steps), dimension(max_derivative+1, max_order+1), target | dd_matrix |
The Discrete Derivatives dictionnary
type(t_discrete_derivative) function mod_get_discrete_derivative::get_dd | ( | integer, intent(in) | n, |
integer, intent(in) | order, | ||
double precision, dimension(:), intent(in) | steps ) |
[in] | N | the N'th derivative |
[in] | order | the order of the derivative |
[in] | steps | the spatial steps of the stencil |
subroutine mod_get_discrete_derivative::get_dd_pointer | ( | integer, intent(in) | n, |
integer, intent(in) | order, | ||
double precision, dimension(:), intent(in) | steps, | ||
type(t_discrete_derivative), intent(inout), pointer | res ) |
Returns the DD associated to the N
th derivative of the given order
with the associated steps
.
[in] | N | the N'th derivative |
[in] | order | the order of the derivative |
[in] | steps | the spatial steps of the stencil |
[in,out] | res | the resulting DD pointer |
integer, parameter mod_get_discrete_derivative::max_derivative = 8 |
integer, parameter mod_get_discrete_derivative::max_order = 8 |