Hi Guosheng,
yes, we can, but the syntax is not yet converged and thus you don't find a documentation. I shortly describe the concepts:
All finite element spaces in NGSolve can handle variable and also anisotropic polynomial orders.
Now the default.
future: only active when you set the flag:
H1 ( ... , order_policy = ORDER_POLICY.VARIABLE), otherwise we do some fixed-order optimisations.
You can give orders to mesh-nodes (e.g. edge number 7 set or order 5):
fes.SetOrder (NodeId(EDGE,7), 5)
After setting the orders, some tables must be recalculated via
fes.UpdateDofTables()
How you distribute the orders is your job. Either via error estimators, or on refinement level, distant to corners ....
Hope this helps,
Joachim