NeoFOAM
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 NeoFOAM 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 updateNonOrthDeltaCoeffs(const Executor& exec, SurfaceField<Vector>& nonOrthDeltaCoeffs)
30 override;
31
32
33private:
34
35 const UnstructuredMesh& mesh_;
36};
37
38} // namespace NeoFOAM
Represents an unstructured mesh in NeoFOAM.
void updateNonOrthDeltaCoeffs(const Executor &exec, SurfaceField< Vector > &nonOrthDeltaCoeffs) override
void updateWeights(const Executor &exec, SurfaceField< scalar > &weights) override
void updateDeltaCoeffs(const Executor &exec, SurfaceField< scalar > &deltaCoeffs) override
void updateNonOrthDeltaCoeffs(const Executor &exec, SurfaceField< scalar > &nonOrthDeltaCoeffs) override
Represents a surface field in a finite volume method.
std::variant< SerialExecutor, CPUExecutor, GPUExecutor > Executor
Definition executor.hpp:16