Integrates a domain instance forward in time using the exact exponential.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(domain_type), | intent(in) | :: | initial | Initial spectrum instance |
||
type(domain_type), | intent(in) | :: | tendency | Spectrum tendency instance |
||
real(kind=rk), | intent(in) | :: | dt | Time step [s] |
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.
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 exact_exponential_domain(initial,&
tendency,dt) result(domain)
!! Integrates a domain instance forward in time using the exact exponential.
type(domain_type),intent(in) :: initial !! Initial spectrum instance
type(domain_type),intent(in) :: tendency !! Spectrum tendency instance
real(kind=rk),intent(in) :: dt !! Time step [s]
domain = initial
domain = exact_exponential(initial % getSpectrum(),&
tendency % getSpectrum(),dt)
endfunction exact_exponential_domain