Skip to contents

This function constructs a dual mesh from the standard INLA mesh.

Usage

dmesh_mesh(mesh)

Arguments

mesh

An INLA mesh object

Value

A dual mesh as a sf MULTIPOLYGONS object

Details

Parallelization can be enabled by choosing a plan from the future package and the mesh will be splitted in chunks detemined by the number of workers. Don't forget to reset the plan to sequential when done.