include/meltpooldg/cut/cut_data.hpp Source File

Developer Documentation: include/meltpooldg/cut/cut_data.hpp Source File
Developer Documentation
cut_data.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <deal.II/base/parameter_handler.h>
4
5namespace MeltPoolDG
6{
11 template <typename number>
13 {
14 // mass matrix stabilization
15
17 number gamma_M_degree_0 = 1.;
19 number gamma_M_degree_1 = 1.;
22 number gamma_M_degree_2 = 1.;
23
24 // stiffness matrix stabilization
25
27 number gamma_A_degree_0 = 1.;
29 number gamma_A_degree_1 = 1.;
32 number gamma_A_degree_2 = 1.;
33
39 void
40 add_parameters(dealii::ParameterHandler &prm);
41 };
42
46 template <typename number>
48 {
50 number nitsche_parameter = 1.;
51
54
60 void
61 add_parameters(dealii::ParameterHandler &prm);
62 };
63
74 {
77 bool enable = false;
78
80 unsigned int every_n_step = 100;
81
88 struct Weights
89 {
91 unsigned int inside = 1;
92
94 unsigned int outside = 1;
95
97 unsigned int intersected = 20;
99
105 void
106 add_parameters(dealii::ParameterHandler &prm);
107 };
108} // namespace MeltPoolDG
Interface for a general preconditioner.
Definition boundary_condition_functions.hpp:17
Definition cut_data.hpp:89
unsigned int intersected
Weight of cells intersected by the zero level-set isosurface.
Definition cut_data.hpp:97
unsigned int inside
Weight of cells located completely inside (negative level set)
Definition cut_data.hpp:91
unsigned int outside
Weight of cells located completely outside (positive level set)
Definition cut_data.hpp:94
Collection of parameters for the weighted repartitioning of the triangulation in cut applications.
Definition cut_data.hpp:74
void add_parameters(dealii::ParameterHandler &prm)
Add the repartitioning parameters in the parameter handler.
Definition cut_data.cpp:46
bool enable
Definition cut_data.hpp:77
struct MeltPoolDG::CutRepartitionData::Weights weights
unsigned int every_n_step
The triangulation is repartitioned every n-th time step.
Definition cut_data.hpp:80
Collection of parameters for the stabilization of cutFEM and cutDG applications.
Definition cut_data.hpp:48
void add_parameters(dealii::ParameterHandler &prm)
Add cut-related stabilization parameters in the parameter handler.
Definition cut_data.cpp:35
number nitsche_parameter
Nitsche stabilization parameter.
Definition cut_data.hpp:50
GhostPenaltyData< number > ghost_penalty
Parameters for ghost-penalty stabilization.
Definition cut_data.hpp:53
Collection of parameters for the ghost-penalty stabilization of cutFEM and cutDG applications.
Definition cut_data.hpp:13
number gamma_A_degree_2
Definition cut_data.hpp:32
number gamma_A_degree_1
Ghost-penalty parameter for penalization of jumps in the normal gradients on the ghost-faces.
Definition cut_data.hpp:29
number gamma_A_degree_0
Ghost-penalty parameter for penalization of jumps in the values on the ghost-faces.
Definition cut_data.hpp:27
void add_parameters(dealii::ParameterHandler &prm)
Add ghost-penalty parameters in the parameter handler.
Definition cut_data.cpp:7
number gamma_M_degree_0
Ghost-penalty parameter for penalization of jumps in the values on the ghost-faces.
Definition cut_data.hpp:17
number gamma_M_degree_1
Ghost-penalty parameter for penalization of jumps in the normal gradients on the ghost-faces.
Definition cut_data.hpp:19
number gamma_M_degree_2
Definition cut_data.hpp:22