Allocate and initialize auxiliary variable at zeta position.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(t_hmap_cyl), | intent(in) | :: | sf | |||
| real(kind=wp), | intent(in) | :: | zeta | |||
| logical, | intent(in) | :: | do_2nd_der |
compute second derivative and store second derivative terms |
FUNCTION hmap_cyl_init_aux( sf,zeta,do_2nd_der) RESULT(xv) IMPLICIT NONE !----------------------------------------------------------------------------------------------------------------------------------- ! INPUT VARIABLES CLASS(t_hmap_cyl),INTENT(IN) :: sf REAL(wp) ,INTENT(IN) :: zeta LOGICAL , INTENT(IN) :: do_2nd_der !! compute second derivative and store second derivative terms !----------------------------------------------------------------------------------------------------------------------------------- ! OUTPUT VARIABLES TYPE(t_hmap_cyl_auxvar)::xv !----------------------------------------------------------------------------------------------------------------------------------- ! LOCAL VARIABLES INTEGER :: i !=================================================================================================================================== xv%do_2nd_der=do_2nd_der xv%zeta=zeta END FUNCTION hmap_cyl_init_aux