chombo-discharge
Loading...
Searching...
No Matches
CD_EBRedistribution.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
12
13#ifndef CD_EBREDISTRIBUTION_H
14#define CD_EBREDISTRIBUTION_H
15
16// Chombo includes
17#include <REAL.H>
18
19// Our includes
20#include <CD_EBAMRData.H>
21#include <CD_NamespaceHeader.H>
22
42{
43public:
47 EBRedistribution() noexcept;
48
53 EBRedistribution(const EBRedistribution& a_other) = delete;
54
59 EBRedistribution(const EBRedistribution&& a_other) = delete;
60
67 operator=(const EBRedistribution& a_other) = delete;
68
75 operator=(const EBRedistribution&& a_other) = delete;
76
80 virtual ~EBRedistribution() noexcept;
81
91 virtual void
92 redistribute(EBAMRCellData& a_divG, const EBAMRCellData& a_phi, const Real a_dt) noexcept = 0;
93};
94
95#include <CD_NamespaceFooter.H>
96
97#endif
Class for holding data across EBAMR hierarchies.
EBRedistribution(const EBRedistribution &&a_other)=delete
Disallowed move constructor.
EBRedistribution(const EBRedistribution &a_other)=delete
Disallowed copy constructor.
EBRedistribution & operator=(const EBRedistribution &&a_other)=delete
Disallowed move assignment.
EBRedistribution & operator=(const EBRedistribution &a_other)=delete
Disallowed copy assignment.
EBRedistribution() noexcept
Default constructor.
Definition CD_EBRedistribution.cpp:20
virtual void redistribute(EBAMRCellData &a_divG, const EBAMRCellData &a_phi, const Real a_dt) noexcept=0
Turn the conservative divergence into the right-hand side of the stabilized update.
virtual ~EBRedistribution() noexcept
Destructor.
Definition CD_EBRedistribution.cpp:25