KerMor
0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
|
Definition at line 19 of file BaseGeometry.m.
Public Member Functions | |
BaseGeometry () | |
function | plot (withdofnr, elem, pm) |
function bounds = | getBoundingBox (marginfac) |
function
commonidx = | getCommonNodesWith (other) |
function | swapYZ () |
function copy = | scale (factor) |
function | reverseAxis (dim) |
function [
sub , nodeidx , faces ] = | getSubMesh (elems, faces) |
function | toCMGUI (folder, name) |
Static Public Member Functions | |
static function res = | test_DemoGrids () |
static function | test_subMesh () |
Public Attributes | |
Nodes | |
n x 3 position vector of nodes More... | |
Elements | |
m x p index vector for all p nodes of m elements More... | |
Edges | |
2 x k index vector for edges between two points More... | |
DofsPerElement | |
MasterFaces | |
PatchFacesIdx | |
The indices of the nodes suitable for creating a patch surface object. More... | |
PatchesPerFace | |
Faces | |
A 2 x N_F vector containing the element number in the first row and the face number on that element in the second row. More... | |
OrientationCheckIndices | |
ReverseAxesIndices | |
NumElements | |
NumNodes | |
NumFaces | |
NodesPerFace | |
Width | |
Returns the width of the geometry (x-range) More... | |
Depth | |
Returns the Depth of the geometry (y-range) More... | |
Height | |
Returns the Height of the geometry (z-range) More... | |
FaceNormals | |
Faces are: Idx : 1 2 3 4 5 6 Face: X- X+ Y- Y+ Z- Z+ Pos: Left Right Front Rear Bottom Top. More... | |
FaceDims | |
PatchFaces | |
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... | |
Protected Member Functions | |
function faces = | computeFaces () |
Computes the outward faces of this fem.geometry. More... | |
function | faceComputations (faces) |
% Also compute the PatchFaces index matrix More... | |
function | checkOrientation () |
fem.geometry.BaseGeometry.BaseGeometry | ( | ) |
Definition at line 179 of file BaseGeometry.m.
|
protected |
Definition at line 447 of file BaseGeometry.m.
References all(), Elements, Nodes, NumElements, OrientationCheckIndices, handle.reshape, and t.
Referenced by fem.geometry.Cube20Node.Cube20Node(), fem.geometry.Cube27Node.Cube27Node(), and fem.geometry.Cube8Node.Cube8Node().
|
protected |
Computes the outward faces of this fem.geometry.
faces | A 2 x P index matrix of all P faces, containing the element index in the first row and the face number of that element that is outward in the second row. The face number is assigned as in FaceNormals. |
inner | A NumElements x 6 matrix with the indices of elements whose faces are opposing each other. Each column corresponds to the face number 1 to 6, sorted as given in FaceNormals. |
Definition at line 378 of file BaseGeometry.m.
References Elements, faceComputations(), l, MasterFaces, NumElements, handle.sort, and t.
Referenced by fem.geometry.Cube20Node.Cube20Node(), fem.geometry.Cube27Node.Cube27Node(), fem.geometry.Cube8Node.Cube8Node(), and fem.geometry.Cube27Node.swapYZ().
|
protected |
% Also compute the PatchFaces index matrix
Definition at line 421 of file BaseGeometry.m.
References Elements, Faces, k, PatchesPerFace, PatchFaces, PatchFacesIdx, and handle.reshape.
Referenced by computeFaces().
function bounds = fem.geometry.BaseGeometry.getBoundingBox | ( | marginfac | ) |
Definition at line 238 of file BaseGeometry.m.
References Nodes.
function commonidx = fem.geometry.BaseGeometry.getCommonNodesWith | ( | other | ) |
Definition at line 248 of file BaseGeometry.m.
References Utils.findVecInMatrix(), and Nodes.
function [sub , nodeidx , faces ] = fem.geometry.BaseGeometry.getSubMesh | ( | elems, | |
faces | |||
) |
function fem.geometry.BaseGeometry.plot | ( | withdofnr, | |
elem, | |||
pm | |||
) |
Definition at line 183 of file BaseGeometry.m.
References DofsPerElement, Edges, Elements, k, PlotManager.LeaveOpen, MasterFaces, Nodes, NumElements, and NumNodes.
function fem.geometry.BaseGeometry.reverseAxis | ( | dim | ) |
Definition at line 266 of file BaseGeometry.m.
References NumElements.
function copy = fem.geometry.BaseGeometry.scale | ( | factor | ) |
Definition at line 258 of file BaseGeometry.m.
function fem.geometry.BaseGeometry.swapYZ | ( | ) |
Definition at line 253 of file BaseGeometry.m.
|
static |
Definition at line 567 of file BaseGeometry.m.
|
static |
Definition at line 580 of file BaseGeometry.m.
function fem.geometry.BaseGeometry.toCMGUI | ( | folder, | |
name | |||
) |
Definition at line 301 of file BaseGeometry.m.
References Edges, Elements, Faces, Utils.findVecInMatrix(), Nodes, NumElements, NumNodes, PatchFacesIdx, handle.sort, and t.
fem.geometry.BaseGeometry.Depth |
Returns the Depth of the geometry (y-range)
Dependent
set to true. Definition at line 122 of file BaseGeometry.m.
fem.geometry.BaseGeometry.DofsPerElement |
Definition at line 63 of file BaseGeometry.m.
Referenced by fem.geometry.Cube20Node.Cube20Node(), fem.geometry.Cube27Node.Cube27Node(), fem.geometry.Cube8Node.Cube8Node(), and plot().
fem.geometry.BaseGeometry.Edges |
2 x k index vector for edges between two points
SetAccess = Protected, GetAccess = Public
Definition at line 52 of file BaseGeometry.m.
Referenced by fem.geometry.Cube20Node.Cube20Node(), fem.geometry.Cube27Node.Cube27Node(), fem.geometry.Cube8Node.Cube8Node(), plot(), and toCMGUI().
fem.geometry.BaseGeometry.Elements |
m x p index vector for all p nodes of m elements
SetAccess = Protected, GetAccess = Public
Definition at line 41 of file BaseGeometry.m.
Referenced by checkOrientation(), computeFaces(), fem.geometry.Cube20Node.Cube20Node(), fem.geometry.Cube27Node.Cube27Node(), fem.geometry.Cube8Node.Cube8Node(), faceComputations(), getSubMesh(), plot(), scale(), fem.geometry.Cube27Node.swapYZ(), toCMGUI(), fem.geometry.Cube8Node.toCube20Node(), fem.geometry.Cube27Node.toCube20Node(), fem.geometry.Cube8Node.toCube27Node(), fem.geometry.Cube27Node.toCube8Node(), and fem.geometry.Cube20Node.toCube8Node().
fem.geometry.BaseGeometry.FaceDims |
Definition at line 168 of file BaseGeometry.m.
fem.geometry.BaseGeometry.FaceNormals |
Faces are: Idx : 1 2 3 4 5 6 Face: X- X+ Y- Y+ Z- Z+ Pos: Left Right Front Rear Bottom Top.
SetAccess = Private, GetAccess = Public
Definition at line 148 of file BaseGeometry.m.
fem.geometry.BaseGeometry.Faces |
A 2 x N_F vector containing the element number in the first row and the face number on that element in the second row.
SetAccess = Protected, GetAccess = Public
Definition at line 83 of file BaseGeometry.m.
Referenced by fem.geometry.Cube20Node.Cube20Node(), fem.geometry.Cube27Node.Cube27Node(), fem.geometry.Cube8Node.Cube8Node(), faceComputations(), getSubMesh(), fem.geometry.Cube27Node.swapYZ(), and toCMGUI().
fem.geometry.BaseGeometry.Height |
Returns the Height of the geometry (z-range)
Dependent
set to true. Definition at line 133 of file BaseGeometry.m.
fem.geometry.BaseGeometry.MasterFaces |
Definition at line 66 of file BaseGeometry.m.
Referenced by computeFaces(), fem.geometry.Cube20Node.Cube20Node(), fem.geometry.Cube27Node.Cube27Node(), fem.geometry.Cube8Node.Cube8Node(), and plot().
fem.geometry.BaseGeometry.Nodes |
n x 3 position vector of nodes
SetAccess = Protected, GetAccess = Public
Definition at line 30 of file BaseGeometry.m.
Referenced by checkOrientation(), fem.geometry.Cube20Node.Cube20Node(), fem.geometry.Cube27Node.Cube27Node(), fem.geometry.Cube8Node.Cube8Node(), getBoundingBox(), getCommonNodesWith(), getSubMesh(), plot(), scale(), fem.geometry.Cube27Node.swapYZ(), toCMGUI(), fem.geometry.Cube8Node.toCube20Node(), fem.geometry.Cube27Node.toCube20Node(), fem.geometry.Cube8Node.toCube27Node(), fem.geometry.Cube27Node.toCube8Node(), and fem.geometry.Cube20Node.toCube8Node().
fem.geometry.BaseGeometry.NodesPerFace |
Definition at line 108 of file BaseGeometry.m.
fem.geometry.BaseGeometry.NumElements |
Definition at line 102 of file BaseGeometry.m.
Referenced by checkOrientation(), computeFaces(), plot(), reverseAxis(), and toCMGUI().
fem.geometry.BaseGeometry.NumFaces |
fem.geometry.BaseGeometry.NumNodes |
fem.geometry.BaseGeometry.OrientationCheckIndices |
Definition at line 95 of file BaseGeometry.m.
Referenced by checkOrientation(), fem.geometry.Cube20Node.Cube20Node(), fem.geometry.Cube27Node.Cube27Node(), and fem.geometry.Cube8Node.Cube8Node().
fem.geometry.BaseGeometry.PatchesPerFace |
Definition at line 80 of file BaseGeometry.m.
Referenced by fem.geometry.Cube20Node.Cube20Node(), fem.geometry.Cube27Node.Cube27Node(), fem.geometry.Cube8Node.Cube8Node(), and faceComputations().
fem.geometry.BaseGeometry.PatchFaces |
Definition at line 173 of file BaseGeometry.m.
Referenced by faceComputations().
fem.geometry.BaseGeometry.PatchFacesIdx |
The indices of the nodes suitable for creating a patch surface object.
SetAccess = Protected, GetAccess = Public
Definition at line 69 of file BaseGeometry.m.
Referenced by fem.geometry.Cube20Node.Cube20Node(), fem.geometry.Cube27Node.Cube27Node(), fem.geometry.Cube8Node.Cube8Node(), faceComputations(), and toCMGUI().
fem.geometry.BaseGeometry.ReverseAxesIndices |
Definition at line 97 of file BaseGeometry.m.
Referenced by fem.geometry.Cube20Node.Cube20Node(), fem.geometry.Cube27Node.Cube27Node(), and fem.geometry.Cube8Node.Cube8Node().
fem.geometry.BaseGeometry.Width |
Returns the width of the geometry (x-range)
Dependent
set to true. Definition at line 111 of file BaseGeometry.m.