modg_1d_bnd_mirrorPoint Function

private function modg_1d_bnd_mirrorPoint(bc, poly_proj, time, varSys, tree, faceDir, leftOrRight, bndBaryCoord, elemLength) result(pointFace)

Function to mirror pointvalues for a given boundary conditions.

Todo

This can now be used within a OpenMP parallel block, using

Arguments

Type IntentOptional Attributes Name
type(tem_bc_state_type), intent(in) :: bc

The boundary state.

type(ply_poly_project_type), intent(inout) :: poly_proj

Data for the projection methods

type(tem_time_type), intent(in) :: time

The current absolute time.

type(tem_varSys_type), intent(in) :: varSys

Global variable system

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

treelm mesh

integer, intent(in) :: faceDir

The spatial direction of the boundary face, i.e.: \n 1 -> x direction

integer, intent(in) :: leftOrRight

Is left or right of the fluid element a boundary face.

real(kind=rk) :: bndBaryCoord(1:3)

The barycentric boundary element coordinates

real(kind=rk) :: elemLength

The element length on the current refinement level

Return Value real(kind=rk), (1)

The mirrored isNodalScheme representation.