Rythmos - Transient Integration for Differential Equations
Version of the Day
src
Rythmos_TrailingInterpolationBufferAcceptingIntegratorBase.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_TRAILING_INTERPOLATION_BUFFER_ACCEPTING_INTEGRATOR_BASE_HPP
31
#define RYTHMOS_TRAILING_INTERPOLATION_BUFFER_ACCEPTING_INTEGRATOR_BASE_HPP
32
33
34
#include "Rythmos_Types.hpp"
35
#include "Rythmos_IntegratorBase.hpp"
36
#include "Rythmos_InterpolationBufferBase.hpp"
37
38
namespace
Rythmos {
39
47
template
<
class
Scalar>
48
class
TrailingInterpolationBufferAcceptingIntegratorBase
:
virtual
public
IntegratorBase
<Scalar>
49
{
50
public
:
51
53
virtual
void
setTrailingInterpolationBuffer
(
54
const
RCP<
InterpolationBufferBase<Scalar>
> &trailingInterpBuffer
55
) = 0;
56
58
virtual
RCP<InterpolationBufferBase<Scalar> >
59
getNonconstTrailingInterpolationBuffer
() = 0;
60
62
virtual
RCP<const InterpolationBufferBase<Scalar> >
63
getTrailingInterpolationBuffer
()
const
= 0;
64
66
virtual
RCP<InterpolationBufferBase<Scalar> >
67
unSetTrailingInterpolationBuffer
() = 0;
68
69
};
70
71
72
}
// namespace Rythmos
73
74
75
#endif // RYTHMOS_TRAILING_INTERPOLATION_BUFFER_ACCEPTING_INTEGRATOR_BASE_HPP
Rythmos::TrailingInterpolationBufferAcceptingIntegratorBase::setTrailingInterpolationBuffer
virtual void setTrailingInterpolationBuffer(const RCP< InterpolationBufferBase< Scalar > > &trailingInterpBuffer)=0
Rythmos::TrailingInterpolationBufferAcceptingIntegratorBase::unSetTrailingInterpolationBuffer
virtual RCP< InterpolationBufferBase< Scalar > > unSetTrailingInterpolationBuffer()=0
Rythmos::IntegratorBase
Abstract interface for time integrators.
Definition:
Rythmos_IntegratorBase.hpp:62
Rythmos::TrailingInterpolationBufferAcceptingIntegratorBase::getTrailingInterpolationBuffer
virtual RCP< const InterpolationBufferBase< Scalar > > getTrailingInterpolationBuffer() const =0
Rythmos::TrailingInterpolationBufferAcceptingIntegratorBase::getNonconstTrailingInterpolationBuffer
virtual RCP< InterpolationBufferBase< Scalar > > getNonconstTrailingInterpolationBuffer()=0
Rythmos::InterpolationBufferBase
Base class for an interpolation buffer.
Definition:
Rythmos_InterpolationBufferBase.hpp:68
Rythmos::TrailingInterpolationBufferAcceptingIntegratorBase
Mix-in interface for integrator objects that accept a trailing interpolation buffer object to be used...
Definition:
Rythmos_TrailingInterpolationBufferAcceptingIntegratorBase.hpp:48
Generated by
1.8.16