FEDEM Solver  R8.0
Source code of the dynamics solver
Functions
FFaAlgebra Namespace Reference

Namespace with matrix-vector function used by FE file parsers, etc. More...

Functions

void eccTransform6 (double mat[6][6], const FaVec3 &X)
 Performs eccentricity transformation of a 6×6 element matrix. More...
 
bool congruenceTransform (double **mat, const FaMat33 &T, int N, int node=0)
 Performs congruence transformation of a symmetric 3N×3N element matrix. More...
 

Detailed Description

Namespace with matrix-vector function used by FE file parsers, etc.

Function Documentation

◆ congruenceTransform()

bool FFaAlgebra::congruenceTransform ( double **  mat,
const FaMat33 &  T,
int  N,
int  node = 0 
)

Performs congruence transformation of a symmetric 3N×3N element matrix.

The transformation matrix consists of a 3×3 submatrix T, which is repeated along the diagonal (when node == 0). If node > 0, the transformation matrix equals the identity matrix, but with the submatrix T inserted on the diagonal at position 3*(node-1)+1 to 3*node.

The implementation of this function is based on the Fortran routine mpro30() in the file src/Femlib/beamaux.f

◆ eccTransform6()

void FFaAlgebra::eccTransform6 ( double  mat[6][6],
const FaVec3 &  X 
)

Performs eccentricity transformation of a 6×6 element matrix.

The implementation of this function is based on the Fortran routine trix30() in the file src/Femlib/beamaux.f

Note
The vector X is here assumed to point FROM the nodal point location TO the actual element location (this is opposite to the case in trix30()).