GRINS-0.8.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-2017 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 #include "grins/qoi_output.h"
36 
37 // libMesh
38 #include "libmesh/error_estimator.h"
39 #include "libmesh/equation_systems.h"
40 
41 namespace GRINS
42 {
43  // Forward declarations
44  class MultiphysicsSystem;
45 
47 
52  {
53  public:
54 
55  SolverContext();
57 
59  SharedPtr<libMesh::EquationSystems> equation_system;
60  SharedPtr<GRINS::Visualization> vis;
61  unsigned int timesteps_per_vis;
62  unsigned int timesteps_per_perflog;
63  bool output_vis;
71 
72  SharedPtr<QoIOutput> qoi_output;
73 
74  SharedPtr<PostProcessedQuantities<libMesh::Real> > postprocessing;
75 
76  SharedPtr<libMesh::ErrorEstimator> error_estimator;
77 
79 
80  };
81 
82 } // end namespace GRINS
83 #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
SharedPtr< QoIOutput > qoi_output
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 Tue Dec 19 2017 12:47:28 for GRINS-0.8.0 by  doxygen 1.8.9.1