Fcart: The deformation energy gradient function

Description Usage Arguments Value Author(s)

View source: R/spheristruct.R

Description

The function that computes the gradient of the energy (or error) of the deformation of the mesh from the flat outline to the sphere. This depends on the locations of the points given in spherical coordinates. The function is designed to take these as a vector that is received from the optim function.

Usage

1
Fcart(P, C, L, T, A, R, alpha = 1, x0, nu = 1, verbose = FALSE)

Arguments

P

N-by-3 matrix of point coordinates

C

The connectivity matrix

L

Length of each edge in the flattened outline

T

Triangulation in the flattened outline

A

Area of each triangle in the flattened outline

R

Radius of sphere

alpha

Area penalty scaling coefficient

x0

Area penalty cutoff coefficient

nu

Power to which to raise area

verbose

How much information to report

Value

A vector representing the derivative of the energy of this particular configuration with respect to the parameter vector

Author(s)

David Sterratt


retistruct documentation built on May 20, 2017, 2:41 a.m.

Search within the retistruct package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.