ply_split_element_2D Subroutine

public subroutine ply_split_element_2D(parent_degree, child_degree, parent_data, child_data, ignore_highmodes)

Split two-dimensional elements of degree parent_degree into four elements with polynomials of degree child_degree.

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: parent_degree

Polynomial degree in the parent element.

integer, intent(in) :: child_degree

Polynomial degree in the child elements.

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

Polynomial data in the parent element. The first index describes the degrees of freedom. The second index refers to the elements to split.

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

Polynomial data in the child elements. The first index describes the degrees of freedom. The second index refers to the elements, there needs to be four times as many elements than in the parent_data.

Elements follow the ordering of the Z space filling curve.

logical, intent(in), optional :: ignore_highmodes

Whether to ignore high modes from the parent element.

This can be used as a simple lowpass filter by ignoring all higher modes from the parent element, that exceed the target polynomial degree. Thus, the polynomials are filtered before projection, instead of cutting them only of after refinement. Defaults to false (no filtering).


Calls

proc~~ply_split_element_2d~~CallsGraph proc~ply_split_element_2d ply_split_element_2D proc~ply_split_element_singled ply_split_element_singleD proc~ply_split_element_2d->proc~ply_split_element_singled

Called by

proc~~ply_split_element_2d~~CalledByGraph proc~ply_split_element_2d ply_split_element_2D proc~ply_split_element_2d_test ply_split_element_2D_test proc~ply_split_element_2d_test->proc~ply_split_element_2d proc~ply_split_element_test ply_split_element_test proc~ply_split_element_test->proc~ply_split_element_2d_test

Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=rk), private, allocatable:: ysplit(:,:)
logical, private :: ignore
integer, private :: pardofs
integer, private :: childdofs