template<class F = concepts::Real>
class hp2D::BuildL2InnerTColumns< F >
Responsible to build the T columns belonging to inner degrees of freedom in a L2 conforming space with shape functions in tensor product structure.
A call to the application operator builds the T columns for a given 'member of space' quad. The appropiate polynomial degree are given by a space pre builder class, which is part of a space helper class.
If you want to change the way this is done, derive from this class and overwrite the application operator.
- Trunk Polynomial Spaces
- Using this class, all degrees of freedom of the face are built (full tensor product space). It is very simply to change this behaviour in a derived class as the truncation function for the degrees of freedom is separated into trunk(). BuildInnerDofsLinTrunk is an example for a truncated local polynomial space (it is the default for building internal degrees of freedom in hpAdaptiveSpaceL2).
- BuildInnerDofsHypTrunk is another example. The plot below compares the relative energy error versus degrees of freedom for three different internal degrees of freedom polynomial spaces. The plot was done with the hpFEM2d tutorial program by exchanging the strategy for the internal degrees of freedom right after creating the Space. The result at an error of 1.7e-6 needs the following number of degrees of freedom:
- Author
- Kersten Schmidt, 2016
Definition at line 58 of file buildL2TColumns.hh.
template<class F = concepts::Real>
Trunk space indicator function. For each degree of freedom, this function is called to find out if it should be built or not. If the return value is true
, the degree of freedom is built, otherwise it is not.
The default behaviour of this function is to return true
. Overwrite it if you want to have a trunk space (e.g. as in BuildInnerDofsLinTrunk).
- Parameters
-
p | Polynomial degree in first direction of current degree of freedom |
q | Polynomial degree in second direction of current degree of freedom |
P | Maximal polynomial degree in the interior |
Reimplemented in hp2D::BuildL2InnerTColumnsLinTrunk< F >, and hp2D::BuildL2InnerTColumnsHypTrunk< F >.