ASPECT
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
+
Functions
a
c
d
e
f
g
h
i
m
n
o
p
r
s
t
w
x
z
Variables
Typedefs
Enumerations
+
Enumerator
a
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
+
Enumerations
a
c
d
f
k
l
m
o
p
r
s
t
v
y
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
z
Related Functions
+
Files
File List
+
File Members
All
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
include
aspect
simulator
assemblers
stokes.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2017 - 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 doc/COPYING. If not see
18
<http://www.gnu.org/licenses/>.
19
*/
20
21
#ifndef _aspect_simulator_assemblers_stokes_h
22
#define _aspect_simulator_assemblers_stokes_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
{
35
template
<
int
dim>
36
class
StokesPreconditioner
:
public
Assemblers::Interface
<dim>,
37
public
SimulatorAccess
<dim>
38
{
39
public
:
40
void
41
execute
(
internal::Assembly::Scratch::ScratchBase<dim>
&scratch_base,
42
internal::Assembly::CopyData::CopyDataBase<dim>
&data_base)
const override
;
43
44
void
create_additional_material_model_outputs
(
MaterialModel::MaterialModelOutputs<dim>
&outputs)
const override
;
45
};
46
51
template
<
int
dim>
52
class
StokesCompressiblePreconditioner
:
public
Assemblers::Interface
<dim>,
53
public
SimulatorAccess
<dim>
54
{
55
public
:
56
void
57
execute
(
internal::Assembly::Scratch::ScratchBase<dim>
&scratch_base,
58
internal::Assembly::CopyData::CopyDataBase<dim>
&data_base)
const override
;
59
};
60
65
template
<
int
dim>
66
class
StokesIncompressibleTerms
:
public
Assemblers::Interface
<dim>,
67
public
SimulatorAccess
<dim>
68
{
69
public
:
70
void
71
execute
(
internal::Assembly::Scratch::ScratchBase<dim>
&scratch_base,
72
internal::Assembly::CopyData::CopyDataBase<dim>
&data_base)
const override
;
73
77
void
create_additional_material_model_outputs
(
MaterialModel::MaterialModelOutputs<dim>
&outputs)
const override
;
78
};
79
84
template
<
int
dim>
85
class
StokesCompressibleStrainRateViscosityTerm
:
public
Assemblers::Interface
<dim>,
86
public
SimulatorAccess
<dim>
87
{
88
public
:
89
void
90
execute
(
internal::Assembly::Scratch::ScratchBase<dim>
&scratch_base,
91
internal::Assembly::CopyData::CopyDataBase<dim>
&data_base)
const override
;
92
};
93
103
template
<
int
dim>
104
class
StokesReferenceDensityCompressibilityTerm
:
public
Assemblers::Interface
<dim>,
105
public
SimulatorAccess
<dim>
106
{
107
public
:
108
void
109
execute
(
internal::Assembly::Scratch::ScratchBase<dim>
&scratch_base,
110
internal::Assembly::CopyData::CopyDataBase<dim>
&data_base)
const override
;
111
};
112
122
template
<
int
dim>
123
class
StokesImplicitReferenceDensityCompressibilityTerm
:
public
Assemblers::Interface
<dim>,
124
public
SimulatorAccess
<dim>
125
{
126
public
:
127
void
128
execute
(
internal::Assembly::Scratch::ScratchBase<dim>
&scratch_base,
129
internal::Assembly::CopyData::CopyDataBase<dim>
&data_base)
const override
;
130
};
131
141
template
<
int
dim>
142
class
StokesIsentropicCompressionTerm
:
public
Assemblers::Interface
<dim>,
143
public
SimulatorAccess
<dim>
144
{
145
public
:
146
void
147
execute
(
internal::Assembly::Scratch::ScratchBase<dim>
&scratch_base,
148
internal::Assembly::CopyData::CopyDataBase<dim>
&data_base)
const override
;
149
};
150
159
template
<
int
dim>
160
class
StokesProjectedDensityFieldTerm
:
public
Assemblers::Interface
<dim>,
161
public
SimulatorAccess
<dim>
162
{
163
public
:
164
void
165
execute
(
internal::Assembly::Scratch::ScratchBase<dim>
&scratch,
166
internal::Assembly::CopyData::CopyDataBase<dim>
&data)
const override
;
167
};
168
169
182
template
<
int
dim>
183
class
StokesHydrostaticCompressionTerm
:
public
Assemblers::Interface
<dim>,
184
public
SimulatorAccess
<dim>
185
{
186
public
:
187
void
188
execute
(
internal::Assembly::Scratch::ScratchBase<dim>
&scratch_base,
189
internal::Assembly::CopyData::CopyDataBase<dim>
&data_base)
const override
;
190
};
191
196
template
<
int
dim>
197
class
StokesBoundaryTraction
:
public
Assemblers::Interface
<dim>,
198
public
SimulatorAccess
<dim>
199
{
200
public
:
201
void
202
execute
(
internal::Assembly::Scratch::ScratchBase<dim>
&scratch_base,
203
internal::Assembly::CopyData::CopyDataBase<dim>
&data_base)
const override
;
204
};
205
213
template
<
int
dim>
214
class
StokesPressureRHSCompatibilityModification
:
public
Assemblers::Interface
<dim>,
215
public
SimulatorAccess
<dim>
216
{
217
public
:
218
void
219
execute
(
internal::Assembly::Scratch::ScratchBase<dim>
&scratch_base,
220
internal::Assembly::CopyData::CopyDataBase<dim>
&data_base)
const override
;
221
};
222
}
223
}
224
225
226
#endif
aspect::Assemblers::StokesPreconditioner
Definition:
stokes.h:36
aspect::Assemblers::StokesProjectedDensityFieldTerm
Definition:
stokes.h:160
aspect::Assemblers::StokesHydrostaticCompressionTerm
Definition:
stokes.h:183
aspect::Assemblers::StokesCompressiblePreconditioner
Definition:
stokes.h:52
aspect::Assemblers::StokesIsentropicCompressionTerm
Definition:
stokes.h:142
aspect::Assemblers::StokesReferenceDensityCompressibilityTerm
Definition:
stokes.h:104
simulator_access.h
aspect::Assemblers::StokesPreconditioner::create_additional_material_model_outputs
void create_additional_material_model_outputs(MaterialModel::MaterialModelOutputs< dim > &outputs) const override
aspect::Assemblers::StokesBoundaryTraction
Definition:
stokes.h:197
aspect::Assemblers::StokesPreconditioner::execute
void execute(internal::Assembly::Scratch::ScratchBase< dim > &scratch_base, internal::Assembly::CopyData::CopyDataBase< dim > &data_base) const override
aspect::SimulatorAccess
Definition:
plugins.h:47
aspect
Definition:
advection_field.h:30
aspect::Assemblers::Interface
Definition:
simulator.h:134
interface.h
aspect::internal::Assembly::Scratch::ScratchBase
Definition:
interface.h:57
aspect::Assemblers::StokesImplicitReferenceDensityCompressibilityTerm
Definition:
stokes.h:123
aspect::MaterialModel::MaterialModelOutputs
Definition:
interface.h:512
aspect::Assemblers::StokesPressureRHSCompatibilityModification
Definition:
stokes.h:214
aspect::internal::Assembly::CopyData::CopyDataBase
Definition:
interface.h:352
aspect::Assemblers::StokesIncompressibleTerms
Definition:
stokes.h:66
aspect::Assemblers::StokesCompressibleStrainRateViscosityTerm
Definition:
stokes.h:85