KerMor  0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fem.BaseFEM Class Referenceabstract

FEMBASE Summary of this class goes here Detailed explanation goes here. More...

Detailed Description

FEMBASE Summary of this class goes here Detailed explanation goes here.

Definition at line 18 of file BaseFEM.m.

Public Member Functions

 BaseFEM (geometry)
 
function  init ()
 
function a = getFaceArea (elemidx, faceidx)
 
function v = getElementVolume (elemidx)
 Returns the volume of the element with the specified index in [mm³]. More...
 
function v = getTotalVolume ()
 Returns the total geometry volume in [mm³]. More...
 
function gp = getGlobalGaussPoints (elemidx)
 Returns the positions of all gauss points of the specified element in global (=reference) coordinates. More...
 
function  plot (pm)
 
virtual function matrix< double > nx = N (matrix< double > x)
 Evaluates the elementary basis functions on the geometry master element. More...
 
virtual function dnx = gradN (matrix< double > x)
 Evaluates the gradients of the elementary basis functions on the master element. More...
 

Static Public Member Functions

static function res = test_JacobiansDefaultGeo ()
 Tests if the deformation jacobians using linear and quadratic elements is the same for a default geometry. More...
 

Public Attributes

 GaussPointRule
 
 GaussPointsPerElem
 
 GaussPointsPerElemFace
 
 Geometry
 
 Ngp
 Values of basis functions on gauss points. More...
 
 M
 The mass matrix. More...
 
 D
 The damping matrix (for linear damping) More...
 
 Sigma
 The element-dof to global node assembly matrix. More...
 
 elem_detjac
 
 face_detjac
 
 Ngpface
 
 dN_facenormals
 
 transgrad
 transformed basis function gradients, stored in eldofs x gp*3 x element matrix (accessible in 20x3-chunks for each gauss point and element) More...
 
 GaussPoints
 % Gauss integration related properties More...
 
 GaussWeights
 
 FaceGaussPoints
 
 FaceGaussWeights
 
 NormalsOnFaceGP
 
 FaceAreas
 
- Public Attributes inherited from handle
 addlistener
 Creates a listener for the specified event and assigns a callback function to execute when the event occurs. More...
 
 notify
 Broadcast a notice that a specific event is occurring on a specified handle object or array of handle objects. More...
 
 delete
 Handle object destructor method that is called when the object's lifecycle ends. More...
 
 disp
 Handle object disp method which is called by the display method. See the MATLAB disp function. More...
 
 display
 Handle object display method called when MATLAB software interprets an expression returning a handle object that is not terminated by a semicolon. See the MATLAB display function. More...
 
 findobj
 Finds objects matching the specified conditions from the input array of handle objects. More...
 
 findprop
 Returns a meta.property objects associated with the specified property name. More...
 
 fields
 Returns a cell array of string containing the names of public properties. More...
 
 fieldnames
 Returns a cell array of string containing the names of public properties. See the MATLAB fieldnames function. More...
 
 isvalid
 Returns a logical array in which elements are true if the corresponding elements in the input array are valid handles. This method is Sealed so you cannot override it in a handle subclass. More...
 
 eq
 Relational functions example. See details for more information. More...
 
 transpose
 Transposes the elements of the handle object array. More...
 
 permute
 Rearranges the dimensions of the handle object array. See the MATLAB permute function. More...
 
 reshape
 hanges the dimensions of the handle object array to the specified dimensions. See the MATLAB reshape function. More...
 
 sort
 ort the handle objects in any array in ascending or descending order. More...
 

Static Protected Member Functions

static function res = test_BasisFun (subclass)
 

Constructor & Destructor Documentation

fem.BaseFEM.BaseFEM (   geometry)

Definition at line 134 of file BaseFEM.m.

References Geometry, and init().

Here is the call graph for this function:

Member Function Documentation

function v = fem.BaseFEM.getElementVolume (   elemidx)

Returns the volume of the element with the specified index in [mm³].

Definition at line 296 of file BaseFEM.m.

References elem_detjac, and GaussWeights.

function a = fem.BaseFEM.getFaceArea (   elemidx,
  faceidx 
)

Definition at line 287 of file BaseFEM.m.

References FaceAreas, Geometry, and k.

function gp = fem.BaseFEM.getGlobalGaussPoints (   elemidx)

Returns the positions of all gauss points of the specified element in global (=reference) coordinates.

Definition at line 318 of file BaseFEM.m.

References Geometry, and Ngp.

function v = fem.BaseFEM.getTotalVolume ( )

Returns the total geometry volume in [mm³].

Definition at line 308 of file BaseFEM.m.

References elem_detjac, and GaussWeights.

function dnx = fem.BaseFEM.gradN ( matrix< double x)
pure virtual

Evaluates the gradients of the elementary basis functions on the master element.

Parameters
xA 3xn matrix with points \(x_i\) in columns
Return values
nxThe values \([\frac{\partial N}{x_1} N_i(x_j), \frac{\partial N}{x_3} N_i(x_j), \frac{\partial N}{x_3} N_i(x_j)]\) of each elementary basis function \(N_i\) per row on all given points \(x_j\). If \(x\) is only a 3x1 column vector, this corresponds to \(\nabla N_i(x)\)

Referenced by init().

Here is the caller graph for this function:

function fem.BaseFEM.init ( )

Definition at line 140 of file BaseFEM.m.

References D, dN_facenormals, elem_detjac, face_detjac, FaceAreas, FaceGaussPoints, FaceGaussWeights, GaussPoints, GaussPointsPerElem, GaussPointsPerElemFace, GaussWeights, Geometry, gradN(), k, M, N(), Ngp, Ngpface, Norm.normalizeL2(), NormalsOnFaceGP, Sigma, t, and transgrad.

Referenced by BaseFEM().

Here is the call graph for this function:

Here is the caller graph for this function:

function matrix< double > nx = fem.BaseFEM.N ( matrix< double x)
pure virtual

Evaluates the elementary basis functions on the geometry master element.

Parameters
xA 3xn matrix with points \(x_i\) in columns
Return values
nxThe values \(N_i(x_j)\) of each elementary basis function \(N_i\) per row on all given points \(x_i\)

Referenced by init().

Here is the caller graph for this function:

function fem.BaseFEM.plot (   pm)

Definition at line 331 of file BaseFEM.m.

References D, and M.

static function res = fem.BaseFEM.test_BasisFun (   subclass)
staticprotected

Definition at line 574 of file BaseFEM.m.

References all(), and k.

Here is the call graph for this function:

function res = fem.BaseFEM.test_JacobiansDefaultGeo ( )
static

Tests if the deformation jacobians using linear and quadratic elements is the same for a default geometry.

Definition at line 588 of file BaseFEM.m.

References k.

Member Data Documentation

fem.BaseFEM.D

The damping matrix (for linear damping)

Note
This property has non-standard access specifiers: SetAccess = Private, GetAccess = Public
Matlab documentation of property attributes.

Definition at line 63 of file BaseFEM.m.

Referenced by init(), and plot().

fem.BaseFEM.dN_facenormals

Definition at line 91 of file BaseFEM.m.

Referenced by init().

fem.BaseFEM.elem_detjac

Definition at line 85 of file BaseFEM.m.

Referenced by getElementVolume(), getTotalVolume(), and init().

fem.BaseFEM.face_detjac

Definition at line 87 of file BaseFEM.m.

Referenced by init().

fem.BaseFEM.FaceAreas

Definition at line 124 of file BaseFEM.m.

Referenced by getFaceArea(), and init().

fem.BaseFEM.FaceGaussPoints

Definition at line 118 of file BaseFEM.m.

Referenced by init().

fem.BaseFEM.FaceGaussWeights

Definition at line 120 of file BaseFEM.m.

Referenced by init().

fem.BaseFEM.GaussPointRule

Definition at line 29 of file BaseFEM.m.

fem.BaseFEM.GaussPoints

% Gauss integration related properties

Note
This property has non-standard access specifiers: SetAccess = Private, GetAccess = Public
Matlab documentation of property attributes.

Definition at line 106 of file BaseFEM.m.

Referenced by init().

fem.BaseFEM.GaussPointsPerElem
Note
[readonly]

Definition at line 31 of file BaseFEM.m.

Referenced by init().

fem.BaseFEM.GaussPointsPerElemFace
Note
[readonly]

Definition at line 33 of file BaseFEM.m.

Referenced by init().

fem.BaseFEM.GaussWeights

Definition at line 116 of file BaseFEM.m.

Referenced by getElementVolume(), getTotalVolume(), and init().

fem.BaseFEM.Geometry

Definition at line 38 of file BaseFEM.m.

Referenced by BaseFEM(), getFaceArea(), getGlobalGaussPoints(), and init().

fem.BaseFEM.M

The mass matrix.

Note
This property has non-standard access specifiers: SetAccess = Private, GetAccess = Public
Matlab documentation of property attributes.

Definition at line 52 of file BaseFEM.m.

Referenced by init(), and plot().

fem.BaseFEM.Ngp

Values of basis functions on gauss points.

Note
This property has non-standard access specifiers: SetAccess = Private, GetAccess = Public
Matlab documentation of property attributes.

Definition at line 41 of file BaseFEM.m.

Referenced by getGlobalGaussPoints(), and init().

fem.BaseFEM.Ngpface

Definition at line 89 of file BaseFEM.m.

Referenced by init().

fem.BaseFEM.NormalsOnFaceGP

Definition at line 122 of file BaseFEM.m.

Referenced by init().

fem.BaseFEM.Sigma

The element-dof to global node assembly matrix.

Note
This property has non-standard access specifiers: SetAccess = Private, GetAccess = Public
Matlab documentation of property attributes.

Definition at line 74 of file BaseFEM.m.

Referenced by init().

fem.BaseFEM.transgrad

transformed basis function gradients, stored in eldofs x gp*3 x element matrix (accessible in 20x3-chunks for each gauss point and element)

Note
This property has non-standard access specifiers: SetAccess = Private, GetAccess = Public
Matlab documentation of property attributes.

Definition at line 94 of file BaseFEM.m.

Referenced by init().


The documentation for this class was generated from the following file: