atl_reference_element_module Module

Module for operations relating reference and physical elements.

This module collects all the functions, subroutines related to operations on the reference element or mappings between the reference and the physical elements.


Uses

  • module~~atl_reference_element_module~~UsesGraph module~atl_reference_element_module atl_reference_element_module module~tem_topology_module tem_topology_module module~atl_reference_element_module->module~tem_topology_module module~tem_geometry_module tem_geometry_module module~atl_reference_element_module->module~tem_geometry_module module~env_module env_module module~atl_reference_element_module->module~env_module module~treelmesh_module treelmesh_module module~atl_reference_element_module->module~treelmesh_module

Used by

  • module~~atl_reference_element_module~~UsedByGraph module~atl_reference_element_module atl_reference_element_module module~atl_initial_condition_module atl_initial_condition_module module~atl_initial_condition_module->module~atl_reference_element_module module~atl_source_module atl_source_module module~atl_source_module->module~atl_reference_element_module module~atl_writeprecice_module atl_writePrecice_module module~atl_writeprecice_module->module~atl_reference_element_module module~atl_materialini_module atl_materialIni_module module~atl_materialini_module->module~atl_reference_element_module module~atl_modg_1d_bnd_module atl_modg_1d_bnd_module module~atl_modg_1d_bnd_module->module~atl_reference_element_module module~atl_imexrk_module atl_imexrk_module module~atl_imexrk_module->module~atl_reference_element_module module~atl_boundary_module atl_boundary_module module~atl_boundary_module->module~atl_reference_element_module module~atl_varsys_module atl_varSys_module module~atl_varsys_module->module~atl_reference_element_module

Contents


Subroutines

public subroutine atl_refToPhysCoord(refPoints, nPoints, baryCoord, elemLength, physPoints)

Subroutine to move points defined on the reference element [-1,+1] to the physical element coordinates.

Arguments

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

The points of the reference elements you want to move to their physical location. Size is: nPoints for first dimension and 3 for the second dimension (x,y,z coordinates).

integer, intent(in) :: nPoints

The number of points to move.

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

The barycentric coordinate of the element you want to map to (x,y,z coord)

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

The length of the cubic element to map to.

real(kind=rk), intent(inout) :: physPoints(nPoints,3)

The physical points. Dimensions are the same as refPoints.

public subroutine atl_ref_in_elempos(refPoints, tree, elempos, physPoints)

Transform reference points to physical points in the element of the tree identified by the provided elempos.

Arguments

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

Reference points to transform.

They have the form (npoints,3).

type(treelmesh_type), intent(in) :: tree

Tree in which the element is found.

integer, intent(in) :: elempos

Position of the element in the list of treeIDs of the tree.

real(kind=rk), intent(out) :: physPoints(:,:)

Transformed points.

Has the same form as refPoints.