Rythmos - Transient Integration for Differential Equations  Version of the Day
 All Classes Functions Variables Typedefs Pages
Rythmos_Types.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 #ifndef Rythmos_TYPES_HPP
30 #define Rythmos_TYPES_HPP
31 
32 
33 #include "Rythmos_ConfigDefs.h"
34 #include "Thyra_VectorBase.hpp"
35 #include "Teuchos_RCP.hpp"
36 #include "Teuchos_FancyOStream.hpp"
37 #include "Teuchos_Array.hpp"
38 #include "Teuchos_ArrayRCP.hpp"
39 #include "Teuchos_ParameterList.hpp"
40 #include "Teuchos_ScalarTraits.hpp"
41 #include "Teuchos_TypeNameTraits.hpp"
42 #include "Teuchos_AbstractFactory.hpp"
43 #include "Teuchos_TimeMonitor.hpp"
44 
45 
46 
47 
48 namespace Rythmos {
49 
50 
51 // Using declarations from Teuchos
52 
53 // 1/15/09 tscoffe: Don't put using declarations for functions here! Types are okay.
54 
56 using Teuchos::Ptr;
58 using Teuchos::RCP;
60 using Teuchos::FancyOStream;
62 using Teuchos::ArrayView;
64 using Teuchos::Array;
66 using Teuchos::ArrayRCP;
68 using Teuchos::ParameterList;
70 using Teuchos::ScalarTraits;
72 using Teuchos::TypeNameTraits;
74 using Teuchos::AbstractFactory;
75 
76 
77 
78 // Using declarations from Teuchos
79 
80 
82 using Thyra::VectorBase;
83 
84 
85 namespace Exceptions {
86 
87 
91 class ExceptionBase : public std::runtime_error
92 {public: ExceptionBase(const std::string& what_arg) : std::runtime_error(what_arg) {}};
93 
94 
95 } // namespace Exceptions
96 
97 
98 } // namespace Rythmos
99 
100 
101 #endif // Rythmos_TYPES_HPP
102 
103 
104