chombo-discharge
Loading...
Searching...
No Matches
CD_CellInfo.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_CELLINFO_H
14#define CD_CELLINFO_H
15
16// Chombo includes
17#include <RealVect.H>
18
19// Our includes
20#include <CD_NamespaceHeader.H>
21
193
194#include <CD_NamespaceFooter.H>
195
196#endif
Class for the cell-information that is often queried when merging particles inside a cell.
Definition CD_CellInfo.H:26
RealVect & getBndryCentroid() noexcept
Get the boundary centroid.
Definition CD_CellInfo.cpp:85
IntVect m_gridIndex
Grid index.
Definition CD_CellInfo.H:161
RealVect & getValidLo() noexcept
Get the lower valid region.
Definition CD_CellInfo.cpp:109
Real & getDx() noexcept
Get the grid spacing.
Definition CD_CellInfo.cpp:61
Real m_volFrac
Volume fraction.
Definition CD_CellInfo.H:171
RealVect m_validLo
Valid region in each direction (lower limit)
Definition CD_CellInfo.H:186
RealVect m_bndryNormal
EB boundary normal.
Definition CD_CellInfo.H:181
RealVect & getValidHi() noexcept
Get the upper valid region.
Definition CD_CellInfo.cpp:121
virtual ~CellInfo() noexcept
Destructor.
RealVect & getBndryNormal() noexcept
Get the boundary normal.
Definition CD_CellInfo.cpp:97
IntVect & getGridIndex() noexcept
Get the grid index.
Definition CD_CellInfo.cpp:49
RealVect m_validHi
Valid region in each direction (upper limit)
Definition CD_CellInfo.H:191
RealVect m_bndryCentroid
Boundary centroid.
Definition CD_CellInfo.H:176
Real m_dx
Grid spacing.
Definition CD_CellInfo.H:166
Real & getVolFrac() noexcept
Get the volume fraction.
Definition CD_CellInfo.cpp:73
CellInfo()=delete
Default constructor - creates a regular cell.
Base class for a tracer particle solver. This solver can advance particles in a pre-defined velocity ...
Definition CD_TracerParticleSolver.H:38