ASL
0.1.7
Advanced Simulation Library
Toggle main menu visibility
Loading...
Searching...
No Matches
src
num
aslFDAdvectionDiffusionBC.h
Go to the documentation of this file.
1
/*
2
* Advanced Simulation Library <http://asl.org.il>
3
*
4
* Copyright 2015 Avtech Scientific <http://avtechscientific.com>
5
*
6
*
7
* This file is part of Advanced Simulation Library (ASL).
8
*
9
* ASL is free software: you can redistribute it and/or modify it
10
* under the terms of the GNU Affero General Public License as
11
* published by the Free Software Foundation, version 3 of the License.
12
*
13
* ASL is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU Affero General Public License for more details.
17
*
18
* You should have received a copy of the GNU Affero General Public License
19
* along with ASL. If not, see <http://www.gnu.org/licenses/>.
20
*
21
*/
22
23
24
#ifndef ASLFDADVECTIONDIFFUSIONBC_H
25
#define ASLFDADVECTIONDIFFUSIONBC_H
26
27
#include "
aslBCond.h
"
28
29
namespace
acl
30
{
31
class
Kernel
;
32
typedef
std::shared_ptr<Kernel>
SPKernel
;
33
34
}
35
36
namespace
asl
37
{
38
class
FDAdvectionDiffusion
;
39
typedef
std::shared_ptr<FDAdvectionDiffusion>
SPFDAdvectionDiffusion
;
40
class
AbstractDataWithGhostNodes
;
41
typedef
std::shared_ptr<AbstractDataWithGhostNodes>
SPAbstractDataWithGhostNodes
;
42
43
45
class
BCConstantFluxMap
:
public
BCondWithMap
46
{
47
public
:
48
typedef
SPAbstractDataWithGhostNodes
Data
;
49
acl::SPKernel
kernel
;
50
protected
:
51
Data
data
;
52
acl::VectorOfElements
value
;
53
public
:
54
BCConstantFluxMap
(
Data
d,
55
const
acl::VectorOfElements
& val,
56
Data
map
,
57
const
VectorTemplate
*
const
t);
58
~BCConstantFluxMap
();
59
virtual
void
execute
();
60
virtual
void
init
();
61
void
setValue
(
const
acl::VectorOfElements
& v);
62
};
63
64
65
SPNumMethod
generateBCConstantFlux
(
SPFDAdvectionDiffusion
nm,
66
double
flux,
67
SPAbstractDataWithGhostNodes
map);
68
69
}
// asl
70
#endif
// ASLFDADVECTIONDIFFUSIONBC_H
aslBCond.h
acl::Kernel
OpenCl Kernel generator.
Definition
aclKernel.h:49
acl::VectorOfElements
The class represents several Element.
Definition
aclVectorOfElementsDef.h:92
asl::AbstractDataWithGhostNodes
Definition
aslDataWithGhostNodes.h:39
asl::BCConstantFluxMap::data
Data data
Definition
aslFDAdvectionDiffusionBC.h:51
asl::BCConstantFluxMap::execute
virtual void execute()
Executes the numerical procedure.
asl::BCConstantFluxMap::setValue
void setValue(const acl::VectorOfElements &v)
asl::BCConstantFluxMap::init
virtual void init()
Builds the necesery internal data and kernels.
asl::BCConstantFluxMap::kernel
acl::SPKernel kernel
Definition
aslFDAdvectionDiffusionBC.h:49
asl::BCConstantFluxMap::Data
SPAbstractDataWithGhostNodes Data
Definition
aslFDAdvectionDiffusionBC.h:48
asl::BCConstantFluxMap::~BCConstantFluxMap
~BCConstantFluxMap()
asl::BCConstantFluxMap::value
acl::VectorOfElements value
Definition
aslFDAdvectionDiffusionBC.h:52
asl::BCConstantFluxMap::BCConstantFluxMap
BCConstantFluxMap(Data d, const acl::VectorOfElements &val, Data map, const VectorTemplate *const t)
asl::BCondWithMap::map
SPAbstractDataWithGhostNodes map
boundary description for the particular BC
Definition
aslBCond.h:111
asl::BCondWithMap::BCondWithMap
BCondWithMap(SPAbstractDataWithGhostNodes m, const VectorTemplate *const vt)
asl::FDAdvectionDiffusion
Numerical method which computes multicomponent transport processes.
Definition
aslFDAdvectionDiffusion.h:61
asl::VectorTemplate
Defines set of vectros with several properties.
Definition
aslTemplates.h:88
acl
Advanced Computational Language.
Definition
acl.h:41
acl::SPKernel
std::shared_ptr< Kernel > SPKernel
Definition
aclKernelMerger.h:35
asl
Advanced Simulation Library.
Definition
aslDataInc.h:31
asl::SPAbstractDataWithGhostNodes
std::shared_ptr< AbstractDataWithGhostNodes > SPAbstractDataWithGhostNodes
Definition
aslGenerators.h:51
asl::generateBCConstantFlux
SPNumMethod generateBCConstantFlux(SPFDAdvectionDiffusion nm, double flux, SPAbstractDataWithGhostNodes map)
asl::SPNumMethod
std::shared_ptr< NumMethod > SPNumMethod
Definition
aslNumMethod.h:44
asl::SPFDAdvectionDiffusion
std::shared_ptr< FDAdvectionDiffusion > SPFDAdvectionDiffusion
Definition
aslFDAdvectionDiffusion.h:113
Generated by
1.17.0