src/bisection_tree/btfn.rs

branch
dev
changeset 197
1f301affeae3
parent 171
fa8df5a14486
equal deleted inserted replaced
196:3697375f4ee9 197:1f301affeae3
160 G: SupportGenerator<N, F>, 160 G: SupportGenerator<N, F>,
161 { 161 {
162 /// Change the [bisection tree][BTImpl] of the [`BTFN`] to a different one. 162 /// Change the [bisection tree][BTImpl] of the [`BTFN`] to a different one.
163 /// 163 ///
164 /// This can be used to convert a [`PreBTFN`] to a full [`BTFN`], or the change 164 /// This can be used to convert a [`PreBTFN`] to a full [`BTFN`], or the change
165 /// the aggreagator; see also [`self.convert_aggregator`]. 165 /// the aggreagator; see also [`Self::convert_aggregator`].
166 pub fn instantiate<BTNew: BTImpl<N, F, Data = G::Id>>( 166 pub fn instantiate<BTNew: BTImpl<N, F, Data = G::Id>>(
167 self, 167 self,
168 domain: Cube<N, F>, 168 domain: Cube<N, F>,
169 depth: BTNew::Depth, 169 depth: BTNew::Depth,
170 ) -> BTFN<F, G, BTNew, N> 170 ) -> BTFN<F, G, BTNew, N>

mercurial