Learn R Programming

FEA (version 0.0.2)

ExpandSFT.2d: ExpandSFT.2d

Description

Generates expanded surface force element matrix from SurfaceTraction function

Usage

ExpandSFT.2d(meshP, meshT, SurfTrac)

Value

Produces a large (n x n) element matrix of surface forces.

ExpandedSurf

Expanded surface force element matrix.

Arguments

meshP

Matrix (2 x n) containing coordinate points of the mesh nodes.

meshT

Matrix (3 x n) containing the number of the coordinate point that forms a given triangle within the mesh.

SurfTrac

List of surface forces.

Examples

Run this code
data(triMesh)
data(SurfTrac)

meshT = triMesh$MeshPts$T
meshP = triMesh$MeshPts$p

expSurf = ExpandSFT.2d(meshP, meshT, SurfTrac)

Run the code above in your browser using DataLab