GRINS-0.8.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
solver
include
grins
steady_mesh_adaptive_solver.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
#ifndef GRINS_STEADY_MESH_ADAPTIVE_SOLVER_H
26
#define GRINS_STEADY_MESH_ADAPTIVE_SOLVER_H
27
28
// GRINS
29
#include "
grins/solver.h
"
30
#include "
grins/mesh_adaptive_solver_base.h
"
31
32
namespace
GRINS
33
{
34
// Forward declartions
35
class
SolverContext;
36
class
MultiphysicsSystem;
37
38
class
SteadyMeshAdaptiveSolver
:
public
Solver
,
39
public
MeshAdaptiveSolverBase
40
{
41
public
:
42
43
SteadyMeshAdaptiveSolver
(
const
GetPot& input );
44
45
virtual
~SteadyMeshAdaptiveSolver
();
46
47
virtual
void
solve
(
SolverContext
& context );
48
49
virtual
void
adjoint_qoi_parameter_sensitivity
50
(
SolverContext
& context,
51
const
libMesh::QoISet& qoi_indices,
52
const
libMesh::ParameterVector& parameters_in,
53
libMesh::SensitivityData& sensitivities)
const
;
54
55
virtual
void
forward_qoi_parameter_sensitivity
56
(
SolverContext
& context,
57
const
libMesh::QoISet& qoi_indices,
58
const
libMesh::ParameterVector& parameters_in,
59
libMesh::SensitivityData& sensitivities)
const
;
60
61
protected
:
62
63
virtual
void
init_time_solver
(
MultiphysicsSystem
* system );
64
65
void
check_qoi_error_option_consistency
(
SolverContext
& context );
66
67
};
68
69
}
// end namespace GRINS
70
#endif // GRINS_STEADY_MESH_ADAPTIVE_SOLVER_H
GRINS::SteadyMeshAdaptiveSolver::forward_qoi_parameter_sensitivity
virtual void forward_qoi_parameter_sensitivity(SolverContext &context, const libMesh::QoISet &qoi_indices, const libMesh::ParameterVector ¶meters_in, libMesh::SensitivityData &sensitivities) const
Definition:
steady_mesh_adaptive_solver.C:174
GRINS::Solver
Definition:
solver.h:51
GRINS::SteadyMeshAdaptiveSolver::solve
virtual void solve(SolverContext &context)
Definition:
steady_mesh_adaptive_solver.C:79
mesh_adaptive_solver_base.h
GRINS::SteadyMeshAdaptiveSolver::check_qoi_error_option_consistency
void check_qoi_error_option_consistency(SolverContext &context)
Definition:
steady_mesh_adaptive_solver.C:65
GRINS
GRINS namespace.
Definition:
arrhenius_catalycity.h:31
GRINS::SteadyMeshAdaptiveSolver::~SteadyMeshAdaptiveSolver
virtual ~SteadyMeshAdaptiveSolver()
Definition:
steady_mesh_adaptive_solver.C:51
solver.h
GRINS::MultiphysicsSystem
Interface with libMesh for solving Multiphysics problems.
Definition:
multiphysics_sys.h:77
GRINS::SteadyMeshAdaptiveSolver
Definition:
steady_mesh_adaptive_solver.h:38
GRINS::SteadyMeshAdaptiveSolver::SteadyMeshAdaptiveSolver
SteadyMeshAdaptiveSolver(const GetPot &input)
Definition:
steady_mesh_adaptive_solver.C:44
GRINS::SolverContext
Simple class to hold objects passed to Solver::solve.
Definition:
solver_context.h:51
GRINS::MeshAdaptiveSolverBase
Definition:
mesh_adaptive_solver_base.h:52
GRINS::SteadyMeshAdaptiveSolver::adjoint_qoi_parameter_sensitivity
virtual void adjoint_qoi_parameter_sensitivity(SolverContext &context, const libMesh::QoISet &qoi_indices, const libMesh::ParameterVector ¶meters_in, libMesh::SensitivityData &sensitivities) const
Definition:
steady_mesh_adaptive_solver.C:164
GRINS::SteadyMeshAdaptiveSolver::init_time_solver
virtual void init_time_solver(MultiphysicsSystem *system)
Definition:
steady_mesh_adaptive_solver.C:56
Generated on Tue Dec 19 2017 12:47:28 for GRINS-0.8.0 by
doxygen
1.8.9.1