ASPECT
stokes_direct.h
Go to the documentation of this file.
1 // ------------------------------------------------------
2 //
3 // SPDX-License-Identifier: GPL-2.0-or-later
4 //
5 // SPDX-FileCopyrightText: Copyright (C) 2025 by the ASPECT authors.
6 //
7 // This file is part of ASPECT.
8 //
9 // Detailed license information governing the source code and
10 // contributions can be found in the folder LICENSES and in
11 // LICENSE and CONTRIBUTING.md at the top level directory.
12 //
13 // ------------------------------------------------------
14 
15 #ifndef _aspect_simulator_solver_stokes_direct_h
16 #define _aspect_simulator_solver_stokes_direct_h
17 
18 #include <aspect/global.h>
20 
21 
22 namespace aspect
23 {
24  namespace StokesSolver
25  {
30  template <int dim>
31  class Direct: public Interface<dim>
32  {
33  public:
56  SolverOutputs solve(const LinearAlgebra::BlockSparseMatrix &system_matrix,
57  const LinearAlgebra::BlockVector &system_rhs,
58  const bool solve_newton_system,
59  const double last_pressure_normalization_adjustment,
60  LinearAlgebra::BlockVector &solution_vector) override;
61 
65  std::string name() const override;
66  };
67  }
68 }
69 
70 #endif
::TrilinosWrappers::MPI::BlockVector BlockVector
Definition: global.h:295
::TrilinosWrappers::BlockSparseMatrix BlockSparseMatrix
Definition: global.h:306
SolverOutputs solve(const LinearAlgebra::BlockSparseMatrix &system_matrix, const LinearAlgebra::BlockVector &system_rhs, const bool solve_newton_system, const double last_pressure_normalization_adjustment, LinearAlgebra::BlockVector &solution_vector) override
std::string name() const override