GRINS-0.7.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-2016 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 "grins/shared_ptr.h"
30 
31 // GRINS
32 #include "grins/shared_ptr.h"
33 #include "grins/visualization.h"
35 
36 // libMesh
37 #include "libmesh/error_estimator.h"
38 #include "libmesh/equation_systems.h"
39 
40 namespace GRINS
41 {
42  // Forward declarations
43  class MultiphysicsSystem;
44 
46 
51  {
52  public:
53 
54  SolverContext();
56 
58  SharedPtr<libMesh::EquationSystems> equation_system;
59  SharedPtr<GRINS::Visualization> vis;
60  unsigned int timesteps_per_vis;
61  unsigned int timesteps_per_perflog;
62  bool output_vis;
69  bool print_qoi;
71 
72  SharedPtr<PostProcessedQuantities<libMesh::Real> > postprocessing;
73 
74  SharedPtr<libMesh::ErrorEstimator> error_estimator;
75 
77 
78  };
79 
80 } // end namespace GRINS
81 #endif // GRINS_SOLVER_CONTEXT_H
SharedPtr< libMesh::EquationSystems > equation_system
SharedPtr< PostProcessedQuantities< libMesh::Real > > postprocessing
SharedPtr< libMesh::ErrorEstimator > error_estimator
GRINS namespace.
unsigned int timesteps_per_perflog
unsigned int timesteps_per_vis
GRINS::MultiphysicsSystem * system
SharedPtr< GRINS::Visualization > vis
Interface with libMesh for solving Multiphysics problems.
Simple class to hold objects passed to Solver::solve.

Generated on Thu Jun 2 2016 21:52:28 for GRINS-0.7.0 by  doxygen 1.8.10