ASPECT
include
aspect
volume_of_fluid
field.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2016 - 2024 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_volume_of_fluid_field_h
22
#define _aspect_volume_of_fluid_field_h
23
24
#include <
aspect/fe_variable_collection.h
>
25
26
namespace
aspect
27
{
28
namespace
VolumeOfFluid
29
{
35
struct
VolumeOfFluidInputType
36
{
37
enum
Kind
38
{
42
composition
,
49
level_set
50
};
51
};
52
}
53
58
template
<
int
dim>
59
struct
VolumeOfFluidField
60
{
65
VolumeOfFluidField
(
const
FEVariable<dim>
&
volume_fraction
,
66
const
FEVariable<dim>
&
reconstruction
,
67
const
FEVariable<dim>
&
level_set
,
68
const
unsigned
int
composition_index
);
69
73
const
FEVariable<dim>
&
volume_fraction
;
74
78
const
FEVariable<dim>
&
reconstruction
;
79
84
const
FEVariable<dim>
&
level_set
;
85
89
const
unsigned
int
composition_index
;
90
91
};
92
}
93
94
#endif
fe_variable_collection.h
aspect
Definition:
advection_field.h:31
aspect::FEVariable
Definition:
fe_variable_collection.h:110
aspect::VolumeOfFluidField
Definition:
field.h:60
aspect::VolumeOfFluidField::VolumeOfFluidField
VolumeOfFluidField(const FEVariable< dim > &volume_fraction, const FEVariable< dim > &reconstruction, const FEVariable< dim > &level_set, const unsigned int composition_index)
aspect::VolumeOfFluidField::reconstruction
const FEVariable< dim > & reconstruction
Definition:
field.h:78
aspect::VolumeOfFluidField::volume_fraction
const FEVariable< dim > & volume_fraction
Definition:
field.h:73
aspect::VolumeOfFluidField::level_set
const FEVariable< dim > & level_set
Definition:
field.h:84
aspect::VolumeOfFluidField::composition_index
const unsigned int composition_index
Definition:
field.h:89
aspect::VolumeOfFluid::VolumeOfFluidInputType
Definition:
field.h:36
aspect::VolumeOfFluid::VolumeOfFluidInputType::Kind
Kind
Definition:
field.h:38
aspect::VolumeOfFluid::VolumeOfFluidInputType::composition
@ composition
Definition:
field.h:42
aspect::VolumeOfFluid::VolumeOfFluidInputType::level_set
@ level_set
Definition:
field.h:49
ASPECT manual
| Generated by
1.9.1