geometry_m Module


Uses

  • module~~geometry_m~~UsesGraph module~geometry_m geometry_m module~vector_m vector_m module~geometry_m->module~vector_m

Used by

  • module~~geometry_m~~UsedByGraph module~geometry_m geometry_m program~cellcentercalc_test cellCenterCalc_test program~cellcentercalc_test->module~geometry_m program~geometry_test geometry_test program~geometry_test->module~geometry_m

Contents


Functions

public function volume_tetra(vertices) result(volume)

テトラの体積計算。

Arguments

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

Return Value real

public function insideJudgment_tetra(vertices, point) result(isInside)

任意の点がテトラの内部にあるかどうかを判定する。 点でテトラを分割したそれぞれの体積の和が、元々のテトラの体積を上回れば、点はテトラ外部にある。 https://matcha-choco010.net/2018/03/14/point-in-tetrahedron/

Arguments

Type IntentOptional Attributes Name
real, intent(in) :: vertices(3,4)
real, intent(in) :: point(3)

Return Value logical


Subroutines

public subroutine insideJudgment_tetra_check(vertices, point, vol_sum, volume)

テトラの内外判定の内部処理確認用サブルーチン

Arguments

Type IntentOptional Attributes Name
real, intent(in) :: vertices(3,4)
real, intent(in) :: point(3)
real, intent(out) :: vol_sum

分割体積和

real, intent(out) :: volume

テトラ体積