Description

Classes | |
| class | chrono::ChJoint |
| Wrapper class for a joint in a Chrono system which can be either a kinematic joint or a bushing. More... | |
| class | chrono::ChModalAnalysis |
| Base class for modal analysis. More... | |
| class | chrono::ChModalAnalysisDamped |
| Modal analysis of damped systems of the form (-w^2*M + i*w*R + K)*x = 0 s.t. More... | |
| class | chrono::ChModalAnalysisUndamped< EigenvalueSolverType > |
| Modal analysis of undamped systems (-w^2*M+K)*x = 0 s.t. More... | |
| class | chrono::ChObj |
| Base class for all Chrono objects. More... | |
Enumerations | |
| enum | chrono::UpdateFlags : uint8_t { NONE = 0u, DYNAMICS = 1u << 0, JACOBIANS = 1u << 1, VISUAL_ASSETS = 1u << 2, UPDATE_ALL = DYNAMICS | JACOBIANS | VISUAL_ASSETS, UPDATE_ALL_NO_VISUAL = DYNAMICS | JACOBIANS } |
| Flags that control the update operations. More... | |
Functions | |
| void | chrono::BuildUndampedEigenProblemMatrices (ChAssembly &assembly, ChSystemDescriptor &temp_descriptor, ChSparseMatrix &A, ChSparseMatrix &B, int n_vars) |
| Partially build the undamped eigenvalue problem matrices A and B from a given ChAssembly. More... | |
| constexpr UpdateFlags | chrono::operator| (UpdateFlags lhs, UpdateFlags rhs) noexcept |
| constexpr UpdateFlags | chrono::operator& (UpdateFlags lhs, UpdateFlags rhs) noexcept |
| constexpr UpdateFlags | chrono::operator^ (UpdateFlags lhs, UpdateFlags rhs) noexcept |
| constexpr UpdateFlags | chrono::operator~ (UpdateFlags flag) noexcept |
| constexpr UpdateFlags & | chrono::operator|= (UpdateFlags &lhs, UpdateFlags rhs) noexcept |
| constexpr UpdateFlags & | chrono::operator&= (UpdateFlags &lhs, UpdateFlags rhs) noexcept |
| constexpr UpdateFlags & | chrono::operator^= (UpdateFlags &lhs, UpdateFlags rhs) noexcept |
| template<typename Enum > | |
| constexpr bool | chrono::has_flag (Enum flags, Enum flag) noexcept |
| int | chrono::ChModalAnalysisUndamped< EigenvalueSolverType >::Solve (const ChAssembly &assembly, ChMatrixDynamic< ScalarType > &eigvects, ChVectorDynamic< ScalarType > &eigvals, ChVectorDynamic< double > &freq) const |
| Solve the constrained eigenvalue problem retrieving it from the ChAssembly. More... | |
| int | chrono::ChModalAnalysisUndamped< EigenvalueSolverType >::Solve (const ChSparseMatrix &K, const ChSparseMatrix &M, const ChSparseMatrix &Cq, ChMatrixDynamic< ScalarType > &eigvects, ChVectorDynamic< ScalarType > &eigvals, ChVectorDynamic< double > &freq) const |
| Solve the constrained eigenvalue problem setting it up from individual matrices. More... | |
Enumeration Type Documentation
◆ UpdateFlags
|
strong |
Flags that control the update operations.
These flags can be combined with bitwise operators. For example:
UpdateFlags flags = UpdateFlags::DYNAMICS | UpdateFlags::JACOBIANS;
if (has_flag(flags, UpdateFlags::DYNAMICS)) { ... }
Function Documentation
◆ BuildUndampedEigenProblemMatrices()
| void ChApi chrono::BuildUndampedEigenProblemMatrices | ( | ChAssembly & | assembly, |
| ChSystemDescriptor & | temp_descriptor, | ||
| ChSparseMatrix & | A, | ||
| ChSparseMatrix & | B, | ||
| int | n_vars | ||
| ) |
Partially build the undamped eigenvalue problem matrices A and B from a given ChAssembly.
Utility function to build the A and B matrices for the undamped eigenvalue problem.
WARNING: Cq and Cq' signs are not flipped here: the user is expected to flip it during scaling (if any). The finale shape should be: A = [ -K -Cq' ] [ -Cq 0 ]
B = [ M 0 ] [ 0 0 ]
◆ Solve() [1/2]
| int chrono::ChModalAnalysisUndamped< EigenvalueSolverType >::Solve | ( | const ChAssembly & | assembly, |
| ChMatrixDynamic< ScalarType > & | eigvects, | ||
| ChVectorDynamic< ScalarType > & | eigvals, | ||
| ChVectorDynamic< double > & | freq | ||
| ) | const |
Solve the constrained eigenvalue problem retrieving it from the ChAssembly.
Only the position part of the eigenvectors is returned, unless SetClipPositionCoords(false) is called.
◆ Solve() [2/2]
| int chrono::ChModalAnalysisUndamped< EigenvalueSolverType >::Solve | ( | const ChSparseMatrix & | K, |
| const ChSparseMatrix & | M, | ||
| const ChSparseMatrix & | Cq, | ||
| ChMatrixDynamic< ScalarType > & | eigvects, | ||
| ChVectorDynamic< ScalarType > & | eigvals, | ||
| ChVectorDynamic< double > & | freq | ||
| ) | const |
Solve the constrained eigenvalue problem setting it up from individual matrices.
Only the position part of the eigenvectors is returned, unless SetClipPositionCoords(false) is called.