ply_split_element_2D_test Subroutine

private subroutine ply_split_element_2D_test(nModes, success)

Testing the 2D splitting.

In two dimensions we only check the downsized polynomial splitting (child_degree <= parent_degree), upsized splitting is checked for 1D operations already. For child_degree == parent_degree the resulting polynomials are probed at a set of random points to ensure the polynomials coincide with the parent polynomial. For those, where modes are cut off, we check the integral mean to be maintained.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nModes

Number of modes in the (1D) polynomials to use in the check.

logical, intent(out) :: success

Indication whether the tests were completed successfully.