Integration scheme for mesh triangle interiors
Arguments
- mesh
Mesh on which to integrate
- tri_subset
Optional triangle index vector for integration on a subset of the mesh triangles (Default
NULL
)- nsub
number of subdivision points along each triangle edge, giving
(nsub + 1)^2
proto-integration points used to compute the vertex weights (defaultnsub=9
, giving 100 integration points for each triangle)
Author
Finn Lindgren finn.lindgren@gmail.com
Examples
str(fm_int_mesh_2d_core(fmexample$mesh))
#> List of 2
#> $ loc : num [1:56300, 1:3] -0.717 -0.745 -0.774 -0.803 -0.832 ...
#> $ weight: num [1:56300] 0.000733 0.000733 0.000733 0.000733 0.000733 ...