initialize_holder_sphs Module Subroutine

module subroutine initialize_holder_sphs(self, input, i_material)

Arguments

Type IntentOptional Attributes Name
class(holder_sphs), intent(inout) :: self
type(type_input), intent(in) :: input
integer(kind=int32), intent(in) :: i_material

Called by

proc~~initialize_holder_sphs~~CalledByGraph proc~initialize_holder_sphs initialize_holder_sphs interface~initialize_holder_sphs holder_sphs%initialize_holder_sphs interface~initialize_holder_sphs->proc~initialize_holder_sphs

Source Code

    module subroutine initialize_holder_sphs(self, input, i_material)
        implicit none
        class(holder_sphs), intent(inout) :: self
        type(type_input), intent(in) :: input
        integer(int32), intent(in) :: i_material

        select case (input%basic%materials(i_material)%phase)
        case (3)
            self%p = type_sph_3phase(input, i_material)
        end select

    end subroutine initialize_holder_sphs