GRINS-0.6.0
solver_context.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------bl-
2 //--------------------------------------------------------------------------
3 //
4 // GRINS - General Reacting Incompressible Navier-Stokes
5 //
6 // Copyright (C) 2014-2015 Paul T. Bauman, Roy H. Stogner
7 // Copyright (C) 2010-2013 The PECOS Development Team
8 //
9 // This library is free software; you can redistribute it and/or
10 // modify it under the terms of the Version 2.1 GNU Lesser General
11 // Public License as published by the Free Software Foundation.
12 //
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // Lesser General Public License for more details.
17 //
18 // You should have received a copy of the GNU Lesser General Public
19 // License along with this library; if not, write to the Free Software
20 // Foundation, Inc. 51 Franklin Street, Fifth Floor,
21 // Boston, MA 02110-1301 USA
22 //
23 //-----------------------------------------------------------------------el-
24 
25 
26 #ifndef GRINS_SOLVER_CONTEXT_H
27 #define GRINS_SOLVER_CONTEXT_H
28 
29 #include "boost/tr1/memory.hpp"
30 
31 // GRINS
32 #include "grins/visualization.h"
34 
35 // libMesh
36 #include "libmesh/error_estimator.h"
37 #include "libmesh/equation_systems.h"
38 
39 namespace GRINS
40 {
41  // Forward declarations
42  class MultiphysicsSystem;
43 
45 
50  {
51  public:
52 
53  SolverContext();
55 
57  std::tr1::shared_ptr<libMesh::EquationSystems> equation_system;
58  std::tr1::shared_ptr<GRINS::Visualization> vis;
59  unsigned int timesteps_per_vis;
60  unsigned int timesteps_per_perflog;
61  bool output_vis;
68  bool print_qoi;
70 
71  std::tr1::shared_ptr<PostProcessedQuantities<libMesh::Real> > postprocessing;
72 
73  std::tr1::shared_ptr<libMesh::ErrorEstimator> error_estimator;
74 
75  };
76 
77 } // end namespace GRINS
78 #endif // GRINS_SOLVER_CONTEXT_H
std::tr1::shared_ptr< libMesh::EquationSystems > equation_system
GRINS namespace.
unsigned int timesteps_per_perflog
std::tr1::shared_ptr< libMesh::ErrorEstimator > error_estimator
unsigned int timesteps_per_vis
GRINS::MultiphysicsSystem * system
Interface with libMesh for solving Multiphysics problems.
std::tr1::shared_ptr< PostProcessedQuantities< libMesh::Real > > postprocessing
std::tr1::shared_ptr< GRINS::Visualization > vis
Simple class to hold objects passed to Solver::solve.

Generated on Mon Jun 22 2015 21:32:20 for GRINS-0.6.0 by  doxygen 1.8.9.1