Combine integration over different domains
Arguments
- domain
A list of named domains
- samplers
A named list of samplers
- ...
Passed on to each
fm_int()
call.
Examples
fm_int_multi_sampler(
domain = list(x = fm_mesh_1d(1:4), y = 11:12),
samplers = tibble::tibble(
x = rbind(c(1, 3), c(2, 4)),
y = c(12, 11)
)
)
#> # A tibble: 10 × 4
#> x .block y weight
#> <dbl> <int> <int> <dbl>
#> 1 1 1 12 0.167
#> 2 2 1 12 0.333
#> 3 3 1 12 0.167
#> 4 1.5 1 12 0.667
#> 5 2.5 1 12 0.667
#> 6 2 2 11 0.167
#> 7 3 2 11 0.333
#> 8 4 2 11 0.167
#> 9 2.5 2 11 0.667
#> 10 3.5 2 11 0.667