4.1. Variable polynomial degree (p-adaption)
The field solver of PICLas for Maxwell’s and Poisson’s equations supports a variable, element-local polynomial degree. This functionality can be enabled with
pAdaptionType = non-periodic-BC
The currently available options are:
Option |
Description |
|---|---|
|
Default for setting all elements to \(N\) |
|
Elements get random polynomial degree between \(N_{\mathrm{min}}\) and \(N_{\mathrm{max}}\) |
|
Refinement of elements with non-periodic boundary conditions, see Section Refining boundary elements (pAdaptionType = non-periodic-BC) |
|
Elements in the lower half domain in x-direction are set to \(N_{\mathrm{min}}\) and the upper half are set to \(N_{\mathrm{max}}\). The domain must be centered around \(x=0\). |
An option to adapt the polynomial degree based on the Debye length is currently in development.
4.1.1. Refining boundary elements (pAdaptionType = non-periodic-BC)
To refine elements at a non-periodic boundary condition, which can be enabled by
pAdaptionBCLevel = 1st-and-2nd-NMin+1
Several options are available:
Option |
Description |
|---|---|
|
Elements with non-periodic boundary conditions receive \(N_{\mathrm{max}}\), 2\(^{\mathrm{nd}}\) layer receives \(N_{\mathrm{min}}+1\) |
|
Elements with non-periodic boundary conditions receive \(N_{\mathrm{min}}+1\) |
|
Elements with non-periodic boundary conditions receive \(N_{\mathrm{max}}\) |
|
First two layers of elements with non-periodic boundary conditions receive \(N_{\mathrm{max}}\) |
An example is available in the regression tests, e.g. in regressioncheck/NIG_PIC_poisson_Leapfrog_single_node/box_VDL_and_linPhi