Creation of a diffengine instance and differentiation using its diff type bound procedure is currently only tested with boundary boundary conditions.
A test for differentiation using currently implemented dirichlet boundary schemes (see src/stencil_definitions.f90) would presumably look very similar to the current test, with the exception of the object creation:
Testing second order derivation would also look very similar except for the order dummy argument to the diffengine constructor.
! Creates a diffengine for periodic second order differentiation
! with 6th order compact scheme.
diffeng = diffengine_t("compact6", length=n, order=2, dx=dx)
Creation of a
diffengine
instance and differentiation using itsdiff
type bound procedure is currently only tested with boundary boundary conditions.A test for differentiation using currently implemented dirichlet boundary schemes (see src/stencil_definitions.f90) would presumably look very similar to the current test, with the exception of the object creation:
Testing second order derivation would also look very similar except for the
order
dummy argument to thediffengine
constructor.