vector_m Module

ベクトル(3要素の配列)を扱うモジュール


Used by

  • module~~vector_m~~UsedByGraph module~vector_m vector_m module~geometry_m geometry_m module~geometry_m->module~vector_m module~unstructuredgrid_m unstructuredGrid_m module~unstructuredgrid_m->module~vector_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~geometry_m program~cellcentercalc_test->module~unstructuredgrid_m program~geometry_test geometry_test program~geometry_test->module~geometry_m program~kdtree_test kdTree_test program~kdtree_test->module~unstructuredgrid_m module~dropletmotionsimulation dropletMotionSimulation module~dropletmotionsimulation->module~flow_field_m program~main MAIN program~main->module~dropletmotionsimulation

Contents


Interfaces

public interface cross_product

ベクトルの外積を返す

  • private function cross_product_dble(a, b) result(cross)

    Arguments

    Type IntentOptional Attributes Name
    double precision, intent(in) :: a(3)
    double precision, intent(in) :: b(3)

    Return Value double precision, (3)

  • private function cross_product_real(a, b) result(cross)

    Arguments

    Type IntentOptional Attributes Name
    real, intent(in) :: a(3)
    real, intent(in) :: b(3)

    Return Value real, (3)

public interface normalize_vector

単位ベクトルを返す

  • private function normalize_vector_dble(a) result(normalized)

    Arguments

    Type IntentOptional Attributes Name
    double precision, intent(in) :: a(3)

    Return Value double precision, (3)

  • private function normalize_vector_real(a) result(normalized)

    Arguments

    Type IntentOptional Attributes Name
    real, intent(in) :: a(3)

    Return Value real, (3)


Functions

public function norm2_squared(a)

ベクトルのL2ノルムの2乗を返す 組み込み関数norm2より約5倍速い(かも)

Arguments

Type IntentOptional Attributes Name
real, intent(in) :: a(3)

Return Value real