Rythmos - Transient Integration for Differential Equations Version of the Day
Loading...
Searching...
No Matches
Rythmos_ErrWtVecCalcBase.hpp
1//@HEADER
2// ***********************************************************************
3//
4// Rythmos Package
5// Copyright (2006) Sandia Corporation
6//
7// Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
8// license for use of this work by or on behalf of the U.S. Government.
9//
10// This library is free software; you can redistribute it and/or modify
11// it under the terms of the GNU Lesser General Public License as
12// published by the Free Software Foundation; either version 2.1 of the
13// License, or (at your option) any later version.
14//
15// This library is distributed in the hope that it will be useful, but
16// WITHOUT ANY WARRANTY; without even the implied warranty of
17// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18// Lesser General Public License for more details.
19//
20// You should have received a copy of the GNU Lesser General Public
21// License along with this library; if not, write to the Free Software
22// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
23// USA
24// Questions? Contact Todd S. Coffey (tscoffe@sandia.gov)
25//
26// ***********************************************************************
27//@HEADER
28
29
30#ifndef RYTHMOS_ERR_WT_VEC_CALC_BASE_HPP
31#define RYTHMOS_ERR_WT_VEC_CALC_BASE_HPP
32
33
34#include "Thyra_VectorBase.hpp"
35#include "Teuchos_RCP.hpp"
36#include "Teuchos_VerboseObject.hpp"
37#include "Teuchos_ParameterListAcceptor.hpp"
38#include "Teuchos_Describable.hpp"
39
40namespace Rythmos {
41
42template<class Scalar>
43class ErrWtVecCalcBase
44 : virtual public Teuchos::Describable
45 , virtual public Teuchos::ParameterListAcceptor
46 , virtual public Teuchos::VerboseObject<ErrWtVecCalcBase<Scalar> >
47{
48public:
49
51 virtual void errWtVecSet(
52 Thyra::VectorBase<Scalar>* weight
53 ,const Thyra::VectorBase<Scalar>& vector
54 ,Scalar relTol
55 ,Scalar absTol
56 ) const = 0;
57
58};
59
60} // namespace Rythmos
61
62
63#endif // RYTHMOS_ERR_WT_VEC_CALC_BASE_HPP