33 #include <solution/system_of_eqn/eigenSOE/EigenSOE.h> 35 #include <Eigen/SparseCore> 47 typedef Eigen::Triplet<double> T;
48 std::deque<T> tripletListA;
49 std::deque<T> tripletListM;
51 Eigen::SparseMatrix<double> A;
52 Eigen::SparseMatrix<double> M;
54 int addToMatrix(std::deque<T> &,
const Matrix &,
const ID &,
const double &);
55 void store_mass_matrix(
void);
67 virtual int addA(
const Matrix &,
const ID &,
double fact = 1.0);
68 virtual int addM(
const Matrix &,
const ID &,
double fact = 1.0);
70 virtual void zeroA(
void);
71 virtual void zeroM(
void);
74 inline const Eigen::SparseMatrix<double> &getA(
void)
const 76 virtual boost::python::list
getAPy(
void)
const;
77 inline const Eigen::SparseMatrix<double> &getM(
void)
const Base class for eigenproblem systems of equations.
Definition: EigenSOE.h:64
Communication parameters between processes.
Definition: Communicator.h:66
virtual void identityM(void)
Makes M the identity matrix (to find stiffness matrix eigenvalues).
Definition: SpectraSOE.cc:241
virtual int setSize(Graph &theGraph)
Sets the system size.
Definition: SpectraSOE.cc:56
Arpack++ based band matrix eigenvalue SOE solver.
Definition: SpectraSOE.h:44
bool setSolver(EigenSolver *)
Sets the solver to use.
Definition: SpectraSOE.cc:40
virtual void zeroM(void)
Zeroes the matrix M.
Definition: SpectraSOE.cc:233
FEM_ObjectBroker is is an object broker class for the finite element method.
Definition: FEM_ObjectBroker.h:151
Vector of integers.
Definition: ID.h:95
SpectraSOE(SolutionStrategy *)
Constructor.
Definition: SpectraSOE.cc:36
virtual int addM(const Matrix &, const ID &, double fact=1.0)
Assemblies into M the matrix being passed as parameter multimplied by the fact parameter.
Definition: SpectraSOE.cc:150
Eigenvalue SOE solver.
Definition: EigenSolver.h:60
virtual void zeroA(void)
Zeroes the matrix A.
Definition: SpectraSOE.cc:142
System of equations base class.
Definition: SystemOfEqn.h:90
virtual int addA(const Matrix &, const ID &, double fact=1.0)
Assemblies into A the matrix being passed as parameter multimplied by the fact parameter.
Definition: SpectraSOE.cc:138
The Graph class provides the abstraction of a graph.
Definition: Graph.h:94
Solution strategy for the finite element problem.
Definition: SolutionStrategy.h:94
virtual boost::python::list getAPy(void) const
Return the rows of the mass matrix in a Python list.
Definition: SpectraSOE.cc:269
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
int sendSelf(Communicator &)
Send the object.
Definition: SpectraSOE.cc:290
Arpack++ based band matrix eigenproblem solver.
Definition: SpectraSolver.h:41
Matrix of floats.
Definition: Matrix.h:111
int recvSelf(const Communicator &)
Receive the object.
Definition: SpectraSOE.cc:293
void assembleMatrices(void)
Assemble the matrices.
Definition: SpectraSOE.cc:224
SystemOfEqn * getCopy(void) const
Virtual constructor.
Definition: SpectraSOE.h:86