3 #include "sll_assert.h"
23 procedure :: velocity_field => s_singular_mapping_advector_constant__velocity_field
24 procedure :: flow_field => f_singular_mapping_advector_constant__flow_field
35 real(wp),
intent(in) :: a(2)
42 sll_pure
subroutine s_singular_mapping_advector_constant__velocity_field(self, x, a)
44 real(wp),
intent(in) :: x(2)
45 real(wp),
intent(out) :: a(2)
49 end subroutine s_singular_mapping_advector_constant__velocity_field
52 sll_pure
function f_singular_mapping_advector_constant__flow_field(self, x, h)
result(y)
54 real(wp),
intent(in) :: x(2)
55 real(wp),
intent(in) :: h
58 y(:) = x(:) + self%a(:)*h
60 end function f_singular_mapping_advector_constant__flow_field
subroutine s_singular_mapping_advector_constant__free(self)
subroutine s_singular_mapping_advector_constant__init(self, a)
Module to select the kind parameter.
integer, parameter, public f64
f64 is the kind type for 64-bit reals (double precision)