Learn R Programming

FEA (version 0.0.2)

GlobalMat.2d: GlobalMat.2d

Description

Generates global stiffness matrix - once established, the expanded element matrix must be combined to create the global structural stiffness matrix by adding the expanded matrices.

Usage

GlobalMat.2d(meshP, meshT, ExEM)

Value

Produces large (n x n) global matrix

GlobalMat

Global 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.

ExEM

Expanded element matrix

Examples

Run this code
data(triMesh)
data(fea_ExEM)

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

gloMat = GlobalMat.2d(meshP, meshT, ExEM)

Run the code above in your browser using DataLab