get_multipoles_size Function

private pure function get_multipoles_size(this)

Arguments

TypeIntentOptionalAttributesName
class(multipoles_type), intent(in) :: this

Return Value integer


Contents

Source Code


Source Code

pure integer function get_multipoles_size(this)

    class(multipoles_type), intent(in) :: this

    get_multipoles_size = (this%order + 3) * (this%order + 2) * (this%order + 1) / 6

end function get_multipoles_size