Changelog
Source:NEWS.md
fmesher (development version)
- Convert
fm_bary()
output to a dedicatedfm_bary
class, with elements ‘index’ (index of the containing simplex) and ‘where’ (matrix of barycentric weights). (version0.2.0.9001
) - Add
fm_bary_simplex()
generic method to extract the simplex vertex indices for anfm_bary
object. (version0.2.0.9001
) - Add
fm_bary_loc()
generic method for convertingfm_bary
information to Euclidean coordinates (version0.2.0.9005
) - Simplify
fm_basis
object creation, and addcustom_classes
developers vignette (version0.2.0.9004
) - Remove long deprecated
inla.mesh
etc legacy methods; need to explicitly convert old objects. Retaining theinla.mesh
etc class suffixes for now. (version0.2.0.9001
) - Handle
NA
location inputs tofm_basis.fm_mesh_1d()
(version0.2.0.9002
) - Add
loc=fm_bary(...)
support tofm_basis.fm_mesh_2d(mesh, loc)
(version0.2.0.9006
)
fmesher 0.2.0
CRAN release: 2024-11-06
New methods
- Add print methods for
fm_basis
andfm_evaluator
objects (version0.1.7.9003
) - Add
fm_manifold_get()
generic method to extract manifold information from general objects, so that external objects can implement their own manifold information storage (version0.1.7.9005
) - Add
fm_crs_plot()
method for plottingfm_crs
objects with optional graticules and Tissot indicatrices (version0.1.7.9010
)
New method options
- Add
full
argument tofm_basis()
to toggle between matrix and fullfm_basis
object output (version0.1.7.9002
) - Add
loc
plotting option togeom_fm.fm_mesh_2d
and modify theggplot
mapping interface for interior and boundary segments in the same method (version0.1.7.9009
) - Add
format="loc"
argument tofm_as_sfc.fm_mesh_2d()
for converting mesh node coordinates tosfc_POINT
format (version0.1.7.9009
)
Minor updates
- Update documentation and vector coordinate inputs to
fm_lattice_2d()
to clarify input interpretation and ensure correct boundary orientation (version0.1.7.9001
) - Add some length unit handling to
fm_crs_bounds()
(version0.1.7.9008
) - Add control argument
max_batch_size
tofm_bary.fm_mesh_2d()
, that can be supplied viafm_basis()
, for optional override of the default maximal batch calculation size, see #14 (version0.1.7.9011
)
Deprecation updates
- Remove
sp
objects fromfmexample
data. Usefmexample_sp()
to access them if needed (version0.1.7.9004
) - Move
sp
dependency to Suggests, and removeinlabru
dependency (version0.1.7.9006
) - Further
sp
use protection (version0.1.7.9007
) - Increased deprecation warning and error messages for old unsupported methods
fmesher 0.1.7
CRAN release: 2024-07-01
- Fix regression bug in
fm_manifold()
that made it ignore all but the first given type options. See #16 (version `0.1.6.9001) - Fix
plot.fm_mesh_2d
vectorisation bug (version0.1.6.9002
) - Add new
fm_subdivide()
method forfm_mesh_2d
meshes (version0.1.6.9003
)
fmesher 0.1.6
CRAN release: 2024-06-14
- Fix for hiding away-facing triangle edges in
plot.fm_mesh_2d()
andlines.fm_segm()
. - Fix duplicated
fm_unify_coords.sf()
method. Thanks to Pablo Paccioretti for debugging and reporting, see #13 (version0.1.5.9001
) - Use batched
fm_bary.fm_mesh_2d()
computations for data sizes of2e5
and upwards. This improves performance offm_basis()
/inla.spde.make.A()
for large data sets, see #14 (version0.1.5.9002
) - Automatically convert raw
sfc
samplers objects tosf
objects infm_int.list()
(version0.1.5.9003
) - Detect and warn about unsupported use of
fm_segm
objects infm_int.list()
(version0.1.5.9004
) - Add
fm_basis()
andfm_fem()
support forfm_tensor
function spaces (version0.1.5.9005
) - Add
fm_CRS()
support forterra
objects (version0.1.5.9006
)
fmesher 0.1.5
CRAN release: 2023-12-20
- Fix bug in
fm_matern_sample()
that prevented the use of a non-NULLloc
argument. For earlier versions, the workaround is to make a separate call tofm_evaluate()
after callingfm_matern_sample()
. - Improve speed of
fm_block_log_shift()
by an order of magnitude for multi-block cases. - Fix bug in
plot.fm_mesh_2d
for meshes with 2D coordinate storage (version0.1.4.9002
)
fmesher 0.1.4
CRAN release: 2023-10-28
- Work around
std::get<variant>()
lack of support for MacOS< 10.14
.
fmesher 0.1.3
CRAN release: 2023-10-18
- Fix bug in
fm_rcdt_2d_inla()
that gave different defaults for theextend
andrefine
arguments when equal toTRUE
, that should be treated the same aslist()
(version0.1.2.9001
) - Fix bug in
fm_rcdt_2d_inla()
to properly updaten
basis counter element when removing unused vertices. (version0.1.2.9002
) - Fix bug giving a spurious warning about inconsistent
is.bnd
for emptyfm_segm
objects, and inconsistentgrp
vector lengths. (version0.1.2.9003
) - Convert some of the old potentially unsafe C++ pointer methods to type safe C++17 features
fmesher 0.1.2
CRAN release: 2023-08-25
- Various documentation improvements, in particular for INLA compatibility
- Modify mesh refinement tests to directly check the refinement criteria instead of the specific mesh result, to account for differences in floating point behaviour on M1 processors.
- Modify tests of non-mesh-generation features to use precomputed meshes or meshes with stable properties
- Protect against invalid
tv
inputs - Revert from
\text{}
to\textrm{}
, as AMS extensions are only supported from R 4.2.2 (https://www.stats.bris.ac.uk/R/doc/manuals/r-devel/R-exts.pdf 2023-08-24, page 90), and CRAN oldrel for macOS is 4.2.0, not 4.2.3
fmesher 0.1.1
CRAN release: 2023-08-18
- Simplify LICENSE information in the R package DESCRIPTION
- Fix example for legacy
plot_PolySet
method - Fix C++ unused-variable warning detected by clang-tidy version 16.0.6
- Add workaround for
sf::st_buffer
not supporting negative distance fors2
with longlat coordinates. Fixes #5
fmesher 0.1.0
- Full conversion of the fmesher interface from the standalone binary in R-INLA (https://www.r-inla.org) to an interface powered by
Rcpp
(https://cran.r-project.org/package=Rcpp) - Tools for 2D and 1D function spaces, see
fm_mesh_2d()
andfm_mesh_1d()
- Tools for CRS handling see
fm_crs()
andfm_transform()
- Plotting support for base graphics,
rgl
, andggplot2
- Added basic GMRF tools, see
fm_matern_precision()