fracture_geom: Generate a 3D fracture geometry with trianglar mesh

View source: R/fracture_geom.R

fracture_geomR Documentation

Generate a 3D fracture geometry with trianglar mesh

Description

Generate a 3D fracture geometry with trianglar mesh

Usage

fracture_geom(width = 1, refine = 1, method = c("triangles", "diagonals"), ...)

Arguments

width

linear dimension of the square cut of the fracture

refine

refinement level

...

parameters passed to fracture_matrix function

power.spectrum

power spectrum of the fields (function of frequency)

corr.profile

correlation profile between (function of wave length)

Examples

ret = fracture_geom(
  width = 1,
  refine = 10,
  corr.profile = function(lambda) 0.5,
  closed=0.1,
  power.iso = exp_spectrum(scale=0.01, alpha=3)
)
if (require(rgl)) fracture3d(cut(ret))


llaniewski/rfracture documentation built on Aug. 21, 2023, 11:10 a.m.