Class: GCellSetManifold3

gcellset. GCellSetManifold3

new GCellSetManifold3()

Geometry cell set of mainfold 3.
Source:

Extends

Methods

axisSymm() → {Boolean}

Returns whether it is axis symmetric.
Inherited From:
Source:
Returns:
Type
Boolean

<virtual> bfun(paramCoords) → {module:types.Matrix}

Evaluate the basis function matrix.
Parameters:
Name Type Description
paramCoords module:types.Matrix Coordinates in parametric domain.
Inherited From:
Source:
Returns:
Nodal contributions. (cellSize by 1).
Type
module:types.Matrix

<virtual> bfundpar(paramCoords) → {module:types.Matrix}

Evaluate the derivatives of the basis function matrix.
Parameters:
Name Type Description
paramCoords module:types.Matrix Coordinates in parametric domain.
Inherited From:
Source:
Returns:
Nodal contribution derivatives. (cellSize by dim).
Type
module:types.Matrix

bfundsp(nder, x) → {module:types.Matrix}

Returns derivatives of the basis functions in spatical domain.
Parameters:
Name Type Description
nder module:types.Matrix Nodal derivatives in parametric domain.
x module:types.Matrix Nodal coordinates in spatial domain.
Inherited From:
Source:
Returns:
Derivatives of the basis functions in spatical domain.
Type
module:types.Matrix

boundary() → {module:gcellset.GCellSet}

Return the boundary of this gcellset.
Inherited From:
Source:
Returns:
the boundary gcellset.
Type
module:gcellset.GCellSet

boundaryCellType() → {String}

Return the type of boundary gcellset.
Inherited From:
Source:
Returns:
type of boundary gcellset.
Type
String

<virtual> boundaryConn() → {module:types.ConnectivityList}

Returns the connectivity list of the boundary. Override by subclasses.
Inherited From:
Source:
Returns:
Type
module:types.ConnectivityList

<virtual> boundaryGCellSetConstructor() → {function}

Returns the constructor of boundary gcellset. For example, Q4 should return L2 as its boundary cell constructor, while L2 should retrun P1.
Inherited From:
Source:
Returns:
the constructor of boundary gcellset.
Type
function

boxSelect() → {module:gcellset.GCellSet}

Return the indices of the cells that all (or any if options.any is true) of its nodes are inside the given box.
Parameters:
Type Description
module:fens.FeNodeSet
module:gcellset.boxSelectOption
Inherited From:
Source:
Returns:
the boundary gcellset.
Type
module:gcellset.GCellSet

<virtual> cellSize() → {Int}

Returns the cell size.
Inherited From:
Source:
Returns:
number of nodes per cell.
Type
Int

clone() → {module:gcellset.GCellSet}

Returns a clone of self.
Inherited From:
Source:
Returns:
Type
module:gcellset.GCellSet

conn() → {module:types.ConnectivityList}

Returns the connectiviy list.
Inherited From:
Source:
Returns:
connectivity list of length this.count().
Type
module:types.ConnectivityList

count() → {Int}

Return the number of cells.
Inherited From:
Source:
Returns:
Type
Int

dim() → {Int}

Source:
Returns:
Type
Int

edges() → {module:types.ConnectivityList}

Returns a list of L2 cells. Mainly used for visualization.
Inherited From:
Source:
Returns:
Type
module:types.ConnectivityList

equals() → {Boolean}

Return true if two gcellset is same.
Inherited From:
Source:
Returns:
Type
Boolean

extrude(flags) → {module:gcellset.GCellSet}

Return extruded gcellset.
Parameters:
Name Type Description
flags Array A list of flags, falsy value means skip this layer.
Inherited From:
Source:
Returns:
- extruded gcellset
Type
module:gcellset.GCellSet

<virtual> extrudedGCellSetConstructor() → {function}

Returns the constructor of extruded gcellset. For example, Q4 should return H8, L2 should return Q4.
Inherited From:
Source:
Returns:
the constructor of boundary gcellset.
Type
function

id() → {String}

Returns the unique id of this geometry cell set.
Inherited From:
Source:
Returns:
unique id.
Type
String

jacobian(conn, N, J, x) → {Number}

Evaluate the manifold Jacobian.
Parameters:
Name Type Description
conn module:types.Connectivity Connectivity of a single cell.
N module:types.Matrix Values of the basis functions. (cellSize by 1).
J module:types.Matrix Jacobian matrix.
x module:types.Matrix Spatial coordinates. (cellSize by dim).
Source:
Returns:
Type
Number

jacobianInDim(conn, N, J, x, dim) → {Number}

A convinient wrapper for jacobianVolumn.
Parameters:
Name Type Description
conn module:types.Connectivity Connectivity of a single cell.
N module:types.Matrix Values of the basis functions. (cellSize by 1).
J module:types.Matrix Jacobian matrix.
x module:types.Matrix Spatial coordinates. (cellSize by dim).
dim Int 3 (volumn).
Source:
Returns:
Type
Number

jacobianMatrix(nder, x) → {module:types.Matrix}

Evaluate the Jacob matrix.
Parameters:
Name Type Description
nder module:types.Matrix Nodal derivatives in parametric domain.
x module:types.Matrix Nodal coordinates in spatial domain.
Inherited From:
Source:
Returns:
Jacob matrix.
Type
module:types.Matrix

jacobianVolumn(conn, N, J, x) → {Number}

Evaluate the volumn Jacobian.
Parameters:
Name Type Description
conn module:types.Connectivity Connectivity of a single cell.
N module:types.Matrix Values of the basis functions. (cellSize by 1).
J module:types.Matrix Jacobian matrix.
x module:types.Matrix Spatial coordinates. (cellSize by dim).
Source:
Returns:
Type
Number

nfens() → {Int}

Return the number of nodes this gcellset connect
Inherited From:
Source:
Returns:
Type
Int

otherDimension(conn, N, x) → {Number}

Evaluate the other dimension (area, thickness) of the element at given parametric coordinates, or at any given spatial coordinate.
Parameters:
Name Type Description
conn module:types.Connectivity connectivity of a single cell.
N module:types.Matrix values of the basic functions.
x module:types.Matrix spatial coordinates.
Inherited From:
Source:
Returns:
Type
Number

setFamily_(name)

Set the topological family for gcellset.
Parameters:
Name Type Description
name String name of the family: 'P1L2T3T4', 'P1L3T6T10', 'P1L2Q4H8', 'P1L3Q8H20'
Inherited From:
Source:

subset(indices) → {module:gcellset.GCellSet}

Returns a new GCellSet of same type which is a subset of self by given indices.
Parameters:
Name Type Description
indices Array indices of selected cell, starts from 0.
Inherited From:
Source:
Returns:
Type
module:gcellset.GCellSet

topology() → {module:topology.Topology}

Returns the full topology of gcellset. Mainly used for visualization.
Inherited From:
Source:
Returns:
Type
module:topology.Topology

triangles() → {module:types.ConnectivityList}

Returns a list of T3 cells. Mainly used for visualization.
Inherited From:
Source:
Returns:
Type
module:types.ConnectivityList

<virtual> type() → {String}

Returns a unique type string of this gcellset.
Inherited From:
Source:
Returns:
the type string of this gcellset.
Type
String

vertices() → {module:types.Vector}

Returns a vector of vertices ids. Mainly used for visualization.
Inherited From:
Source:
Returns:
Type
module:types.Vector