chombo-discharge
Loading...
Searching...
No Matches
CD_PetscAMRCell.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_PETSCAMRCELL_H
14#define CD_PETSCAMRCELL_H
15
16#ifdef CH_USE_PETSC
17
18// Petsc includes
19#include "petsc.h"
20
21// Chombo includes
22#include <SPMD.H>
23
24// Our includes
25#include <CD_NamespaceHeader.H>
26
36class PetscAMRCell
37{
38public:
43
48
53
58
64
70
81 void
85 const bool a_isCoarCF,
86 const bool a_isFineCF,
87 const bool a_isGhostCF,
89
95 void
97
102 void
104
109 void
111
116 void
118
123 void
125
130 void
132
138
142 bool
144
148 bool
150
154 bool
156
160 bool
162
166 bool
168
173
178
182 bool m_isGhostCF;
183
187 bool m_isCoarCF;
188
192 bool m_isFineCF;
193
198};
199
203constexpr int
205
211void
212linearIn(PetscAMRCell& a_amrCell, const void* const a_buffer);
213
219void
220linearOut(void* const a_buffer, const PetscAMRCell& a_amrCell);
221
222#include <CD_NamespaceFooter.H>
223
224#endif
225
226#endif
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition CD_TracerParticleSolver.H:38
TracerParticleSolver()
Default constructor.
Definition CD_TracerParticleSolverImplem.H:26