Simple Hybrid Tree
A SimpleHybridTree
is a tree that is split into two parts: an upper tree and a lower tree. The upper tree spans the levels from minlevel
to hybridlevel
, while the lower tree spans the levels from hybridlevel
+1 to maxlevel
. This allows the 𝓗² Method to treat both parts of the tree differently.
A SimpleHybridTree
can be constructed from a TwoNTree
by specifying the hybridhalfsize
parameter. The hybridhalfsize
determines the level at which the tree is split.
In the Galerkin case, a hybrid TwoNTree
can be constructed as follows:
m = meshsphere(1.0, 0.1)
tree = SimpleHybridTree(TwoNTree(vertices(m), 0.1); hybridhalfsize=0.2)
TwoNTree{3, BoxData{3, Float64}, Float64}
level: 1 with 1 node(s) with on average 1610.0 points and 8.0 children and halfsize: 1.6
- level: 2 with 8 node(s) with on average 201.25 points and 4.0 children and halfsize: 0.8
-- level: 3 with 32 node(s) with on average 50.31 points and 3.41 children and halfsize: 0.4
--- level: 4 with 109 node(s) with on average 14.77 points and 3.3 children and halfsize: 0.2
---- level: 5 with 360 node(s) with on average 4.47 points and 0.0 children and halfsize: 0.1
upper levels start at: 3
Translating plans can be split into two with the splitplan
function.