tem_math_module Module

Some generic matrix and vector function


Uses

  • module~~tem_math_module~~UsesGraph module~tem_math_module tem_math_module module~tem_logging_module tem_logging_module module~tem_math_module->module~tem_logging_module module~tem_matrix_module tem_matrix_module module~tem_math_module->module~tem_matrix_module module~tem_aux_module tem_aux_module module~tem_math_module->module~tem_aux_module module~env_module env_module module~tem_math_module->module~env_module module~tem_logging_module->module~env_module module~aotus_module aotus_module module~tem_logging_module->module~aotus_module module~aot_table_module aot_table_module module~tem_logging_module->module~aot_table_module module~tem_matrix_module->module~tem_logging_module module~tem_matrix_module->module~tem_aux_module module~tem_matrix_module->module~env_module module~tem_dyn_array_module tem_dyn_array_module module~tem_matrix_module->module~tem_dyn_array_module module~tem_float_module tem_float_module module~tem_matrix_module->module~tem_float_module module~tem_debug_module tem_debug_module module~tem_matrix_module->module~tem_debug_module module~tem_grow_array_module tem_grow_array_module module~tem_matrix_module->module~tem_grow_array_module module~tem_param_module tem_param_module module~tem_matrix_module->module~tem_param_module module~tem_aux_module->module~tem_logging_module module~tem_aux_module->module~env_module module~tem_revision_module tem_revision_module module~tem_aux_module->module~tem_revision_module module~tem_tools_module tem_tools_module module~tem_aux_module->module~tem_tools_module module~tem_aux_module->module~aotus_module module~flu_binding flu_binding module~tem_aux_module->module~flu_binding module~tem_lua_requires_module tem_lua_requires_module module~tem_aux_module->module~tem_lua_requires_module module~tem_aux_module->module~aot_table_module mpi mpi module~tem_aux_module->mpi module~tem_comm_env_module tem_comm_env_module module~tem_aux_module->module~tem_comm_env_module iso_fortran_env iso_fortran_env module~env_module->iso_fortran_env module~env_module->module~aotus_module module~env_module->module~flu_binding module~env_module->mpi module~tem_tools_module->module~env_module module~tem_lua_requires_module->module~env_module module~tem_lua_requires_module->module~aotus_module module~tem_lua_requires_module->module~flu_binding module~tem_lua_requires_module->module~aot_table_module iso_c_binding iso_c_binding module~tem_lua_requires_module->iso_c_binding module~tem_dyn_array_module->module~env_module module~tem_float_module->module~env_module module~tem_debug_module->module~tem_logging_module module~tem_debug_module->module~env_module module~tem_debug_module->module~tem_tools_module module~tem_debug_module->module~flu_binding module~tem_debug_module->module~aot_table_module module~tem_grow_array_module->module~env_module module~tem_param_module->module~env_module module~tem_comm_env_module->mpi

Used by

  • module~~tem_math_module~~UsedByGraph module~tem_math_module tem_math_module module~tem_surfacedata_module tem_surfaceData_module module~tem_surfacedata_module->module~tem_math_module module~tem_stlb_io_module tem_stlb_io_module module~tem_surfacedata_module->module~tem_stlb_io_module module~tem_triangle_module tem_triangle_module module~tem_triangle_module->module~tem_math_module module~tem_stlb_io_module->module~tem_math_module module~tem_plane_module tem_plane_module module~tem_plane_module->module~tem_math_module module~tem_plane_module->module~tem_triangle_module module~tem_line_module tem_line_module module~tem_line_module->module~tem_math_module module~tem_line_module->module~tem_triangle_module module~tem_stl_module tem_stl_module module~tem_stl_module->module~tem_triangle_module module~tem_stl_module->module~tem_stlb_io_module module~tem_shape_module tem_shape_module module~tem_shape_module->module~tem_triangle_module module~tem_shape_module->module~tem_stl_module module~tem_cylinder_module tem_cylinder_module module~tem_shape_module->module~tem_cylinder_module module~tem_canonicalnd_module tem_canonicalND_module module~tem_shape_module->module~tem_canonicalnd_module module~tem_cylinder_module->module~tem_line_module module~tem_box_module tem_box_module module~tem_box_module->module~tem_plane_module module~tem_canonicalnd_module->module~tem_plane_module module~tem_canonicalnd_module->module~tem_line_module module~tem_canonicalnd_module->module~tem_box_module module~tem_subtree_module tem_subTree_module module~tem_subtree_module->module~tem_shape_module module~hvs_ascii_module hvs_ascii_module module~hvs_ascii_module->module~tem_shape_module module~tem_spatial_module tem_spatial_module module~tem_spatial_module->module~tem_shape_module module~tem_spatial_module->module~tem_canonicalnd_module module~tem_spacetime_fun_module tem_spacetime_fun_module module~tem_spacetime_fun_module->module~tem_shape_module module~tem_tracking_module tem_tracking_module module~tem_tracking_module->module~tem_shape_module module~hvs_output_module hvs_output_module module~hvs_output_module->module~tem_shape_module module~tem_convergence_module tem_convergence_module module~tem_convergence_module->module~tem_shape_module

Contents


Interfaces

public interface tem_intp_trilinearReduced

  • private function tem_intp_trilinearReduced_scal(srcVal, targetCoord) result(phi)

    This function returns the tri-linearly interpolated values from the seven source points to the target position located at targetCoord. The source points are arranged in a square from (0,0,0)x(1,1,1) The order of the source points are according to the morton curve

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=rk), intent(in) :: srcVal(7)

    source values of the square corners

    real(kind=rk), intent(in) :: targetCoord(3)

    interpolation location within the square

    Return Value real(kind=rk)

    interpolated value

  • private function tem_intp_trilinearReduced_vect(srcVal, targetCoord, nSize) result(phi)

    This function returns the tri-linearly interpolated values from the seven source points to the target position located at targetCoord. The source points are arranged in a square from (0,0,0)x(1,1,1) The order of the source points are according to the morton curve

    Read more…

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=rk), intent(in) :: srcVal(nSize,7)

    source values of the square corners

    real(kind=rk), intent(in) :: targetCoord(3)

    interpolation location within the square

    integer, intent(in) :: nSize

    vector size

    Return Value real(kind=rk)(nSize)

    interpolated value


Functions

public pure function cross_product3D(a, b) result(cross)

This function calculate the cross product of two 3D vector

Arguments

TypeIntentOptionalAttributesName
real(kind=rk), intent(in) :: a(3)

input vector a

real(kind=rk), intent(in) :: b(3)

input vector b

Return Value real(kind=rk)(3)

resulting cross produkt

public function inamuroDelta3D(r, dx) result(res)

This function calculates the delta function used in the paper of Ota et al. [7] (bibliography of treelm) for a vector by multiplying the results of the 1D version.

Arguments

TypeIntentOptionalAttributesName
real(kind=rk), intent(in) :: r(3)

input point coordinates

real(kind=rk), intent(in) :: dx

spatial discretization

Return Value real(kind=rk)

resulting value of the 3D delta function

private function tem_intp_trilinearReduced_scal(srcVal, targetCoord) result(phi)

This function returns the tri-linearly interpolated values from the seven source points to the target position located at targetCoord. The source points are arranged in a square from (0,0,0)x(1,1,1) The order of the source points are according to the morton curve

Arguments

TypeIntentOptionalAttributesName
real(kind=rk), intent(in) :: srcVal(7)

source values of the square corners

real(kind=rk), intent(in) :: targetCoord(3)

interpolation location within the square

Return Value real(kind=rk)

interpolated value

private function tem_intp_trilinearReduced_vect(srcVal, targetCoord, nSize) result(phi)

This function returns the tri-linearly interpolated values from the seven source points to the target position located at targetCoord. The source points are arranged in a square from (0,0,0)x(1,1,1) The order of the source points are according to the morton curve

Read more…

Arguments

TypeIntentOptionalAttributesName
real(kind=rk), intent(in) :: srcVal(nSize,7)

source values of the square corners

real(kind=rk), intent(in) :: targetCoord(3)

interpolation location within the square

integer, intent(in) :: nSize

vector size

Return Value real(kind=rk)(nSize)

interpolated value

private function inamuroDelta1D(r) result(res)

This function calculates the delta function used in the paper of Ota et al. [7] (bibliography of treelm) for a single value.

Arguments

TypeIntentOptionalAttributesName
real(kind=rk), intent(in) :: r

input point coordinate

Return Value real(kind=rk)

resulting value of the 1D delta function