class ArpackSolver : public Subscriptor
{
public:
- /**
- * Enum to choose the eigenvalues of interest.
- */
- enum which
+ /**
+ * An enum that lists the possible
+ * choices for which eigenvalues to
+ * compute in the solve() function.
+ */
+ enum WhichEigenvalues
{
algebraically_largest,
algebraically_smallest,
struct AdditionalData
{
const unsigned int number_of_arnoldi_vectors;
- const which eigenvalue_of_interest;
+ const WhichEigenvalues eigenvalue_of_interest;
AdditionalData(
const unsigned int number_of_arnoldi_vectors = 15,
- const which eigenvalue_of_interest = largest_magnitude);
+ const WhichEigenvalues eigenvalue_of_interest = largest_magnitude);
};
/**
ArpackSolver::AdditionalData::
AdditionalData (const unsigned int number_of_arnoldi_vectors,
- const which eigenvalue_of_interest)
+ const WhichEigenvalues eigenvalue_of_interest)
:
number_of_arnoldi_vectors(number_of_arnoldi_vectors),
eigenvalue_of_interest(eigenvalue_of_interest)