R/beamGlobalEM.R

Defines functions beamGlobalEM

Documented in beamGlobalEM

#' @title beamGlobalEM
#'
#' @description Generates global stiffness matrix for beams.
#'
#' @usage beamGlobalEM(beamExEM)
#'
#' @param beamExEM Expanded Element Matrix
#'
#' @return Produces large (n x n) global matrix
#' \item{GlobalMat}{Global matrix}
#'
#' @examples
#' data(beamExMat)
#'
#' beamExEM = beamExMat
#' GMat = beamGlobalEM(beamExEM)
#'
#' @export

beamGlobalEM = function(beamExEM){
  bGloMat = Reduce('+', beamExEM)

  return(bGloMat) }

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.