00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef Rythmos_ERROR_ESTIMATOR_BASE_H
00030 #define Rythmos_ERROR_ESTIMATOR_BASE_H
00031
00032 #include "Teuchos_Describable.hpp"
00033 #include "Teuchos_ParameterListAcceptor.hpp"
00034 #include "Teuchos_VerboseObject.hpp"
00035 #include "Thyra_ModelEvaluator.hpp"
00036
00037 #include "Rythmos_ErrorEstimateBase.hpp"
00038
00039 namespace Rythmos {
00040
00041 enum ERROR_QUANTITY_OF_INTEREST { INVALID_ERROR_QTY, AVERAGE_ERROR_QTY, ENDPOINT_ERROR_QTY };
00042
00043 template<class Scalar>
00044 class ErrorEstimatorBase
00045 : virtual public Teuchos::Describable
00046 , virtual public Teuchos::ParameterListAcceptor
00047 , virtual public Teuchos::VerboseObject<ErrorEstimatorBase<Scalar> >
00048 {
00049 public:
00050
00051
00052 virtual void setModel( const Teuchos::RCP<Thyra::ModelEvaluator<Scalar> > model ) = 0;
00053
00054
00055 virtual void setQuantityOfInterest( ERROR_QUANTITY_OF_INTEREST qtyOfInterest ) = 0;
00056
00057
00058 virtual Teuchos::RCP<const ErrorEstimateBase<Scalar> > getErrorEstimate() = 0;
00059
00060 };
00061
00062
00063 }
00064
00065
00066 #endif // Rythmos_ERROR_ESTIMATOR_BASE_H