KerMor
0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
|
FEMBASE Summary of this class goes here Detailed explanation goes here. More...
FEMBASE Summary of this class goes here Detailed explanation goes here.
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) |
fem.BaseFEM.BaseFEM | ( | geometry | ) |
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 | |||
) |
function gp = fem.BaseFEM.getGlobalGaussPoints | ( | elemidx | ) |
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.
Evaluates the gradients of the elementary basis functions on the master element.
x | A 3xn matrix with points \(x_i\) in columns |
nx | The 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().
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().
Evaluates the elementary basis functions on the geometry master element.
x | A 3xn matrix with points \(x_i\) in columns |
nx | The values \(N_i(x_j)\) of each elementary basis function \(N_i\) per row on all given points \(x_i\) |
Referenced by init().
|
staticprotected |
|
static |
fem.BaseFEM.D |
The damping matrix (for linear damping)
SetAccess = Private, GetAccess = Public
fem.BaseFEM.elem_detjac |
Definition at line 85 of file BaseFEM.m.
Referenced by getElementVolume(), getTotalVolume(), and init().
fem.BaseFEM.FaceAreas |
Definition at line 124 of file BaseFEM.m.
Referenced by getFaceArea(), and init().
fem.BaseFEM.GaussPoints |
% Gauss integration related properties
SetAccess = Private, GetAccess = Public
Definition at line 106 of file BaseFEM.m.
Referenced by init().
fem.BaseFEM.GaussPointsPerElem |
fem.BaseFEM.GaussPointsPerElemFace |
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.
SetAccess = Private, GetAccess = Public
fem.BaseFEM.Ngp |
Values of basis functions on gauss points.
SetAccess = Private, GetAccess = Public
Definition at line 41 of file BaseFEM.m.
Referenced by getGlobalGaussPoints(), and init().
fem.BaseFEM.Sigma |
The element-dof to global node assembly matrix.
SetAccess = Private, GetAccess = Public
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)
SetAccess = Private, GetAccess = Public
Definition at line 94 of file BaseFEM.m.
Referenced by init().