Class xlifepp::EigenElements#
-
class EigenElements#
-
Collaboration diagram for xlifepp::EigenElements:
end user class containing eigenValues and eigenVectors computed by an eigen solver.
Public Functions
-
EigenElements(const TermMatrix *A_p, bool singleUnknown, bool isr, const std::vector<std::pair<complex_t, VectorEntry*>> &vvp, EigenSortKind esortk = _incr_module, string_t resname = "")#
-
main constructor
-
inline EigenElements &applyBoundaryConditions(const EssentialConditions &ecs, const ReductionMethod &rm = ReductionMethod())#
-
- Parameters:
-
rm – apply essential conditions to eigen vectors
-
inline EigenElements &applyEssentialConditions(const EssentialConditions &ecs, const ReductionMethod &rm = ReductionMethod())#
-
- Parameters:
-
rm – apply essential conditions to eigen vectors
-
inline EigenElements &applyEssentialConditions(const SetOfConstraints &sec, const ReductionMethod &rm = ReductionMethod())#
-
- Parameters:
-
rm – apply constraints to eigen vectors
-
inline std::pair<complex_t, TermVector> element(number_t n) const#
-
access to nth eigen element (n>=1)
-
inline bool isReal() const#
-
move eigenvectors to real
-
void print(std::ostream&) const#
-
output on stream
Output on stream.
-
inline TermVector &vector(number_t n)#
-
access to n-th eigen vector (n>=1)
-
inline const TermVector &vector(number_t n) const#
-
access to n-th eigen vector (n>=1)
Public Members
-
std::vector<complex_t> values#
-
list of eigen values
-
TermVectors vectors#
-
list of eigen vectors, same size as values
-
EigenElements(const TermMatrix *A_p, bool singleUnknown, bool isr, const std::vector<std::pair<complex_t, VectorEntry*>> &vvp, EigenSortKind esortk = _incr_module, string_t resname = "")#