Skip to content
Snippets Groups Projects
Commit 83860fd4 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[PL] Clarify KelvinV/M types in BMatrixPolicy.

Especially point out the difference between the
KelvinVector/MatrixType from ProcessLib.
parent 7cb217a8
No related branches found
No related tags found
No related merge requests found
......@@ -39,13 +39,15 @@ struct KelvinVectorDimensions<3>
/// Kelvin vector type for given displacement dimension.
/// \note The Eigen vector is always a fixed size vector in contrast to the
/// BMatrixPolicyType::StressVectorType.
/// BMatrixPolicyType::KelvinVectorType.
template <int DisplacementDim>
using KelvinVectorType =
Eigen::Matrix<double, KelvinVectorDimensions<DisplacementDim>::value, 1,
Eigen::ColMajor>;
/// Kelvin matrix type for given displacement dimension.
/// \note The Eigen matrix is always a fixed size matrix in contrast to the
/// BMatrixPolicyType::KelvinMatrixType.
template <int DisplacementDim>
using KelvinMatrixType =
Eigen::Matrix<double, KelvinVectorDimensions<DisplacementDim>::value,
......@@ -80,11 +82,13 @@ public:
/// Rhs residual
using NodalForceVectorType = VectorType<_number_of_dof>;
/// Sigma
using StressVectorType = VectorType<_kelvin_vector_size>;
/// This type can be different (fixed vs. dynamic size) from the
/// ProcessLib::KelvinVectorType.
using KelvinVectorType = VectorType<_kelvin_vector_size>;
/// C
using ModulusMatrixType =
/// This type can be different (fixed vs. dynamic size) from the
/// ProcessLib::KelvinMatrixType.
using KelvinMatrixType =
MatrixType<_kelvin_vector_size, _kelvin_vector_size>;
using BMatrixType = MatrixType<_kelvin_vector_size, _number_of_dof>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment