version 0.6.0
Loading...
Searching...
No Matches
mod_get_discrete_derivative Module Reference

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
 

Detailed Description

The Discrete Derivatives dictionnary

Function/Subroutine Documentation

◆ get_dd()

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 )
Parameters
[in]Nthe N'th derivative
[in]orderthe order of the derivative
[in]stepsthe spatial steps of the stencil
Returns
a copy of the DD (which is less efficient than the subroutine get_dd_pointer)

◆ get_dd_pointer()

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 Nth derivative of the given order with the associated steps.

Parameters
[in]Nthe N'th derivative
[in]orderthe order of the derivative
[in]stepsthe spatial steps of the stencil
[in,out]resthe resulting DD pointer
Returns
a pointer to the DD (which is more efficient than the subroutine get_dd)

Variable Documentation

◆ max_derivative

integer, parameter mod_get_discrete_derivative::max_derivative = 8
See also
Schemes

◆ max_order

integer, parameter mod_get_discrete_derivative::max_order = 8
See also
Schemes