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