Returns a product of a domain instance and a real number.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(domain_type), | intent(in) | :: | self | l.h.s. domain instance |
||
real(kind=rk), | intent(in) | :: | a | r.h.s. real number |
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.
pure elemental type(domain_type) function domain_mult_real(self,a)&
result(domain)
!! Returns a product of a domain instance and a real number.
class(domain_type),intent(in) :: self !! l.h.s. domain instance
real(kind=rk),intent(in) :: a !! r.h.s. real number
domain = self
domain = self % getSpectrum() * a
endfunction domain_mult_real