ASPECT
anisotropic_viscosity.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-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_additional_outputs_anisotropic_viscosity_h
16 #define _aspect_material_model_additional_outputs_anisotropic_viscosity_h
17 
18 
20 
21 namespace aspect
22 {
23  namespace MaterialModel
24  {
30  template <int dim>
32  {
33  public:
34  AnisotropicViscosity(const unsigned int n_points);
35 
36  std::vector<double>
37  get_nth_output(const unsigned int idx) const override;
38 
50  std::vector<SymmetricTensor<4,dim>> stress_strain_directors;
51  };
52  }
53 }
54 
55 #endif
std::vector< double > get_nth_output(const unsigned int idx) const override
std::vector< SymmetricTensor< 4, dim > > stress_strain_directors
AnisotropicViscosity(const unsigned int n_points)