generate.adaptive.meshes.1d: Create 1d mesh from observation locations adaptively.

View source: R/mesh.generation.R

generate.adaptive.meshes.1dR Documentation

Create 1d mesh from observation locations adaptively.

Description

A function to create mesh for 1d FEM discretization adaptively.

Usage

generate.adaptive.meshes.1d(
  locs,
  max.dist = NULL,
  cutoff = 1e-10,
  common.grid = FALSE,
  extend = NULL,
  n.cores = 1,
  Y = NULL,
  loc.Y = NULL,
  max.dY = -1,
  nJump = 3
)

Arguments

locs

A list of measurement locations.

max.dist

The largest distance between nodes in the mesh

cutoff

Merge nodes in x that are closer than cutoff

common.grid

A logical variable for using a common grid for all subjects, "TRUE" indicates using a common grid, "FALSE" uncommon grids.

extend

A numeric vector with two elements specifying the amount of extension of the grid to the left and right beyondthe measurement locations.

n.cores

A numeric value for the number of cores to be used.

Details

This is a supplementary function to be used internally by other functions.

Value

Returns a list of output.

See Also

create.meshes.1d

Examples

  ## Not run: 
  generate.adaptive.meshes.1d(...)
  
## End(Not run)


davidbolin/ngme documentation built on Dec. 5, 2023, 11:48 p.m.