NeoFOAM
WIP Prototype of a modern OpenFOAM core
Loading...
Searching...
No Matches
include
NeoFOAM
dsl
explicit.hpp
Go to the documentation of this file.
1
// SPDX-License-Identifier: MIT
2
//
3
// SPDX-FileCopyrightText: 2023 NeoFOAM authors
4
5
#pragma once
6
7
#include "
NeoFOAM/fields/field.hpp
"
8
#include "
NeoFOAM/dsl/operator.hpp
"
9
#include "
NeoFOAM/finiteVolume/cellCentred/fields/volumeField.hpp
"
10
#include "
NeoFOAM/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 "
NeoFOAM/finiteVolume/cellCentred/operators/divOperator.hpp
"
15
16
namespace
fvcc
=
NeoFOAM::finiteVolume::cellCentred
;
17
18
namespace
NeoFOAM::dsl::exp
19
{
20
21
Operator
22
div
(
const
fvcc::SurfaceField<NeoFOAM::scalar>
& faceFlux,
fvcc::VolumeField<NeoFOAM::scalar>
& phi)
23
{
24
return
Operator
(
fvcc::DivOperator
(
dsl::Operator::Type::Explicit
, faceFlux, phi));
25
}
26
27
28
}
// namespace NeoFOAM
NeoFOAM::dsl::Operator
Definition
operator.hpp:43
NeoFOAM::dsl::Operator::Type::Explicit
@ Explicit
NeoFOAM::finiteVolume::cellCentred::DivOperator
Definition
divOperator.hpp:65
NeoFOAM::finiteVolume::cellCentred::SurfaceField
Represents a surface field in a finite volume method.
Definition
surfaceField.hpp:26
NeoFOAM::finiteVolume::cellCentred::VolumeField
Represents a volume field in a finite volume method.
Definition
volumeField.hpp:27
divOperator.hpp
field.hpp
NeoFOAM::dsl::exp
Definition
explicit.hpp:19
NeoFOAM::dsl::exp::div
Operator div(const fvcc::SurfaceField< NeoFOAM::scalar > &faceFlux, fvcc::VolumeField< NeoFOAM::scalar > &phi)
Definition
explicit.hpp:22
NeoFOAM::finiteVolume::cellCentred
Definition
fieldCollection.hpp:16
operator.hpp
surfaceField.hpp
volumeField.hpp
Generated by
1.9.8