MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
gasprop.f90
Go to the documentation of this file.
1 
7 module gasprop
8  use constants
9  implicit none
10  private
11  public abscoeffgas
12 contains
13 !********************************BEGINNING*************************************
15 real(dp) function abscoeffgas(lambda)
16  use interpolation
17  real(dp), intent(in) :: lambda
18  integer :: ni=1 !number of points, where we want to interpolate
19  real(dp) :: xi(1) !x-values of points, where we want to interpolate
20  real(dp) :: yi(1) !interpolated y-values
21  xi(1)=lambda
22  call pwl_interp_1d ( size(lambdagas), lambdagas, acgas, ni, xi, yi )
23  abscoeffgas=yi(1)
24 end function abscoeffgas
25 !***********************************END****************************************
26 end module gasprop