NeoN
A framework for CFD software
Loading...
Searching...
No Matches
basicGeometryScheme.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2023 - 2025 NeoN authors
2//
3// SPDX-License-Identifier: MIT
4
5#pragma once
6
12
14{
15
17{
18
19public:
20
22
23 void updateWeights(const Executor& exec, SurfaceField<scalar>& weights) override;
24
25 void updateDeltaCoeffs(const Executor& exec, SurfaceField<scalar>& deltaCoeffs) override;
26
27 void updateNonOrthDeltaCoeffs(const Executor& exec, SurfaceField<scalar>& nonOrthDeltaCoeffs)
28 override;
29
30 void
31 updateNonOrthDeltaCoeffs(const Executor& exec, SurfaceField<Vec3>& nonOrthDeltaCoeffs) override;
32
33
34private:
35
36 const UnstructuredMesh& mesh_;
37};
38
39} // 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:18