modg_1d_nodal_bnd Function

private function modg_1d_nodal_bnd(bc, faceOp, poly_proj, equation, tree, normalRot, time, faceDir, leftOrRight, bndBaryCoord, elemLength, faceMaterial) result(modalFace)

Set boundary values in a nodal way

Arguments

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

The boundary condition to generate the modal representation for.

real(kind=rk), intent(inout) :: faceOp(:,:)

The modal representation on the face of the neighboring element.

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

The parameters for projection method.

type(atl_Equations_type), intent(in) :: equation

The equation system you use.

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

treelm mesh

type(coordRotation_type), intent(in) :: normalRot

Rotation indices to rotate global coordinate system into face normal coordinate system.

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

The absolute time point.

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), intent(in) :: bndBaryCoord(1:3)

The barycentric boundary element coordinates

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

The length of an element on the current level

real(kind=rk), intent(in), optional :: faceMaterial(:,:)

The material of the boundary face. First dimension is the number of points on the face. Second dimension is the number of material parameters.

Return Value real(kind=rk), (1,equation%varSys%nScalars)

The modal representation on the boundary face.