sort_m Module

ソートモジュール


Used by

  • module~~sort_m~~UsedByGraph module~sort_m sort_m module~kdtree_m kdTree_m module~kdtree_m->module~sort_m program~sort_test sort_test program~sort_test->module~sort_m module~unstructuredgrid_m unstructuredGrid_m module~unstructuredgrid_m->module~kdtree_m program~kdtree_test kdTree_test program~kdtree_test->module~kdtree_m program~kdtree_test->module~unstructuredgrid_m module~flow_field_m flow_field_m module~flow_field_m->module~unstructuredgrid_m program~boxflowfield boxFlowField program~boxflowfield->module~unstructuredgrid_m program~cellcentercalc_test cellCenterCalc_test program~cellcentercalc_test->module~unstructuredgrid_m module~dropletmotionsimulation dropletMotionSimulation module~dropletmotionsimulation->module~flow_field_m program~main MAIN program~main->module~dropletmotionsimulation

Contents


Derived Types

type, public ::  content_t

コンテンツ構造体 実数とIDをメンバに持つ

Components

Type Visibility Attributes Name Initial
integer, public :: originID
real, public :: value

Functions

public function heap_sort(array_origin) result(array_sorted)

ヒープソート

Arguments

Type IntentOptional Attributes Name
type(content_t), intent(in) :: array_origin(:)

Return Value type(content_t), (size(array_origin))

public function real2content(real_array) result(content_array)

実数型配列をコンテンツ配列に変換する

Arguments

Type IntentOptional Attributes Name
real, intent(in) :: real_array(:)

Return Value type(content_t), allocatable, (:)

public function merge_sort(array_origin) result(array_sorted)

マージソート

Arguments

Type IntentOptional Attributes Name
type(content_t), intent(in) :: array_origin(:)

Return Value type(content_t), (size(array_origin))