ASPECT
simulator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2011 - 2023 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 
353  unsigned int sparsity_pattern_block_index(const Introspection<dim> &introspection) const;
354 
361  unsigned int field_index() const;
362 
368  unsigned int base_element(const Introspection<dim> &introspection) const;
369 
376  FEValuesExtractors::Scalar scalar_extractor(const Introspection<dim> &introspection) const;
377 
382  unsigned int polynomial_degree(const Introspection<dim> &introspection) const;
383  };
384 
385  private:
386 
406 
424  {
425  IntermediaryConstructorAction (const std::function<void ()> &action);
426  };
427 
442  void setup_dofs ();
443 
452  void setup_introspection ();
453 
465  void set_initial_temperature_and_compositional_fields ();
466 
482  void compute_initial_pressure_field ();
483 
489  void compute_initial_velocity_boundary_constraints (AffineConstraints<double> &constraints);
490 
496  void compute_current_velocity_boundary_constraints (AffineConstraints<double> &constraints);
497 
510  void compute_current_constraints ();
511 
525  double compute_pressure_scaling_factor () const;
526 
538  void start_timestep ();
539 
547  void solve_timestep ();
548 
560  void solve_single_advection_single_stokes ();
561 
574  void solve_no_advection_iterated_stokes ();
575 
586  void solve_no_advection_single_stokes ();
587 
599  void solve_first_timestep_only_single_stokes ();
600 
613  void solve_iterated_advection_and_stokes ();
614 
627  void solve_single_advection_iterated_stokes ();
628 
641  void solve_no_advection_iterated_defect_correction_stokes ();
642 
655  void solve_single_advection_iterated_defect_correction_stokes ();
656 
670  void solve_iterated_advection_and_defect_correction_stokes ();
671 
686  void solve_iterated_advection_and_newton_stokes ();
687 
703  void solve_single_advection_and_iterated_newton_stokes ();
704 
716  void solve_single_advection_no_stokes ();
717 
729  void solve_no_advection_no_stokes ();
730 
739  void build_stokes_preconditioner ();
740 
748  void build_advection_preconditioner (const AdvectionField &advection_field,
750  const double diagonal_strengthening);
751 
758  void assemble_stokes_system ();
759 
774  double assemble_and_solve_temperature (const double &initial_residual = 0,
775  double *residual = nullptr);
776 
792  std::vector<double> assemble_and_solve_composition (const std::vector<double> &initial_residual = {},
793  std::vector<double> *residual = nullptr);
794 
809  double assemble_and_solve_stokes (const double &initial_nonlinear_residual = 0,
810  double *nonlinear_residual = nullptr);
811 
824  void do_one_defect_correction_Stokes_step(DefectCorrectionResiduals &dcr,
825  const bool use_picard);
826 
834  void assemble_advection_system (const AdvectionField &advection_field);
835 
846  double solve_advection (const AdvectionField &advection_field);
847 
854  void interpolate_particle_properties (const AdvectionField &advection_field);
855 
860  void interpolate_particle_properties (const std::vector<AdvectionField> &advection_fields);
861 
932  std::pair<double,double>
933  solve_stokes ();
934 
938  std::pair<double,double>
939  solve_stokes_block_gmg ();
940 
953  void postprocess ();
954 
970  void refine_mesh (const unsigned int max_grid_level);
971 
992  void create_snapshot();
993 
1007  void resume_from_snapshot();
1008 
1015  template <class Archive>
1016  void serialize (Archive &ar, const unsigned int version);
1033  Table<2,DoFTools::Coupling>
1034  setup_system_matrix_coupling () const;
1035 
1043  void setup_system_matrix (const std::vector<IndexSet> &system_partitioning);
1044 
1056  void setup_system_preconditioner (const std::vector<IndexSet> &system_partitioning);
1057 
1079  std::unique_ptr<Assemblers::Manager<dim>> assemblers;
1080 
1089  void set_assemblers ();
1090 
1101  void set_advection_assemblers ();
1102 
1112  void set_stokes_assemblers ();
1113 
1120  void assemble_stokes_preconditioner ();
1121 
1129  void
1130  local_assemble_stokes_preconditioner (const typename DoFHandler<dim>::active_cell_iterator &cell,
1133 
1141  void
1142  copy_local_to_global_stokes_preconditioner (const internal::Assembly::CopyData::StokesPreconditioner<dim> &data);
1143 
1151  void
1152  local_assemble_stokes_system (const typename DoFHandler<dim>::active_cell_iterator &cell,
1155 
1163  void
1164  copy_local_to_global_stokes_system (const internal::Assembly::CopyData::StokesSystem<dim> &data);
1165 
1173  void
1174  local_assemble_advection_face_terms(const AdvectionField &advection_field,
1175  const typename DoFHandler<dim>::active_cell_iterator &cell,
1185  void
1186  local_assemble_advection_system (const AdvectionField &advection_field,
1187  const Vector<double> &viscosity_per_cell,
1188  const typename DoFHandler<dim>::active_cell_iterator &cell,
1191 
1199  void
1200  copy_local_to_global_advection_system (const AdvectionField &advection_field,
1202 
1227  void make_pressure_rhs_compatible(LinearAlgebra::BlockVector &vector);
1228 
1238  template <typename T>
1239  void get_artificial_viscosity (Vector<T> &viscosity_per_cell,
1240  const AdvectionField &advection_field,
1241  const bool skip_interior_cells = false) const;
1242 
1254  void compute_Vs_anomaly(Vector<float> &values) const;
1255 
1270  void compute_Vp_anomaly(Vector<float> &values) const;
1271 
1312  double normalize_pressure(LinearAlgebra::BlockVector &vector) const;
1313 
1358  void denormalize_pressure(const double pressure_adjustment,
1360  const LinearAlgebra::BlockVector &relevant_vector) const;
1361 
1370  void apply_limiter_to_dg_solutions (const AdvectionField &advection_field);
1371 
1372 
1395  void compute_reactions ();
1396 
1406  void update_solution_vectors_with_reaction_results (const unsigned int block_index,
1407  const LinearAlgebra::BlockVector &distributed_vector,
1408  const LinearAlgebra::BlockVector &distributed_reaction_vector);
1409 
1420  void initialize_current_linearization_point ();
1421 
1441  void interpolate_material_output_into_advection_field (const AdvectionField &adv_field);
1442 
1443 
1451  void interpolate_onto_velocity_system(const TensorFunction<1,dim> &func,
1452  LinearAlgebra::Vector &vec);
1453 
1454 
1469  void setup_nullspace_constraints(AffineConstraints<double> &constraints);
1470 
1471 
1483  void remove_nullspace(LinearAlgebra::BlockVector &relevant_dst,
1484  LinearAlgebra::BlockVector &tmp_distributed_stokes);
1485 
1501  compute_net_angular_momentum(const bool use_constant_density,
1502  const LinearAlgebra::BlockVector &solution,
1503  const bool limit_to_top_faces = false) const;
1504 
1521  void remove_net_angular_momentum( const bool use_constant_density,
1522  LinearAlgebra::BlockVector &relevant_dst,
1523  LinearAlgebra::BlockVector &tmp_distributed_stokes,
1524  const bool limit_to_top_faces = false);
1525 
1533  void replace_outflow_boundary_ids(const unsigned int boundary_id_offset);
1534 
1542  void restore_outflow_boundary_ids(const unsigned int boundary_id_offset);
1543 
1557  void remove_net_linear_momentum( const bool use_constant_density,
1558  LinearAlgebra::BlockVector &relevant_dst,
1559  LinearAlgebra::BlockVector &tmp_distributed_stokes);
1560 
1568  double get_maximal_velocity (const LinearAlgebra::BlockVector &solution) const;
1569 
1582  double get_entropy_variation (const double average_field,
1583  const AdvectionField &advection_field) const;
1584 
1593  std::pair<double,double>
1594  get_extrapolated_advection_field_range (const AdvectionField &advection_field) const;
1595 
1604  void exchange_refinement_flags();
1605 
1606 
1615  void maybe_write_timing_output () const;
1616 
1624  bool maybe_write_checkpoint (const time_t last_checkpoint_time,
1625  const bool force_writing_checkpoint);
1626 
1643  bool maybe_do_initial_refinement (const unsigned int max_refinement_level);
1644 
1653  void maybe_refine_mesh (const double new_time_step,
1654  unsigned int &max_refinement_level);
1655 
1663  void advance_time (const double step_size);
1664 
1672  double
1673  compute_viscosity(internal::Assembly::Scratch::AdvectionSystem<dim> &scratch,
1674  const double global_u_infty,
1675  const double global_field_variation,
1676  const double average_field,
1677  const double global_entropy_variation,
1678  const double cell_diameter,
1679  const AdvectionField &advection_field) const;
1680 
1689  void
1690  compute_advection_system_residual(internal::Assembly::Scratch::AdvectionSystem<dim> &scratch,
1691  const double average_field,
1692  const AdvectionField &advection_field,
1693  double &max_residual,
1694  double &max_velocity,
1695  double &max_density,
1696  double &max_specific_heat,
1697  double &conductivity) const;
1698 
1713  bool
1714  stokes_matrix_depends_on_solution () const;
1715 
1725  bool
1726  stokes_A_block_is_symmetric () const;
1727 
1740  void
1741  check_consistency_of_formulation ();
1742 
1753  void
1754  check_consistency_of_boundary_conditions () const;
1755 
1759  double
1760  compute_initial_newton_residual (const LinearAlgebra::BlockVector &linearized_stokes_initial_guess);
1761 
1770  double
1771  compute_Eisenstat_Walker_linear_tolerance(const bool EisenstatWalkerChoiceOne,
1772  const double maximum_linear_stokes_solver_tolerance,
1773  const double linear_stokes_solver_tolerance,
1774  const double stokes_residual,
1775  const double newton_residual,
1776  const double newton_residual_old);
1777 
1787  void output_statistics();
1788 
1800  double
1801  compute_initial_stokes_residual();
1802 
1813 
1819  std::unique_ptr<MeltHandler<dim>> melt_handler;
1820 
1826  std::unique_ptr<NewtonHandler<dim>> newton_handler;
1827 
1829 
1831 
1839  std::unique_ptr<VolumeOfFluidHandler<dim>> volume_of_fluid_handler;
1840 
1842 
1843 
1845 
1850  std::ofstream log_file_stream;
1851 
1852  using TeeDevice = boost::iostreams::tee_device<std::ostream, std::ofstream>;
1853  using TeeStream = boost::iostreams::stream<TeeDevice>;
1854 
1857 
1862  ConditionalOStream pcout;
1863 
1873  TableHandler statistics;
1874 
1891 
1892  mutable TimerOutput computing_timer;
1893 
1898  Timer wall_timer;
1899 
1905 
1914 
1923  const std::unique_ptr<InitialTopographyModel::Interface<dim>> initial_topography_model;
1924  const std::unique_ptr<GeometryModel::Interface<dim>> geometry_model;
1926  const std::unique_ptr<MaterialModel::Interface<dim>> material_model;
1927  const std::unique_ptr<GravityModel::Interface<dim>> gravity_model;
1930  const std::unique_ptr<PrescribedStokesSolution::Interface<dim>> prescribed_stokes_solution;
1931 
1942  std::shared_ptr<InitialTemperature::Manager<dim>> initial_temperature_manager;
1943  std::shared_ptr<InitialComposition::Manager<dim>> initial_composition_manager;
1944 
1945  const std::unique_ptr<AdiabaticConditions::Interface<dim>> adiabatic_conditions;
1946 #ifdef ASPECT_WITH_WORLD_BUILDER
1947 
1958  std::shared_ptr<WorldBuilder::World> world_builder;
1959 #endif
1962  const std::unique_ptr<BoundaryHeatFlux::Interface<dim>> boundary_heat_flux;
1963 
1967  std::unique_ptr<Particle::World<dim>> particle_world;
1968 
1976  double time;
1977  double time_step;
1979  unsigned int timestep_number;
1980  unsigned int pre_refinement_step;
1981  unsigned int nonlinear_iteration;
2008  parallel::distributed::Triangulation<dim> triangulation;
2011 
2014 
2023  std::unique_ptr<Mapping<dim>> mapping;
2024 
2025  const FESystem<dim> finite_element;
2026 
2027  DoFHandler<dim> dof_handler;
2028 
2030 
2042  AffineConstraints<double> constraints;
2043  AffineConstraints<double> current_constraints;
2044 
2050 
2057 
2065 
2085 
2091 
2105 
2110 
2112 
2113  // only used if is_compressible()
2115 
2116  // only used if operator split is enabled
2118 
2119 
2120 
2121  std::unique_ptr<LinearAlgebra::PreconditionAMG> Amg_preconditioner;
2122  std::unique_ptr<LinearAlgebra::PreconditionBase> Mp_preconditioner;
2123 
2129 
2134  private:
2135 
2141  std::unique_ptr<MeshDeformation::MeshDeformationHandler<dim>> mesh_deformation;
2142 
2146  std::unique_ptr<StokesMatrixFreeHandler<dim>> stokes_matrix_free;
2147 
2148  friend class boost::serialization::access;
2149  friend class SimulatorAccess<dim>;
2150  friend class MeshDeformation::MeshDeformationHandler<dim>; // MeshDeformationHandler needs access to the internals of the Simulator
2151  friend class VolumeOfFluidHandler<dim>; // VolumeOfFluidHandler needs access to the internals of the Simulator
2152  friend class StokesMatrixFreeHandler<dim>;
2153  template <int dimension, int velocity_degree>
2155  friend struct Parameters<dim>;
2156  };
2157 }
2158 
2159 
2160 #endif
The NullspaceRemoval struct.
Definition: parameters.h:103
unsigned int nonlinear_iteration
Definition: simulator.h:1981
BoundaryVelocity::Manager< dim > boundary_velocity_manager
Definition: simulator.h:1960
const std::unique_ptr< AdiabaticConditions::Interface< dim > > adiabatic_conditions
Definition: simulator.h:1945
std::shared_ptr< InitialComposition::Manager< dim > > initial_composition_manager
Definition: simulator.h:1943
void write_plugin_graph(std::ostream &output_stream)
parallel::distributed::Triangulation< dim > triangulation
Definition: simulator.h:2008
TimerOutput computing_timer
Definition: simulator.h:1892
BoundaryTemperature::Manager< dim > boundary_temperature_manager
Definition: simulator.h:1928
boost::iostreams::tee_device< std::ostream, std::ofstream > TeeDevice
Definition: simulator.h:1852
::TrilinosWrappers::MPI::BlockVector BlockVector
Definition: global.h:239
double pressure_scaling
Definition: simulator.h:2056
Tensor< 1, dim > tensor_rotation
Definition: simulator.h:168
double old_time_step
Definition: simulator.h:1978
Tensor< 1, dim > tensor_angular_momentum
Definition: simulator.h:167
AffineConstraints< double > constraints
Definition: simulator.h:2042
bool assemble_newton_stokes_system
Definition: simulator.h:2127
LinearAlgebra::BlockVector old_solution
Definition: simulator.h:2107
const IntermediaryConstructorAction post_geometry_model_creation_action
Definition: simulator.h:1925
std::unique_ptr< VolumeOfFluidHandler< dim > > volume_of_fluid_handler
Definition: simulator.h:1839
bool rebuild_stokes_matrix
Definition: simulator.h:2125
Parameters< dim > parameters
Definition: simulator.h:1812
SymmetricTensor< 2, dim > tensor_moment_of_inertia
Definition: simulator.h:166
AffineConstraints< double > current_constraints
Definition: simulator.h:2043
StructuredDataLookup< dim > DEAL_II_DEPRECATED
std::unique_ptr< MeshDeformation::MeshDeformationHandler< dim > > mesh_deformation
Definition: simulator.h:2141
LinearAlgebra::BlockVector system_rhs
Definition: simulator.h:2109
std::pair< double, double > stokes_residuals
Definition: simulator.h:136
std::thread output_statistics_thread
Definition: simulator.h:1913
LateralAveraging< dim > lateral_averaging
Definition: simulator.h:1999
TeeStream iostream_tee_stream
Definition: simulator.h:1856
::TrilinosWrappers::MPI::Vector Vector
Definition: global.h:233
MeshRefinement::Manager< dim > mesh_refinement_manager
Definition: simulator.h:2012
std::size_t statistics_last_write_size
Definition: simulator.h:1889
const std::unique_ptr< MaterialModel::Interface< dim > > material_model
Definition: simulator.h:1926
double last_pressure_normalization_adjustment
Definition: simulator.h:2049
::TrilinosWrappers::BlockSparseMatrix BlockSparseMatrix
Definition: global.h:250
double total_walltime_until_last_snapshot
Definition: simulator.h:1904
void declare_parameters(ParameterHandler &prm)
const std::unique_ptr< GeometryModel::Interface< dim > > geometry_model
Definition: simulator.h:1924
LinearAlgebra::BlockVector operator_split_reaction_vector
Definition: simulator.h:2117
DoFHandler< dim > dof_handler
Definition: simulator.h:2027
std::unique_ptr< StokesMatrixFreeHandler< dim > > stokes_matrix_free
Definition: simulator.h:2146
std::unique_ptr< Assemblers::Manager< dim > > assemblers
Definition: simulator.h:1079
bool rebuild_sparsity_and_matrices
Definition: simulator.h:2124
const IntermediaryConstructorAction post_signal_creation
Definition: simulator.h:1830
double global_Omega_diameter
Definition: simulator.h:2009
unsigned int timestep_number
Definition: simulator.h:1979
bool assemble_newton_stokes_matrix
Definition: simulator.h:2126
ConditionalOStream pcout
Definition: simulator.h:1862
unsigned int pre_refinement_step
Definition: simulator.h:1980
TimeStepping::Manager< dim > time_stepping_manager
Definition: simulator.h:1990
std::size_t statistics_last_hash
Definition: simulator.h:1890
TableHandler statistics
Definition: simulator.h:1873
Introspection< dim > introspection
Definition: simulator.h:1841
MPI_Comm mpi_communicator
Definition: simulator.h:1844
typename Parameters< dim >::NullspaceRemoval NullspaceRemoval
Definition: simulator.h:250
LinearAlgebra::BlockSparseMatrix system_preconditioner_matrix
Definition: simulator.h:2104
bool do_pressure_rhs_compatibility_modification
Definition: simulator.h:2064
LinearAlgebra::BlockVector current_linearization_point
Definition: simulator.h:2111
LinearAlgebra::BlockVector old_old_solution
Definition: simulator.h:2108
BoundaryTraction::Manager< dim > boundary_traction_manager
Definition: simulator.h:1961
Definition: compat.h:59
LinearAlgebra::BlockVector pressure_shape_function_integrals
Definition: simulator.h:2114
std::ofstream log_file_stream
Definition: simulator.h:1850
std::unique_ptr< LinearAlgebra::PreconditionAMG > Amg_preconditioner
Definition: simulator.h:2121
std::shared_ptr< InitialTemperature::Manager< dim > > initial_temperature_manager
Definition: simulator.h:1942
TeeDevice iostream_tee_device
Definition: simulator.h:1855
boost::iostreams::stream< TeeDevice > TeeStream
Definition: simulator.h:1853
LinearAlgebra::BlockSparseMatrix system_matrix
Definition: simulator.h:2084
std::unique_ptr< MeltHandler< dim > > melt_handler
Definition: simulator.h:1819
LinearAlgebra::BlockVector inverse_lumped_mass_matrix
Definition: simulator.h:2090
bool rebuild_stokes_preconditioner
Definition: simulator.h:2128
const unsigned int compositional_variable
Definition: simulator.h:278
std::unique_ptr< Mapping< dim > > mapping
Definition: simulator.h:2023
const std::unique_ptr< PrescribedStokesSolution::Interface< dim > > prescribed_stokes_solution
Definition: simulator.h:1930
HeatingModel::Manager< dim > heating_model_manager
Definition: simulator.h:2013
SimulatorSignals< dim > signals
Definition: simulator.h:1828
const std::unique_ptr< BoundaryHeatFlux::Interface< dim > > boundary_heat_flux
Definition: simulator.h:1962
const FESystem< dim > finite_element
Definition: simulator.h:2025
bool simulator_is_past_initialization
Definition: simulator.h:405
std::unique_ptr< Particle::World< dim > > particle_world
Definition: simulator.h:1967
Definition: compat.h:42
const std::unique_ptr< InitialTopographyModel::Interface< dim > > initial_topography_model
Definition: simulator.h:1923
LinearAlgebra::BlockVector solution
Definition: simulator.h:2106
std::unique_ptr< NewtonHandler< dim > > newton_handler
Definition: simulator.h:1826
typename Parameters< dim >::NonlinearSolver NonlinearSolver
Definition: simulator.h:245
Postprocess::Manager< dim > postprocess_manager
Definition: simulator.h:2029
const std::unique_ptr< GravityModel::Interface< dim > > gravity_model
Definition: simulator.h:1927
double newton_residual_for_derivative_scaling_factor
Definition: simulator.h:135
double global_volume
Definition: simulator.h:2010
BoundaryComposition::Manager< dim > boundary_composition_manager
Definition: simulator.h:1929
std::unique_ptr< LinearAlgebra::PreconditionBase > Mp_preconditioner
Definition: simulator.h:2122
::TrilinosWrappers::PreconditionILU PreconditionILU
Definition: global.h:273