knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The package contains code that handles some particular external PDE solvers.
You can install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("maciejsmolka/solvergater.solvers")
This is a basic example which shows you how to run an MT solver:
if (FALSE) { library(solvergater.solvers) mts <- mt_solver() mt_obj <- objective(mts, mt_data$exact_qoi, precision = mt_data$precision_levels[2] ) mt_obj(c(1, 2, 3, 4)) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.