chombo-discharge
Loading...
Searching...
No Matches
CD_IrregularDeposition.H
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2021-2026 SINTEF Energy Research
3 *
4 * SPDX-License-Identifier: GPL-3.0-or-later
5 */
6
13#ifndef CD_IRREGULARDEPOSITION_H
14#define CD_IRREGULARDEPOSITION_H
15
16// Std includes
17#include <string>
18
19// Chombo includes
20#include <MayDay.H>
21
22// Our includes
23#include <CD_NamespaceHeader.H>
24
36{
41 Native,
42
48 NGP,
49
62 Mirror,
63
69
74};
75
88irregularDepositionFromString(const std::string& a_str) noexcept;
89
90#include <CD_NamespaceFooter.H>
91
93
94#endif
Implementation of CD_IrregularDeposition.H.
IrregularDeposition irregularDepositionFromString(const std::string &a_str) noexcept
Map a cut-cell deposition selector string to an IrregularDeposition.
Definition CD_IrregularDepositionImplem.H:21
IrregularDeposition
How a deposition scheme treats the cut cells.
Definition CD_IrregularDeposition.H:36
@ Mirror
Even extension of the density about the embedded boundary: deposit each particle's cloud and the clou...
@ Redistribute
Hybrid divergence: the cut-cell mass excess deltaM = (1-kappa)*dc is redistributed to the neighbours.
@ RedistributeBlended
As Redistribute, but the conservative divergence is first blended with the non-conservative one.
@ Native
Deposit as-is, with no cut-cell treatment at all.
@ NGP
Put the particle's entire cloud in its own cell when that cell is a cut cell.