Anasazi Version of the Day
Loading...
Searching...
No Matches
ModalProblem.h
1// @HEADER
2// *****************************************************************************
3// Anasazi: Block Eigensolvers Package
4//
5// Copyright 2004 NTESS and the Anasazi contributors.
6// SPDX-License-Identifier: BSD-3-Clause
7// *****************************************************************************
8// @HEADER
9
10// This software is a result of the research described in the report
11//
12// "A comparison of algorithms for modal analysis in the absence
13// of a sparse direct method", P. Arbenz, R. Lehoucq, and U. Hetmaniuk,
14// Sandia National Laboratories, Technical report SAND2003-1028J.
15//
16// It is based on the Epetra, AztecOO, and ML packages defined in the Trilinos
17// framework ( http://trilinos.org/ ).
18
19#ifndef MODAL_PROBLEM_H
20#define MODAL_PROBLEM_H
21
22class Epetra_MultiVector;
23
24class ModalProblem {
25
26 public:
27
28 virtual ~ModalProblem() { }
29
30 virtual const Epetra_Operator* getStiffness() const = 0;
31 virtual const Epetra_Operator* getMass() const = 0;
32
33 virtual int eigenCheck(const Epetra_MultiVector &Q, double *lambda,
34 double *normWeight) const { return 0; };
35
36 virtual void memoryInfo() const { };
37 virtual void problemInfo() const { };
38
39};
40
41#endif