| 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 |
#ifndef RBGEN_NO_PREPROCESSOR_HPP |
| 11 |
#define RBGEN_NO_PREPROCESSOR_HPP |
| 12 |
|
| 13 |
#include "RBGen_Preprocessor.hpp" |
| 14 |
|
| 15 |
namespace RBGen { |
| 16 |
|
| 17 |
//! Null preprocessor concrete class. |
| 18 |
template< class DataSetType > |
| 19 |
class NoPreprocessor : public Preprocessor< DataSetType > { |
| 20 |
|
| 21 |
public: |
| 22 |
//! @name Constructor/Destructor. |
| 23 |
//@{ |
| 24 |
|
| 25 |
//! Default constructor. |
| 26 |
NoPreprocessor() {}; |
| 27 |
|
| 28 |
//! Destructor. |
| 29 |
virtual ~NoPreprocessor() {}; |
| 30 |
//@} |
| 31 |
|
| 32 |
//! @name Initialization/Reset Methods |
| 33 |
//@{ |
| 34 |
|
| 35 |
//! Initialize preprocessor |
| 36 |
void Initialize( const Teuchos::RCP< Teuchos::ParameterList >& params, |
| 37 |
const Teuchos::RCP< FileIOHandler<DataSetType> >& fileio ) {}; |
| 38 |
|
| 39 |
//! Reset preprocessor |
| 40 |
void Reset() {}; |
| 41 |
//@} |
| 42 |
|
| 43 |
//! @name Preprocess Methods |
| 44 |
//@{ |
| 45 |
|
| 46 |
//! Preprocess the snapshot set passed in |
| 47 |
void Preprocess( Teuchos::RCP<DataSetType>& ss ) {}; |
| 48 |
//@} |
| 49 |
|
| 50 |
//! @name Status Methods |
| 51 |
//@{ |
| 52 |
|
| 53 |
//! Return initialized status of the preprocessor |
| 54 |
bool isInitialized() const { return true; }; |
| 55 |
//@} |
| 56 |
}; |
| 57 |
|
| 58 |
} // end of RBGen namespace |
| 59 |
|
| 60 |
#endif // RBGEN_NO_PREPROCESSOR_HPP |