NeoN
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
include
NeoN
dsl
explicit.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
//
3
// SPDX-FileCopyrightText: 2023 NeoN authors
4
5
#pragma once
6
7
#include "
NeoN/core/primitives/scalar.hpp
"
8
#include "
NeoN/dsl/spatialOperator.hpp
"
9
#include "
NeoN/finiteVolume/cellCentred/fields/volumeField.hpp
"
10
#include "
NeoN/finiteVolume/cellCentred/fields/surfaceField.hpp
"
11
12
// TODO we should get rid of this include since it includes details
13
// from a general implementation
14
#include "
NeoN/finiteVolume/cellCentred/operators/laplacianOperator.hpp
"
15
#include "
NeoN/finiteVolume/cellCentred/operators/divOperator.hpp
"
16
#include "
NeoN/finiteVolume/cellCentred/operators/surfaceIntegrate.hpp
"
17
#include "
NeoN/finiteVolume/cellCentred/operators/sourceTerm.hpp
"
18
19
20
namespace
NeoN::dsl::exp
21
{
22
23
namespace
fvcc
=
NeoN::finiteVolume::cellCentred
;
24
25
SpatialOperator<scalar>
26
div
(
const
fvcc::SurfaceField<scalar>
& faceFlux,
fvcc::VolumeField<scalar>
& phi);
27
28
SpatialOperator<scalar>
div
(
const
fvcc::SurfaceField<scalar>
& flux);
29
30
SpatialOperator<scalar>
31
laplacian
(
const
fvcc::SurfaceField<scalar>
& gamma,
fvcc::VolumeField<scalar>
& phi);
32
33
SpatialOperator<scalar>
source
(
fvcc::VolumeField<scalar>
& coeff,
fvcc::VolumeField<scalar>
& phi);
34
35
}
// namespace NeoN
NeoN::dsl::SpatialOperator
Definition
spatialOperator.hpp:54
NeoN::finiteVolume::cellCentred::SurfaceField
Represents a surface field in a finite volume method.
Definition
surfaceField.hpp:26
NeoN::finiteVolume::cellCentred::VolumeField
Represents a volume field in a finite volume method.
Definition
volumeField.hpp:27
divOperator.hpp
laplacianOperator.hpp
NeoN::dsl::exp
Definition
explicit.hpp:21
NeoN::dsl::exp::div
SpatialOperator< scalar > div(const fvcc::SurfaceField< scalar > &faceFlux, fvcc::VolumeField< scalar > &phi)
NeoN::dsl::exp::laplacian
SpatialOperator< scalar > laplacian(const fvcc::SurfaceField< scalar > &gamma, fvcc::VolumeField< scalar > &phi)
NeoN::dsl::exp::source
SpatialOperator< scalar > source(fvcc::VolumeField< scalar > &coeff, fvcc::VolumeField< scalar > &phi)
NeoN::finiteVolume::cellCentred
Definition
fieldCollection.hpp:18
scalar.hpp
sourceTerm.hpp
spatialOperator.hpp
surfaceField.hpp
surfaceIntegrate.hpp
volumeField.hpp
Generated by
1.9.8