Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | Ks | |||
real(kind=real64), | intent(in) | :: | alpha1 | |||
real(kind=real64), | intent(in) | :: | n1 | |||
real(kind=real64), | intent(in) | :: | w1 | |||
real(kind=real64), | intent(in) | :: | n2 | |||
real(kind=real64), | intent(in) | :: | l | |||
real(kind=real64), | intent(in) | :: | Omega | |||
integer(kind=int32), | intent(in) | :: | nsize |
module function Construct_Type_HCF_Base_Impedance_DVGCH(Ks, alpha1, n1, w1, n2, l, Omega, nsize) result(structure_HCF) implicit none real(real64), intent(in) :: Ks real(real64), intent(in) :: alpha1 real(real64), intent(in) :: n1 real(real64), intent(in) :: w1 real(real64), intent(in) :: n2 real(real64), intent(in) :: l real(real64), intent(in) :: Omega integer(int32), intent(in) :: nsize class(Abstract_HCF), allocatable :: structure_HCF if (allocated(structure_HCF)) deallocate (structure_HCF) allocate (Type_HCF_Base_Impedance_DVGCH :: structure_HCF) select type (this => structure_HCF) type is (Type_HCF_Base_Impedance_DVGCH) this%Ks = Ks this%alpha1 = alpha1 this%n1 = n1 this%m1 = 1.0d0 - 1.0d0 / n1 this%w1 = w1 this%n2 = n2 this%m2 = 1.0d0 - 1.0d0 / n2 this%w2 = 1.0d0 - w1 this%l = l this%Omega = Omega this%nsize = nsize call Allocate_Array(this%Kflh, nsize) this%Kflh(:) = 0.0d0 end select end function Construct_Type_HCF_Base_Impedance_DVGCH