ASPECT
include
aspect
simulator
assemblers
stokes_anisotropic_viscosity.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2025 - 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 doc/COPYING. If not see
18
<http://www.gnu.org/licenses/>.
19
*/
20
21
#ifndef _aspect_simulator_assemblers_stokes_anisotropic_viscosity_h
22
#define _aspect_simulator_assemblers_stokes_anisotropic_viscosity_h
23
24
25
#include <
aspect/simulator/assemblers/interface.h
>
26
#include <
aspect/simulator_access.h
>
27
28
namespace
aspect
29
{
30
namespace
Assemblers
31
{
36
template
<
int
dim>
37
class
StokesPreconditionerAnisotropicViscosity
:
public
Assemblers::Interface
<dim>,
38
public
SimulatorAccess
<dim>
39
{
40
public
:
41
void
42
execute
(
internal::Assembly::Scratch::ScratchBase<dim>
&scratch,
43
internal::Assembly::CopyData::CopyDataBase<dim>
&data)
const override
;
44
48
void
49
create_additional_material_model_outputs
(
MaterialModel::MaterialModelOutputs<dim>
&outputs)
const override
;
50
};
51
56
template
<
int
dim>
57
class
StokesCompressiblePreconditionerAnisotropicViscosity
:
public
Assemblers::Interface
<dim>,
58
public
SimulatorAccess
<dim>
59
{
60
public
:
61
void
62
execute
(
internal::Assembly::Scratch::ScratchBase<dim>
&scratch,
63
internal::Assembly::CopyData::CopyDataBase<dim>
&data)
const override
;
64
};
65
70
template
<
int
dim>
71
class
StokesIncompressibleTermsAnisotropicViscosity
:
public
Assemblers::Interface
<dim>,
72
public
SimulatorAccess
<dim>
73
{
74
public
:
75
void
76
execute
(
internal::Assembly::Scratch::ScratchBase<dim>
&scratch,
77
internal::Assembly::CopyData::CopyDataBase<dim>
&data)
const override
;
78
82
void
83
create_additional_material_model_outputs
(
MaterialModel::MaterialModelOutputs<dim>
&outputs)
const override
;
84
};
85
91
template
<
int
dim>
92
class
StokesCompressibleStrainRateViscosityTermAnisotropicViscosity
:
public
Assemblers::Interface
<dim>,
93
public
SimulatorAccess
<dim>
94
{
95
public
:
96
void
97
execute
(
internal::Assembly::Scratch::ScratchBase<dim>
&scratch,
98
internal::Assembly::CopyData::CopyDataBase<dim>
&data)
const override
;
99
};
100
}
101
}
102
103
104
#endif
aspect::Assemblers::StokesCompressibleStrainRateViscosityTermAnisotropicViscosity
Definition:
stokes_anisotropic_viscosity.h:92
aspect::Assemblers::StokesPreconditionerAnisotropicViscosity::execute
void execute(internal::Assembly::Scratch::ScratchBase< dim > &scratch, internal::Assembly::CopyData::CopyDataBase< dim > &data) const override
aspect::Assemblers::StokesIncompressibleTermsAnisotropicViscosity
Definition:
stokes_anisotropic_viscosity.h:71
simulator_access.h
aspect::SimulatorAccess
Definition:
plugins.h:47
aspect
Definition:
advection_field.h:30
aspect::Assemblers::Interface
Definition:
simulator.h:135
aspect::Assemblers::StokesCompressiblePreconditionerAnisotropicViscosity
Definition:
stokes_anisotropic_viscosity.h:57
aspect::Assemblers::StokesPreconditionerAnisotropicViscosity
Definition:
stokes_anisotropic_viscosity.h:37
interface.h
aspect::internal::Assembly::Scratch::ScratchBase
Definition:
interface.h:57
aspect::MaterialModel::MaterialModelOutputs
Definition:
interface.h:512
aspect::internal::Assembly::CopyData::CopyDataBase
Definition:
interface.h:352
aspect::Assemblers::StokesPreconditionerAnisotropicViscosity::create_additional_material_model_outputs
void create_additional_material_model_outputs(MaterialModel::MaterialModelOutputs< dim > &outputs) const override