Create interpolator.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(interpolator_js), | intent(inout) | :: | self | Interpolator. |
||
class(base_object_constructor), | intent(in) | :: | constructor | Constructor. |
subroutine create(self, constructor)
!< Create interpolator.
class(interpolator_js), intent(inout) :: self !< Interpolator.
class(base_object_constructor), intent(in) :: constructor !< Constructor.
call self%destroy
call self%interpolator%create(constructor=constructor)
select type(constructor)
type is(interpolator_js_constructor)
self%S = constructor%S
self%eps = constructor%eps
endselect
endsubroutine create