Scheme submodules More...
Modules | |
module | mod_finite_differences_scheme_fifth_o1 |
Finite Difference Schemes for the third derivative at order 3. | |
module | mod_finite_differences_scheme_fifth_o2 |
Finite Difference Schemes for the first derivative at order 5. | |
module | mod_finite_differences_scheme_first_o1 |
Finite Difference Schemes for the first derivative at order 1. | |
module | mod_finite_differences_scheme_first_o2 |
Finite Difference Schemes for the first derivative at order 2. | |
module | mod_finite_differences_scheme_first_o3 |
Finite Difference Schemes for first derivative at order 3. | |
module | mod_finite_differences_scheme_first_o4 |
Finite Difference Schemes for the first derivative at order 4. | |
module | mod_finite_differences_scheme_first_o5 |
Finite Difference Schemes for the first derivative at order 5. | |
module | mod_finite_differences_scheme_first_o6 |
Finite Difference Schemes for the first derivative at order 5. | |
module | mod_finite_differences_scheme_fourth_o1 |
Finite Difference Schemes for fourth derivative at order 1. | |
module | mod_finite_differences_scheme_fourth_o2 |
Finite Difference Schemes for the third derivative at order 3. | |
module | mod_finite_differences_scheme_fourth_o3 |
Finite Difference Schemes for the first derivative at order 5. | |
module | mod_finite_differences_scheme_second_o1 |
Finite Difference Schemes for second derivative at order 1. | |
module | mod_finite_differences_scheme_second_o2 |
Finite Difference Schemes for second derivative at order 2. | |
module | mod_finite_differences_scheme_second_o3 |
Finite Difference Schemes for second derivative at order 3. | |
module | mod_finite_differences_scheme_second_o4 |
Finite Difference Schemes for second derivative at order 4. | |
module | mod_finite_differences_scheme_second_o5 |
Finite Difference Schemes for the first derivative at order 5. | |
module | mod_finite_differences_scheme_sixth_o1 |
Finite Difference Schemes for the first derivative at order 5. | |
module | mod_finite_differences_scheme_third_o1 |
Finite Difference Schemes for second derivative at order 1. | |
module | mod_finite_differences_scheme_third_o2 |
Finite Difference Schemes for third derivative at order 2. | |
module | mod_finite_differences_scheme_third_o3 |
Finite Difference Schemes for the third derivative at order 3. | |
module | mod_finite_differences_scheme_third_o4 |
Finite Difference Schemes for the first derivative at order 5. | |
module | mod_finite_differences_scheme_zero |
Finite Difference Schemes for the zero'th derivative (the value) | |
module | mod_finite_differences_weno_scheme_first_o2z |
Finite Difference Weno Scheme for first derivative at order 2Z. | |
module | mod_finite_differences_weno_scheme_first_o3 |
Finite Difference Weno Scheme for first derivative at order 3. | |
module | mod_finite_differences_weno_scheme_first_o3z |
Finite Difference Weno Scheme for first derivative at order 3Z. | |
module | mod_finite_differences_weno_scheme_first_o5 |
Finite Difference Weno Scheme for first derivative at order 5. | |
module | mod_finite_differences_weno_scheme_first_o5z |
Finite Difference Weno Scheme for first derivative at order 5Z. | |
All the instances of schemes are (and has to be) created with the procedure fd_initialize()
Schemes are used to directly or indirectly build FD schemes:
scheme_builder_non_uniform
interface. To do so, simply write a function that simply:fd_scheme%declare_stencil
member routine)fd_scheme%stencilweight
arrayfd_scheme
Derivative | Order | Type | Name | Definition |
---|---|---|---|---|
First | 1 | Backward | t_fd_scheme_first_o1_backward | \( \frac{\phi_{i}-\phi_{i-1}}{\Delta x} \) |
First | 1 | Forward | t_fd_scheme_first_o1_forward | \( \frac{\phi_{i-1}-\phi_{i}}{\Delta x} \) |
First | 2 | Backward | t_fd_scheme_first_o2_backward | \( \frac{\phi_{i-2}-4\phi_{i-1}+3\phi_{i}}{2 \Delta x} \) |
First | 2 | Centered | fd_scheme_first_o2_centered | \( \frac{\phi_{i+1}-\phi_{i-1}}{2 \Delta x} \) |
First | 2 | Forward | t_fd_scheme_first_o2_forward | \( \frac{-\phi_{i+2}+4\phi_{i+1}-3\phi_{i}}{2 \Delta x} \) |
Second | 2 | Centered | fd_scheme_second_o2_centered | \( \frac{\phi_{i+1}-2\phi_{i}+\phi_{i-1}}{\Delta x^2} \) |