R/ReducedEM.2d.R

Defines functions ReducedEM.2d

Documented in ReducedEM.2d

#' @title ReducedEM.2d
#'
#' @description Reduced stiffness matrix - use boundary condition to reduce matrix to smaller form by removing systems that are bound.
#'
#' @usage ReducedEM.2d(GMat, NodeKnownL)
#'
#' @param GMat Global stiffness matrix
#' @param NodeKnownL data frame with constraint parameters applied to each node in the x and y directions. Formatted for use in reduced element matrix. Generated from ApplyBC function.
#'
#' @return Produces a large matrix.
#' \item{ReducedEM}{Reduced element matrix.}
#'
#' @examples
#' data(gloMat)
#' data(bound)
#' GMat = gloMat
#' NodeKnownL = bound
#' reduc_EM = ReducedEM.2d(GMat, NodeKnownL)
#'
#' @export

ReducedEM.2d = function(GMat, NodeKnownL){GMat[c(NodeKnownL), c(NodeKnownL)]}

Try the FEA package in your browser

Any scripts or data that you put into this service are public.

FEA documentation built on Jan. 11, 2023, 1:13 a.m.