NeoN
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
include
NeoN
finiteVolume
cellCentred
stencil
cellToFaceStencil.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
// SPDX-FileCopyrightText: 2025 NeoN authors
3
4
#pragma once
5
6
#include "
NeoN/mesh/unstructured/unstructuredMesh.hpp
"
7
#include "
NeoN/fields/segmentedVector.hpp
"
8
9
namespace
NeoN::finiteVolume::cellCentred
10
{
11
12
13
class
CellToFaceStencil
14
{
15
public
:
16
17
CellToFaceStencil
(
const
UnstructuredMesh
& mesh);
18
19
SegmentedVector<localIdx, localIdx>
computeStencil
()
const
;
20
21
private
:
22
23
const
UnstructuredMesh
& mesh_;
24
};
25
26
}
// namespace NeoN::finiteVolume::cellCentred
NeoN::SegmentedVector
Data structure that stores a segmented fields or a vector of vectors.
Definition
segmentedVector.hpp:128
NeoN::UnstructuredMesh
Represents an unstructured mesh in NeoN.
Definition
unstructuredMesh.hpp:29
NeoN::finiteVolume::cellCentred::CellToFaceStencil
Definition
cellToFaceStencil.hpp:14
NeoN::finiteVolume::cellCentred::CellToFaceStencil::CellToFaceStencil
CellToFaceStencil(const UnstructuredMesh &mesh)
NeoN::finiteVolume::cellCentred::CellToFaceStencil::computeStencil
SegmentedVector< localIdx, localIdx > computeStencil() const
NeoN::finiteVolume::cellCentred
Definition
fieldCollection.hpp:18
segmentedVector.hpp
unstructuredMesh.hpp
Generated by
1.9.8