ASPECT
diffusion_dislocation.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) 2011-2026 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_material_model_rheology_diffusion_dislocation_h
16 #define _aspect_material_model_rheology_diffusion_dislocation_h
17 
18 #include <aspect/global.h>
24 
25 namespace aspect
26 {
27  namespace MaterialModel
28  {
29  namespace Rheology
30  {
67  template <int dim>
69  {
70  public:
75 
80  std::vector<double>
82  const double temperature,
83  const SymmetricTensor<2,dim> &strain_rate) const;
84 
90  double
91  compute_viscosity (const double pressure,
92  const double temperature,
93  const std::vector<double> &volume_fractions,
94  const SymmetricTensor<2,dim> &strain_rate) const;
95 
96  static
97  void
99 
100  void
102 
103  private:
109 
125 
134 
138  double grain_size;
140 
145 
146  };
147 
148  }
149  }
150 }
151 #endif
MaterialUtilities::CompositionalAveragingOperation viscosity_averaging
static void declare_parameters(ParameterHandler &prm)
double compute_viscosity(const double pressure, const double temperature, const std::vector< double > &volume_fractions, const SymmetricTensor< 2, dim > &strain_rate) const
std::vector< double > calculate_isostrain_viscosities(const double pressure, const double temperature, const SymmetricTensor< 2, dim > &strain_rate) const