
Combine integration over different domains
fm_int_multi_sampler(domain, samplers, ...)
An object with integration points and weights
A list of named domains
A named list of samplers
Passed on to each fm_int()
call.
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)
)
)
Run the code above in your browser using DataLab