hasty_key_morton Module

module~~hasty_key_morton~~UsesGraph module~hasty_key_morton hasty_key_morton module~penf penf module~penf->module~hasty_key_morton module~hasty_key_base hasty_key_base module~penf->module~hasty_key_base module~hasty_key_base->module~hasty_key_morton module~penf_global_parameters_variables penf_global_parameters_variables module~penf_global_parameters_variables->module~penf module~penf_b_size penf_b_size module~penf_global_parameters_variables->module~penf_b_size module~penf_stringify penf_stringify module~penf_global_parameters_variables->module~penf_stringify module~penf_b_size->module~penf module~penf_b_size->module~penf_stringify module~penf_stringify->module~penf iso_fortran_env iso_fortran_env iso_fortran_env->module~penf_stringify
Help

HASTY Morton (Z-order) key class.

Used By

module~~hasty_key_morton~~UsedByGraph module~hasty_key_morton hasty_key_morton module~hasty hasty module~hasty_key_morton->module~hasty program~hasty_test_caf_basic hasty_test_caf_basic module~hasty->program~hasty_test_caf_basic program~hasty_test_hash_table_homo hasty_test_hash_table_homo module~hasty->program~hasty_test_hash_table_homo program~hasty_test_hash_table_homocontent_failure hasty_test_hash_table_homocontent_failure module~hasty->program~hasty_test_hash_table_homocontent_failure program~hasty_test_caf_get_clone hasty_test_caf_get_clone module~hasty->program~hasty_test_caf_get_clone program~hasty_test_hash_table_homokey_failure hasty_test_hash_table_homokey_failure module~hasty->program~hasty_test_hash_table_homokey_failure program~hasty_test_dictionary hasty_test_dictionary module~hasty->program~hasty_test_dictionary program~hasty_test_hash_table hasty_test_hash_table module~hasty->program~hasty_test_hash_table
Help


Derived Types

type, public, extends(key_base) :: key_morton

Morton (Z-order) key class to identify a node.

Components

TypeVisibility AttributesNameInitial
integer(kind=I8P), public :: key =0_I8P

The key.

Type-Bound Procedures

procedure, public, pass(self) :: hash

Hash the key.

procedure, public, pass(self) :: id

Return the id.

procedure, public, nopass :: is_key_allowed

Typeguard for used key.

procedure, public, pass(self) :: set

Set the key.

generic, public :: operator(==) => is_equal

Overloading == operator.

procedure, public, pass(self) :: destroy

Destroy the key.

procedure, public, pass(self) :: stringify

Return a string representation of the key.

procedure, private, pass(lhs) :: is_equal

Implement == operator.


Functions

private pure function stringify(self) result(str_key)

Return a string representation of the key.

Arguments

Type IntentOptional AttributesName
class(key_morton), intent(in) :: self

The key.

Return Value character(len=:), allocatable

The key stringified.

private elemental function is_equal(lhs, rhs)

Implement == operator.

Arguments

Type IntentOptional AttributesName
class(key_morton), intent(in) :: lhs

Left hand side.

class(*), intent(in) :: rhs

Rigth hand side.

Return Value logical


Subroutines

private elemental subroutine destroy(self)

Destroy the key.

Arguments

Type IntentOptional AttributesName
class(key_morton), intent(inout) :: self

The key.