atl_primal_to_covolume_projection_1d Subroutine

public subroutine atl_primal_to_covolume_projection_1d(left, right, filter, scheme, maxPolyDeg, covolume)

This routine projects to elements (left and right) onto its co-volume element. The geometrical setup is as follows:

     left                 right

|---------------------||---------------------| \ / \ / | |/ |---------------------| co-volume

The transformation to the co-volume is carried out by a simple (but efficient) L2-projection.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: left(:,:)
real(kind=rk), intent(in) :: right(:,:)
type(atl_covolume_type), intent(in) :: filter
type(atl_scheme_type), intent(in) :: scheme

The numerical schemes for the current level to get the modg basis

integer, intent(in) :: maxPolyDeg
real(kind=rk), intent(out) :: covolume(:,:)