chombo-discharge
Loading...
Searching...
No Matches
CD_PetscAMRCell.H
Go to the documentation of this file.
1/* chombo-discharge
2 * Copyright © 2026 SINTEF Energy Research.
3 * Please refer to Copyright.txt and LICENSE in the chombo-discharge root directory.
4 */
5
12#ifndef CD_PetscAMRCell_H
13#define CD_PetscAMRCell_H
14
15#ifdef CH_USE_PETSC
16
17// Petsc includes
18#include "petsc.h"
19
20// Chombo includes
21#include <SPMD.H>
22
23// Our includes
24#include <CD_NamespaceHeader.H>
25
35class PetscAMRCell
36{
37public:
42
47
52
57
63
69
80 void
84 const bool a_isCoarCF,
85 const bool a_isFineCF,
86 const bool a_isGhostCF,
88
94 void
96
101 void
103
108 void
110
115 void
117
122 void
124
129 void
131
137
141 bool
143
147 bool
149
153 bool
155
159 bool
161
165 bool
167
172
177
181 bool m_isGhostCF;
182
186 bool m_isCoarCF;
187
191 bool m_isFineCF;
192
197};
198
202constexpr int
204
210void
211linearIn(PetscAMRCell& a_amrCell, const void* const a_buffer);
212
218void
219linearOut(void* const a_buffer, const PetscAMRCell& a_amrCell);
220
221#include <CD_NamespaceFooter.H>
222
223#endif
224
225#endif
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition CD_TracerParticleSolver.H:37
TracerParticleSolver()
Default constructor.
Definition CD_TracerParticleSolverImplem.H:25