tem_math_module Module

Some generic matrix and vector function


Uses

  • module~~tem_math_module~~UsesGraph module~tem_math_module tem_math_module module~env_module env_module module~tem_math_module->module~env_module module~tem_aux_module tem_aux_module module~tem_math_module->module~tem_aux_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 aotus_module aotus_module module~env_module->aotus_module flu_binding flu_binding module~env_module->flu_binding iso_fortran_env iso_fortran_env module~env_module->iso_fortran_env mpi mpi module~env_module->mpi module~tem_aux_module->module~env_module module~tem_aux_module->module~tem_logging_module aot_table_module aot_table_module module~tem_aux_module->aot_table_module module~tem_aux_module->aotus_module module~tem_aux_module->flu_binding module~soi_revision_module soi_revision_module module~tem_aux_module->module~soi_revision_module module~tem_comm_env_module tem_comm_env_module module~tem_aux_module->module~tem_comm_env_module module~tem_lua_requires_module tem_lua_requires_module module~tem_aux_module->module~tem_lua_requires_module module~tem_tools_module tem_tools_module module~tem_aux_module->module~tem_tools_module module~tem_aux_module->mpi module~tem_logging_module->module~env_module module~tem_logging_module->aot_table_module module~tem_logging_module->aotus_module module~tem_matrix_module->module~env_module module~tem_matrix_module->module~tem_aux_module module~tem_matrix_module->module~tem_logging_module module~tem_debug_module tem_debug_module module~tem_matrix_module->module~tem_debug_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_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_comm_env_module->mpi module~tem_debug_module->module~env_module module~tem_debug_module->module~tem_logging_module module~tem_debug_module->aot_table_module module~tem_debug_module->flu_binding module~tem_debug_module->module~tem_tools_module module~tem_dyn_array_module->module~env_module module~tem_float_module->module~env_module module~tem_grow_array_module->module~env_module module~tem_lua_requires_module->module~env_module module~tem_lua_requires_module->aot_table_module module~tem_lua_requires_module->aotus_module module~tem_lua_requires_module->flu_binding iso_c_binding iso_c_binding module~tem_lua_requires_module->iso_c_binding module~tem_param_module->module~env_module module~tem_tools_module->module~env_module

Used by

  • module~~tem_math_module~~UsedByGraph module~tem_math_module tem_math_module module~tem_line_module tem_line_module module~tem_line_module->module~tem_math_module module~tem_triangle_module tem_triangle_module module~tem_line_module->module~tem_triangle_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_stlb_io_module tem_stlb_io_module module~tem_stlb_io_module->module~tem_math_module module~tem_surfacedata_module tem_surfaceData_module module~tem_surfacedata_module->module~tem_math_module module~tem_surfacedata_module->module~tem_stlb_io_module module~tem_spacetime_fun_module tem_spacetime_fun_module module~tem_surfacedata_module->module~tem_spacetime_fun_module module~tem_triangle_module->module~tem_math_module module~tem_box_module tem_box_module module~tem_box_module->module~tem_plane_module module~tem_canonicalnd_module tem_canonicalND_module module~tem_canonicalnd_module->module~tem_line_module module~tem_canonicalnd_module->module~tem_plane_module module~tem_canonicalnd_module->module~tem_box_module module~tem_cylinder_module tem_cylinder_module module~tem_cylinder_module->module~tem_line_module module~tem_shape_module tem_shape_module module~tem_shape_module->module~tem_triangle_module module~tem_shape_module->module~tem_canonicalnd_module module~tem_shape_module->module~tem_cylinder_module module~tem_stl_module tem_stl_module module~tem_shape_module->module~tem_stl_module module~tem_stl_module->module~tem_stlb_io_module module~tem_stl_module->module~tem_triangle_module module~hvs_ascii_module hvs_ascii_module module~hvs_ascii_module->module~tem_shape_module module~hvs_output_module hvs_output_module module~hvs_output_module->module~tem_shape_module module~hvs_output_module->module~hvs_ascii_module module~tem_subtree_module tem_subTree_module module~hvs_output_module->module~tem_subtree_module module~tem_convergence_module tem_convergence_module module~tem_convergence_module->module~tem_shape_module module~tem_convergence_module->module~tem_subtree_module module~tem_spacetime_fun_module->module~tem_shape_module module~tem_spatial_module tem_spatial_module module~tem_spacetime_fun_module->module~tem_spatial_module module~tem_spacetime_fun_module->module~tem_subtree_module module~tem_spatial_module->module~tem_canonicalnd_module module~tem_spatial_module->module~tem_shape_module module~tem_subtree_module->module~tem_shape_module module~tem_tracking_module tem_tracking_module module~tem_tracking_module->module~tem_shape_module module~tem_tracking_module->module~hvs_output_module module~tem_tracking_module->module~tem_subtree_module module~tem_abortcriteria_module tem_abortCriteria_module module~tem_abortcriteria_module->module~tem_convergence_module module~tem_bc_module tem_bc_module module~tem_bc_module->module~tem_spacetime_fun_module module~tem_derived_module tem_derived_module module~tem_derived_module->module~tem_spacetime_fun_module module~tem_face_module tem_face_module module~tem_face_module->module~tem_spacetime_fun_module module~tem_ini_condition_module tem_ini_condition_module module~tem_ini_condition_module->module~tem_spatial_module module~tem_simcontrol_module tem_simControl_module module~tem_simcontrol_module->module~tem_convergence_module module~tem_spacetime_var_module tem_spacetime_var_module module~tem_spacetime_var_module->module~tem_spacetime_fun_module module~tem_spacetime_var_module->module~tem_spatial_module module~tem_variable_module tem_variable_module module~tem_variable_module->module~tem_spacetime_fun_module module~tem_varmap_module tem_varMap_module module~tem_varmap_module->module~tem_spacetime_fun_module

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

    Type IntentOptional Attributes Name
    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

    Arguments

    Type IntentOptional Attributes Name
    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

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
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

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: r

input point coordinate

Return Value real(kind=rk)

resulting value of the 1D delta function