rb_temporal_discretization.h
Go to the documentation of this file.
1 // rbOOmit: An implementation of the Certified Reduced Basis method.
2 // Copyright (C) 2009, 2010 David J. Knezevic
3 
4 // This file is part of rbOOmit.
5 
6 // rbOOmit is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
10 
11 // rbOOmit is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
15 
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 
20 #ifndef LIBMESH_RB_TEMPORAL_DISCRETIZATION_H
21 #define LIBMESH_RB_TEMPORAL_DISCRETIZATION_H
22 
23 // libMesh includes
24 #include "libmesh/libmesh_common.h"
25 
26 namespace libMesh
27 {
28 
35 {
36 public:
37 
42 
46  Real get_delta_t() const;
47  void set_delta_t(const Real delta_t_in);
48 
53  Real get_euler_theta() const;
54  void set_euler_theta(const Real euler_theta_in);
55 
59  unsigned int get_time_step() const;
60  void set_time_step(const unsigned int k);
61 
65  unsigned int get_n_time_steps() const;
66  void set_n_time_steps(const unsigned int K);
67 
71  void process_temporal_parameters_file (const std::string& parameters_filename);
72 
77 
78 private:
79 
84 
93 
97  unsigned int _current_time_step;
98 
102  unsigned int _n_time_steps;
103 
104 };
105 
106 }
107 
108 #endif // LIBMESH_RB_TEMPORAL_DISCRETIZATION_H

Site Created By: libMesh Developers
Last modified: February 07 2014 16:57:07 UTC

Hosted By:
SourceForge.net Logo