public function tdsops_init(n_tds, delta, operation, scheme, bc_start, bc_end, stretch, stretch_correct, n_halo, from_to, sym, c_nu, nu0_nu, filter_alpha) result(tdsops)
Constructor function for the tdsops_t class.
'n_tds', 'delta', 'operation', 'scheme', 'bc_start', and 'bc_end' are
necessary arguments. The remaining arguments are optional.
'stretch' is for obtaining the correct derivations in a stretched mesh
'stretch_correct' is for correcting the second derivative with the first
'from_to' is necessary for interpolation and staggered derivative, and
it can be 'v2p' or 'p2v'.
If the specific region the instance is operating is not a boundary
region, then 'bc_start' and 'bc_end' are BC_HALO.
'sym' is relevant when the BC is free-slip. If sym is .true. then it
means the field we operate on is assumed to be an even function
(symmetric, cos type) across the boundary. If it is .false. it means
the field is assumed to be an odd function (anti-symmetric, sin type).
'c_nu', 'nu0_nu' are relevant when operation is second order
derivative and scheme is compact6-hyperviscous.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.