new_hex_cubic Function

private pure function new_hex_cubic(q, r, s) result(H)

Safe cubic constructor for the hex type featuring an assertion on input coordinates before the initialization of the object

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: q
integer, intent(in) :: r
integer, intent(in) :: s

Return Value type(hex)


Calls

proc~~new_hex_cubic~~CallsGraph proc~new_hex_cubic hex_coordinates::new_hex_cubic assert assert proc~new_hex_cubic->assert

Called by

proc~~new_hex_cubic~~CalledByGraph proc~new_hex_cubic hex_coordinates::new_hex_cubic interface~hex hex_coordinates::hex interface~hex->proc~new_hex_cubic