NeoN
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
basicGeometryScheme.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2// SPDX-FileCopyrightText: 2023 NeoN authors
3
4#pragma once
5
11
13{
14
16{
17
18public:
19
21
22 void updateWeights(const Executor& exec, SurfaceField<scalar>& weights) override;
23
24 void updateDeltaCoeffs(const Executor& exec, SurfaceField<scalar>& deltaCoeffs) override;
25
26 void updateNonOrthDeltaCoeffs(const Executor& exec, SurfaceField<scalar>& nonOrthDeltaCoeffs)
27 override;
28
29 void
30 updateNonOrthDeltaCoeffs(const Executor& exec, SurfaceField<Vec3>& nonOrthDeltaCoeffs) override;
31
32
33private:
34
35 const UnstructuredMesh& mesh_;
36};
37
38} // namespace NeoN
Represents an unstructured mesh in NeoN.
void updateDeltaCoeffs(const Executor &exec, SurfaceField< scalar > &deltaCoeffs) override
void updateNonOrthDeltaCoeffs(const Executor &exec, SurfaceField< scalar > &nonOrthDeltaCoeffs) override
void updateNonOrthDeltaCoeffs(const Executor &exec, SurfaceField< Vec3 > &nonOrthDeltaCoeffs) override
void updateWeights(const Executor &exec, SurfaceField< scalar > &weights) override
BasicGeometryScheme(const UnstructuredMesh &mesh)
Represents a surface field in a finite volume method.
std::variant< SerialExecutor, CPUExecutor, GPUExecutor > Executor
Definition executor.hpp:16