ASPECT
simulator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2011 - 2022 by the authors of the ASPECT code.
3 
4  This file is part of ASPECT.
5 
6  ASPECT is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2, or (at your option)
9  any later version.
10 
11  ASPECT is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with ASPECT; see the file LICENSE. If not see
18  <http://www.gnu.org/licenses/>.
19 */
20 
21 
22 #ifndef _aspect_simulator_h
23 #define _aspect_simulator_h
24 
25 #include <deal.II/base/timer.h>
26 #include <deal.II/base/parameter_handler.h>
27 #include <deal.II/base/conditional_ostream.h>
28 #include <deal.II/base/symmetric_tensor.h>
29 
30 DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
31 
32 #include <deal.II/lac/affine_constraints.h>
33 
34 #include <deal.II/distributed/tria.h>
35 
36 #include <deal.II/dofs/dof_handler.h>
37 #include <deal.II/dofs/dof_tools.h>
38 
39 #include <deal.II/fe/fe_system.h>
40 #include <deal.II/fe/mapping.h>
41 #include <deal.II/base/tensor_function.h>
42 
43 DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
44 
45 #include <aspect/global.h>
67 #include <aspect/particle/world.h>
68 
69 #include <boost/iostreams/tee.hpp>
70 #include <boost/iostreams/stream.hpp>
71 
72 #include <memory>
73 #include <thread>
74 
75 
76 namespace aspect
77 {
78  using namespace dealii;
79 
80  template <int dim>
81  class MeltHandler;
82 
83  template <int dim>
84  class NewtonHandler;
85 
86  template <int dim>
88 
89  template <int dim, int velocity_degree>
91 
92  namespace MeshDeformation
93  {
94  template <int dim>
96  }
97 
98  template <int dim>
100 
101  namespace internal
102  {
103  namespace Assembly
104  {
105  namespace Scratch
106  {
107  template <int dim> struct StokesPreconditioner;
108  template <int dim> struct StokesSystem;
109  template <int dim> struct AdvectionSystem;
110  }
111 
112  namespace CopyData
113  {
114  template <int dim> struct StokesPreconditioner;
115  template <int dim> struct StokesSystem;
116  template <int dim> struct AdvectionSystem;
117  }
118  }
119  }
120 
121  namespace Assemblers
122  {
123  template <int dim> class Interface;
124  template <int dim> class Manager;
125  }
126 
128  {
132  double residual;
133  double residual_old;
136  std::pair<double,double> stokes_residuals;
137  };
138 
142  template <int dim>
144  {
146  :
147  scalar_moment_of_inertia(numbers::signaling_nan<double>()),
148  scalar_angular_momentum(numbers::signaling_nan<double>()),
149  scalar_rotation(numbers::signaling_nan<double>()),
150  tensor_moment_of_inertia(numbers::signaling_nan<SymmetricTensor<2,dim>>()),
151  tensor_angular_momentum(numbers::signaling_nan<Tensor<1,dim>>()),
152  tensor_rotation(numbers::signaling_nan<Tensor<1,dim>>())
153  {};
154 
162 
166  SymmetricTensor<2,dim> tensor_moment_of_inertia;
167  Tensor<1,dim> tensor_angular_momentum;
168  Tensor<1,dim> tensor_rotation;
169  };
170 
178  template <int dim>
179  class Simulator
180  {
181  public:
195  Simulator (const MPI_Comm mpi_communicator,
196  ParameterHandler &prm);
197 
202  ~Simulator ();
203 
215  static
216  void declare_parameters (ParameterHandler &prm);
217 
226  void run ();
227 
239  void
240  write_plugin_graph (std::ostream &output_stream) const;
241 
246 
251 
252 
260  {
265  enum FieldType { temperature_field, compositional_field };
266 
272 
278  const unsigned int compositional_variable;
279 
291  AdvectionField (const FieldType field_type,
292  const unsigned int compositional_variable = numbers::invalid_unsigned_int);
293 
301  static
303 
311  static
312  AdvectionField composition (const unsigned int compositional_variable);
313 
317  bool
318  is_temperature () const;
319 
324  bool
325  is_discontinuous (const Introspection<dim> &introspection) const;
326 
332  advection_method (const Introspection<dim> &introspection) const;
333 
338  unsigned int component_index(const Introspection<dim> &introspection) const;
339 
344  unsigned int block_index(const Introspection<dim> &introspection) const;
345 
352  unsigned int field_index() const;
353 
359  unsigned int base_element(const Introspection<dim> &introspection) const;
360 
367  FEValuesExtractors::Scalar scalar_extractor(const Introspection<dim> &introspection) const;
368 
373  unsigned int polynomial_degree(const Introspection<dim> &introspection) const;
374  };
375 
376  private:
377 
397 
415  {
416  IntermediaryConstructorAction (const std::function<void ()> &action);
417  };
418 
433  void setup_dofs ();
434 
443  void setup_introspection ();
444 
456  void set_initial_temperature_and_compositional_fields ();
457 
473  void compute_initial_pressure_field ();
474 
480  void compute_initial_velocity_boundary_constraints (AffineConstraints<double> &constraints);
481 
487  void compute_current_velocity_boundary_constraints (AffineConstraints<double> &constraints);
488 
501  void compute_current_constraints ();
502 
515  double compute_pressure_scaling_factor () const;
516 
528  void start_timestep ();
529 
537  void solve_timestep ();
538 
550  void solve_single_advection_single_stokes ();
551 
564  void solve_no_advection_iterated_stokes ();
565 
576  void solve_no_advection_single_stokes ();
577 
589  void solve_first_timestep_only_single_stokes ();
590 
603  void solve_iterated_advection_and_stokes ();
604 
617  void solve_single_advection_iterated_stokes ();
618 
631  void solve_no_advection_iterated_defect_correction_stokes ();
632 
645  void solve_single_advection_iterated_defect_correction_stokes ();
646 
660  void solve_iterated_advection_and_defect_correction_stokes ();
661 
676  void solve_iterated_advection_and_newton_stokes ();
677 
693  void solve_single_advection_iterated_newton_stokes ();
694 
706  void solve_single_advection_no_stokes ();
707 
719  void solve_no_advection_no_stokes ();
720 
729  void build_stokes_preconditioner ();
730 
738  void build_advection_preconditioner (const AdvectionField &advection_field,
740  const double diagonal_strengthening);
741 
748  void assemble_stokes_system ();
749 
759  double assemble_and_solve_temperature (const bool compute_initial_residual = false,
760  double *initial_residual = nullptr);
761 
774  std::vector<double> assemble_and_solve_composition (const bool compute_initial_residual = false,
775  std::vector<double> *initial_residual = nullptr);
776 
794  double assemble_and_solve_stokes (const bool compute_initial_residual = false,
795  double *initial_nonlinear_residual = nullptr);
796 
808  void assemble_and_solve_defect_correction_Stokes(DefectCorrectionResiduals &dcr,
809  const bool use_picard);
810 
818  void assemble_advection_system (const AdvectionField &advection_field);
819 
830  double solve_advection (const AdvectionField &advection_field);
831 
835  void interpolate_particle_properties (const AdvectionField &advection_field);
836 
907  std::pair<double,double>
908  solve_stokes ();
909 
913  std::pair<double,double>
914  solve_stokes_block_gmg ();
915 
928  void postprocess ();
929 
945  void refine_mesh (const unsigned int max_grid_level);
946 
967  void create_snapshot();
968 
982  void resume_from_snapshot();
983 
990  template <class Archive>
991  void serialize (Archive &ar, const unsigned int version);
1008  Table<2,DoFTools::Coupling>
1009  setup_system_matrix_coupling () const;
1010 
1018  void setup_system_matrix (const std::vector<IndexSet> &system_partitioning);
1019 
1031  void setup_system_preconditioner (const std::vector<IndexSet> &system_partitioning);
1032 
1054  std::unique_ptr<Assemblers::Manager<dim>> assemblers;
1055 
1064  void set_assemblers ();
1065 
1076  void set_advection_assemblers ();
1077 
1087  void set_stokes_assemblers ();
1088 
1095  void assemble_stokes_preconditioner ();
1096 
1104  void
1105  local_assemble_stokes_preconditioner (const typename DoFHandler<dim>::active_cell_iterator &cell,
1108 
1116  void
1117  copy_local_to_global_stokes_preconditioner (const internal::Assembly::CopyData::StokesPreconditioner<dim> &data);
1118 
1126  void
1127  local_assemble_stokes_system (const typename DoFHandler<dim>::active_cell_iterator &cell,
1130 
1138  void
1139  copy_local_to_global_stokes_system (const internal::Assembly::CopyData::StokesSystem<dim> &data);
1140 
1148  void
1149  local_assemble_advection_face_terms(const AdvectionField &advection_field,
1150  const typename DoFHandler<dim>::active_cell_iterator &cell,
1160  void
1161  local_assemble_advection_system (const AdvectionField &advection_field,
1162  const Vector<double> &viscosity_per_cell,
1163  const typename DoFHandler<dim>::active_cell_iterator &cell,
1166 
1174  void
1175  copy_local_to_global_advection_system (const AdvectionField &advection_field,
1177 
1202  void make_pressure_rhs_compatible(LinearAlgebra::BlockVector &vector);
1203 
1213  template <typename T>
1214  void get_artificial_viscosity (Vector<T> &viscosity_per_cell,
1215  const AdvectionField &advection_field,
1216  const bool skip_interior_cells = false) const;
1217 
1229  void compute_Vs_anomaly(Vector<float> &values) const;
1230 
1245  void compute_Vp_anomaly(Vector<float> &values) const;
1246 
1287  double normalize_pressure(LinearAlgebra::BlockVector &vector) const;
1288 
1333  void denormalize_pressure(const double pressure_adjustment,
1335  const LinearAlgebra::BlockVector &relevant_vector) const;
1336 
1345  void apply_limiter_to_dg_solutions (const AdvectionField &advection_field);
1346 
1347 
1370  void compute_reactions ();
1371 
1381  void update_solution_vectors_with_reaction_results (const unsigned int block_index,
1382  const LinearAlgebra::BlockVector &distributed_vector,
1383  const LinearAlgebra::BlockVector &distributed_reaction_vector);
1384 
1395  void initialize_current_linearization_point ();
1396 
1416  void interpolate_material_output_into_advection_field (const AdvectionField &adv_field);
1417 
1418 
1426  void interpolate_onto_velocity_system(const TensorFunction<1,dim> &func,
1427  LinearAlgebra::Vector &vec);
1428 
1429 
1444  void setup_nullspace_constraints(AffineConstraints<double> &constraints);
1445 
1446 
1458  void remove_nullspace(LinearAlgebra::BlockVector &relevant_dst,
1459  LinearAlgebra::BlockVector &tmp_distributed_stokes);
1460 
1476  compute_net_angular_momentum(const bool use_constant_density,
1477  const LinearAlgebra::BlockVector &solution,
1478  const bool limit_to_top_faces = false) const;
1479 
1496  void remove_net_angular_momentum( const bool use_constant_density,
1497  LinearAlgebra::BlockVector &relevant_dst,
1498  LinearAlgebra::BlockVector &tmp_distributed_stokes,
1499  const bool limit_to_top_faces = false);
1500 
1508  void replace_outflow_boundary_ids(const unsigned int boundary_id_offset);
1509 
1517  void restore_outflow_boundary_ids(const unsigned int boundary_id_offset);
1518 
1532  void remove_net_linear_momentum( const bool use_constant_density,
1533  LinearAlgebra::BlockVector &relevant_dst,
1534  LinearAlgebra::BlockVector &tmp_distributed_stokes);
1535 
1543  double get_maximal_velocity (const LinearAlgebra::BlockVector &solution) const;
1544 
1557  double get_entropy_variation (const double average_field,
1558  const AdvectionField &advection_field) const;
1559 
1568  std::pair<double,double>
1569  get_extrapolated_advection_field_range (const AdvectionField &advection_field) const;
1570 
1579  void exchange_refinement_flags();
1580 
1581 
1590  void maybe_write_timing_output () const;
1591 
1599  bool maybe_write_checkpoint (const time_t last_checkpoint_time,
1600  const bool force_writing_checkpoint);
1601 
1618  bool maybe_do_initial_refinement (const unsigned int max_refinement_level);
1619 
1628  void maybe_refine_mesh (const double new_time_step,
1629  unsigned int &max_refinement_level);
1630 
1638  void advance_time (const double step_size);
1639 
1647  double
1648  compute_viscosity(internal::Assembly::Scratch::AdvectionSystem<dim> &scratch,
1649  const double global_u_infty,
1650  const double global_field_variation,
1651  const double average_field,
1652  const double global_entropy_variation,
1653  const double cell_diameter,
1654  const AdvectionField &advection_field) const;
1655 
1664  void
1665  compute_advection_system_residual(internal::Assembly::Scratch::AdvectionSystem<dim> &scratch,
1666  const double average_field,
1667  const AdvectionField &advection_field,
1668  double &max_residual,
1669  double &max_velocity,
1670  double &max_density,
1671  double &max_specific_heat,
1672  double &conductivity) const;
1673 
1688  bool
1689  stokes_matrix_depends_on_solution () const;
1690 
1703  void
1704  check_consistency_of_formulation ();
1705 
1716  void
1717  check_consistency_of_boundary_conditions () const;
1718 
1722  double
1723  compute_initial_newton_residual (const LinearAlgebra::BlockVector &linearized_stokes_initial_guess);
1724 
1733  double
1734  compute_Eisenstat_Walker_linear_tolerance(const bool EisenstatWalkerChoiceOne,
1735  const double maximum_linear_stokes_solver_tolerance,
1736  const double linear_stokes_solver_tolerance,
1737  const double stokes_residual,
1738  const double newton_residual,
1739  const double newton_residual_old);
1740 
1750  void output_statistics();
1751 
1763  double
1764  compute_initial_stokes_residual();
1765 
1776 
1782  std::unique_ptr<MeltHandler<dim>> melt_handler;
1783 
1789  std::unique_ptr<NewtonHandler<dim>> newton_handler;
1790 
1792 
1794 
1802  std::unique_ptr<VolumeOfFluidHandler<dim>> volume_of_fluid_handler;
1803 
1805 
1806 
1808 
1813  std::ofstream log_file_stream;
1814 
1815  using TeeDevice = boost::iostreams::tee_device<std::ostream, std::ofstream>;
1816  using TeeStream = boost::iostreams::stream<TeeDevice>;
1817 
1820 
1825  ConditionalOStream pcout;
1826 
1836  TableHandler statistics;
1837 
1854 
1855  mutable TimerOutput computing_timer;
1856 
1861  Timer wall_timer;
1862 
1868 
1877 
1886  const std::unique_ptr<InitialTopographyModel::Interface<dim>> initial_topography_model;
1887  const std::unique_ptr<GeometryModel::Interface<dim>> geometry_model;
1889  const std::unique_ptr<MaterialModel::Interface<dim>> material_model;
1890  const std::unique_ptr<GravityModel::Interface<dim>> gravity_model;
1893  const std::unique_ptr<PrescribedStokesSolution::Interface<dim>> prescribed_stokes_solution;
1894 
1905  std::shared_ptr<InitialTemperature::Manager<dim>> initial_temperature_manager;
1906  std::shared_ptr<InitialComposition::Manager<dim>> initial_composition_manager;
1907 
1908  const std::unique_ptr<AdiabaticConditions::Interface<dim>> adiabatic_conditions;
1909 #ifdef ASPECT_WITH_WORLD_BUILDER
1910 
1921  std::shared_ptr<WorldBuilder::World> world_builder;
1922 #endif
1924  std::map<types::boundary_id,std::unique_ptr<BoundaryTraction::Interface<dim>>> boundary_traction;
1925  const std::unique_ptr<BoundaryHeatFlux::Interface<dim>> boundary_heat_flux;
1926 
1930  std::unique_ptr<Particle::World<dim>> particle_world;
1931 
1936  ::Particles::ParticleHandler<dim> particle_handler_copy;
1937 
1945  double time;
1946  double time_step;
1948  unsigned int timestep_number;
1949  unsigned int pre_refinement_step;
1950  unsigned int nonlinear_iteration;
1977  parallel::distributed::Triangulation<dim> triangulation;
1980 
1983 
1992  std::unique_ptr<Mapping<dim>> mapping;
1993 
1994  const FESystem<dim> finite_element;
1995 
1996  DoFHandler<dim> dof_handler;
1997 
1999 
2011  AffineConstraints<double> constraints;
2012  AffineConstraints<double> current_constraints;
2013 
2019 
2026 
2034 
2054 
2068 
2073 
2075 
2076  // only used if is_compressible()
2078 
2079  // only used if operator split is enabled
2081 
2082 
2083 
2084  std::unique_ptr<LinearAlgebra::PreconditionAMG> Amg_preconditioner;
2085  std::unique_ptr<LinearAlgebra::PreconditionBase> Mp_preconditioner;
2086 
2092 
2097  private:
2098 
2104  std::unique_ptr<MeshDeformation::MeshDeformationHandler<dim>> mesh_deformation;
2105 
2109  std::unique_ptr<StokesMatrixFreeHandler<dim>> stokes_matrix_free;
2110 
2111  friend class boost::serialization::access;
2112  friend class SimulatorAccess<dim>;
2113  friend class MeshDeformation::MeshDeformationHandler<dim>; // MeshDeformationHandler needs access to the internals of the Simulator
2114  friend class VolumeOfFluidHandler<dim>; // VolumeOfFluidHandler needs access to the internals of the Simulator
2115  friend class StokesMatrixFreeHandler<dim>;
2116  template <int dimension, int velocity_degree>
2118  friend struct Parameters<dim>;
2119  };
2120 }
2121 
2122 
2123 #endif
The NullspaceRemoval struct.
Definition: parameters.h:101
unsigned int nonlinear_iteration
Definition: simulator.h:1950
BoundaryVelocity::Manager< dim > boundary_velocity_manager
Definition: simulator.h:1923
const std::unique_ptr< AdiabaticConditions::Interface< dim > > adiabatic_conditions
Definition: simulator.h:1908
std::shared_ptr< InitialComposition::Manager< dim > > initial_composition_manager
Definition: simulator.h:1906
void write_plugin_graph(std::ostream &output_stream)
parallel::distributed::Triangulation< dim > triangulation
Definition: simulator.h:1977
TimerOutput computing_timer
Definition: simulator.h:1855
BoundaryTemperature::Manager< dim > boundary_temperature_manager
Definition: simulator.h:1891
boost::iostreams::tee_device< std::ostream, std::ofstream > TeeDevice
Definition: simulator.h:1815
::TrilinosWrappers::MPI::BlockVector BlockVector
Definition: global.h:229
double pressure_scaling
Definition: simulator.h:2025
Tensor< 1, dim > tensor_rotation
Definition: simulator.h:168
double old_time_step
Definition: simulator.h:1947
Tensor< 1, dim > tensor_angular_momentum
Definition: simulator.h:167
AffineConstraints< double > constraints
Definition: simulator.h:2011
bool assemble_newton_stokes_system
Definition: simulator.h:2090
LinearAlgebra::BlockVector old_solution
Definition: simulator.h:2070
const IntermediaryConstructorAction post_geometry_model_creation_action
Definition: simulator.h:1888
std::unique_ptr< VolumeOfFluidHandler< dim > > volume_of_fluid_handler
Definition: simulator.h:1802
bool rebuild_stokes_matrix
Definition: simulator.h:2088
Parameters< dim > parameters
Definition: simulator.h:1775
SymmetricTensor< 2, dim > tensor_moment_of_inertia
Definition: simulator.h:166
AffineConstraints< double > current_constraints
Definition: simulator.h:2012
std::map< types::boundary_id, std::unique_ptr< BoundaryTraction::Interface< dim > > > boundary_traction
Definition: simulator.h:1924
std::unique_ptr< MeshDeformation::MeshDeformationHandler< dim > > mesh_deformation
Definition: simulator.h:2104
LinearAlgebra::BlockVector system_rhs
Definition: simulator.h:2072
std::pair< double, double > stokes_residuals
Definition: simulator.h:136
std::thread output_statistics_thread
Definition: simulator.h:1876
LateralAveraging< dim > lateral_averaging
Definition: simulator.h:1968
TeeStream iostream_tee_stream
Definition: simulator.h:1819
::TrilinosWrappers::MPI::Vector Vector
Definition: global.h:223
MeshRefinement::Manager< dim > mesh_refinement_manager
Definition: simulator.h:1981
std::size_t statistics_last_write_size
Definition: simulator.h:1852
const std::unique_ptr< MaterialModel::Interface< dim > > material_model
Definition: simulator.h:1889
::Particles::ParticleHandler< dim > particle_handler_copy
Definition: simulator.h:1936
double last_pressure_normalization_adjustment
Definition: simulator.h:2018
::TrilinosWrappers::BlockSparseMatrix BlockSparseMatrix
Definition: global.h:240
double total_walltime_until_last_snapshot
Definition: simulator.h:1867
void declare_parameters(ParameterHandler &prm)
const std::unique_ptr< GeometryModel::Interface< dim > > geometry_model
Definition: simulator.h:1887
LinearAlgebra::BlockVector operator_split_reaction_vector
Definition: simulator.h:2080
DoFHandler< dim > dof_handler
Definition: simulator.h:1996
std::unique_ptr< StokesMatrixFreeHandler< dim > > stokes_matrix_free
Definition: simulator.h:2109
std::unique_ptr< Assemblers::Manager< dim > > assemblers
Definition: simulator.h:1054
bool rebuild_sparsity_and_matrices
Definition: simulator.h:2087
const IntermediaryConstructorAction post_signal_creation
Definition: simulator.h:1793
double global_Omega_diameter
Definition: simulator.h:1978
unsigned int timestep_number
Definition: simulator.h:1948
bool assemble_newton_stokes_matrix
Definition: simulator.h:2089
ConditionalOStream pcout
Definition: simulator.h:1825
unsigned int pre_refinement_step
Definition: simulator.h:1949
TimeStepping::Manager< dim > time_stepping_manager
Definition: simulator.h:1959
std::size_t statistics_last_hash
Definition: simulator.h:1853
TableHandler statistics
Definition: simulator.h:1836
Introspection< dim > introspection
Definition: simulator.h:1804
MPI_Comm mpi_communicator
Definition: simulator.h:1807
typename Parameters< dim >::NullspaceRemoval NullspaceRemoval
Definition: simulator.h:250
LinearAlgebra::BlockSparseMatrix system_preconditioner_matrix
Definition: simulator.h:2067
bool do_pressure_rhs_compatibility_modification
Definition: simulator.h:2033
LinearAlgebra::BlockVector current_linearization_point
Definition: simulator.h:2074
LinearAlgebra::BlockVector old_old_solution
Definition: simulator.h:2071
LinearAlgebra::BlockVector pressure_shape_function_integrals
Definition: simulator.h:2077
std::ofstream log_file_stream
Definition: simulator.h:1813
std::unique_ptr< LinearAlgebra::PreconditionAMG > Amg_preconditioner
Definition: simulator.h:2084
std::shared_ptr< InitialTemperature::Manager< dim > > initial_temperature_manager
Definition: simulator.h:1905
TeeDevice iostream_tee_device
Definition: simulator.h:1818
boost::iostreams::stream< TeeDevice > TeeStream
Definition: simulator.h:1816
LinearAlgebra::BlockSparseMatrix system_matrix
Definition: simulator.h:2053
std::unique_ptr< MeltHandler< dim > > melt_handler
Definition: simulator.h:1782
bool rebuild_stokes_preconditioner
Definition: simulator.h:2091
const unsigned int compositional_variable
Definition: simulator.h:278
std::unique_ptr< Mapping< dim > > mapping
Definition: simulator.h:1992
const std::unique_ptr< PrescribedStokesSolution::Interface< dim > > prescribed_stokes_solution
Definition: simulator.h:1893
HeatingModel::Manager< dim > heating_model_manager
Definition: simulator.h:1982
SimulatorSignals< dim > signals
Definition: simulator.h:1791
const std::unique_ptr< BoundaryHeatFlux::Interface< dim > > boundary_heat_flux
Definition: simulator.h:1925
const FESystem< dim > finite_element
Definition: simulator.h:1994
bool simulator_is_past_initialization
Definition: simulator.h:396
std::unique_ptr< Particle::World< dim > > particle_world
Definition: simulator.h:1930
const std::unique_ptr< InitialTopographyModel::Interface< dim > > initial_topography_model
Definition: simulator.h:1886
LinearAlgebra::BlockVector solution
Definition: simulator.h:2069
std::unique_ptr< NewtonHandler< dim > > newton_handler
Definition: simulator.h:1789
typename Parameters< dim >::NonlinearSolver NonlinearSolver
Definition: simulator.h:245
Postprocess::Manager< dim > postprocess_manager
Definition: simulator.h:1998
const std::unique_ptr< GravityModel::Interface< dim > > gravity_model
Definition: simulator.h:1890
double newton_residual_for_derivative_scaling_factor
Definition: simulator.h:135
double global_volume
Definition: simulator.h:1979
BoundaryComposition::Manager< dim > boundary_composition_manager
Definition: simulator.h:1892
std::unique_ptr< LinearAlgebra::PreconditionBase > Mp_preconditioner
Definition: simulator.h:2085
::TrilinosWrappers::PreconditionILU PreconditionILU
Definition: global.h:263