svMultiPhysics
Loading...
Searching...
No Matches
Typedefs
Matrix.h File Reference

Fixed-size matrix types for FE computations, backed by Eigen. More...

#include "Vector.h"
#include <Eigen/Core>
#include <cstddef>
Include dependency graph for Matrix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

template<typename T , std::size_t M, std::size_t N>
using svmp::FE::math::Matrix = Eigen::Matrix< T, static_cast< int >(M), static_cast< int >(N)>
 Fixed-size matrix for element-level computations.
 

Detailed Description

Fixed-size matrix types for FE computations, backed by Eigen.

The FE library standardizes on Eigen for linear algebra. These aliases give element-level code a stable vocabulary type without re-exporting all of Eigen. Storage is Eigen's default (column-major); element access through operator()(row, col) is unchanged. Note that, unlike the previous in-house implementation, Eigen types are NOT zero-initialized by default construction; use Matrix::Zero() where a zeroed value is required.