EMPIRE DA  v1.9.1
Data assimilation codes using EMPIRE communication
 All Classes Files Functions Variables Pages
loc_function.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine loc_function (loctype, dis, scal, inc)
 subroutine to compute a localisation weighting based on a distance More...
 

Function/Subroutine Documentation

subroutine loc_function ( integer, intent(in)  loctype,
real(kind=rk), intent(in)  dis,
real(kind=rk), intent(out)  scal,
logical, intent(out)  inc 
)

subroutine to compute a localisation weighting based on a distance

Todo:
include multiple localisation functions such as Gaspari-Cohn ones
Parameters
[in]loctypethe choice of localisation function
[in]disthe input distance
[out]scalthe localisation weighting to use
[out]inclogical signifying whether to compute with this sized weight or not.

Definition at line 31 of file loc_function.f90.

Here is the caller graph for this function: