ASL  0.1.7
Advanced Simulation Library
aslCrystalGrowthBC.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 ASLCRYSTALGROWTHBC_H
25 #define ASLCRYSTALGROWTHBC_H
26 
27 #include "aslBCond.h"
28 #include <data/aslDataWithGhostNodes.h>
29 #include <acl/aclMath/aclVectorOfElementsDef.h>
30 
31 
32 namespace acl
33 {
34  class Kernel;
36 }
37 
38 namespace asl
39 {
40  class PositionFunction;
42 
43 
47  {
48  public:
51  protected:
52  Data data;
55  public:
56  BCLinearGrowthMap(Data d,
57  const acl::VectorOfElements & cEq,
58  const acl::VectorOfElements & beta,
59  Data map,
60  const VectorTemplate *const t);
61  BCLinearGrowthMap(Data d,
62  const acl::VectorOfElements & cEq,
63  const acl::VectorOfElements & beta,
64  Data map,
65  Data computationalDomain,
66  const VectorTemplate *const t);
68  virtual void execute();
69  virtual void init();
70  };
71 
73 
121  {
122  public:
125  protected:
126  Data data;
129  public:
130  BCLinearGrowthMap1(Data d,
131  const acl::VectorOfElements & cEq,
132  const acl::VectorOfElements & beta,
133  Data map,
134  const VectorTemplate *const t);
135  BCLinearGrowthMap1(Data d,
136  const acl::VectorOfElements & cEq,
137  const acl::VectorOfElements & beta,
138  Data map,
139  Data computationalDomain,
140  const VectorTemplate *const t);
142  virtual void execute();
143  virtual void init();
144  };
145 
149  {
150  public:
154  protected:
155  Data data;
158  public:
159  BCLinearGrowthMap2(Data d,
160  const acl::VectorOfElements & cEq,
161  const acl::VectorOfElements & beta,
162  Data map,
163  const VectorTemplate *const t);
164  BCLinearGrowthMap2(Data d,
165  const acl::VectorOfElements & cEq,
166  const acl::VectorOfElements & beta,
167  Data map,
168  Data computationalDomain,
169  const VectorTemplate *const t);
171  virtual void execute();
172  virtual void init();
173  };
174 
175 
176 
178  double cEq,
179  double beta,
181  const VectorTemplate *const t);
182 
184  double cEq,
185  double beta,
187  SPAbstractDataWithGhostNodes computationalDomain,
188  const VectorTemplate *const t);
189 
191  double cEq,
192  double beta,
194  const VectorTemplate *const t);
195 
197  double cEq,
198  double beta,
200  SPAbstractDataWithGhostNodes computationalDomain,
201  const VectorTemplate *const t);
202 
203 } //asl
204 
205 #endif //ASLCRYSTALGROWTHBC_H
std::shared_ptr< PositionFunction > SPPositionFunction
Boundary condition that makes gradient proportional to a surface concentration.
SPAbstractDataWithGhostNodes Data
SPAbstractDataWithGhostNodes Data
Advanced Simulation Library.
Definition: aslDataInc.h:30
Advanced Computational Language.
Definition: acl.h:40
std::shared_ptr< Kernel > SPKernel
SPNumMethod generateBCLinearGrowth2(SPAbstractDataWithGhostNodes d, double cEq, double beta, SPAbstractDataWithGhostNodes map, SPAbstractDataWithGhostNodes computationalDomain, const VectorTemplate *const t)
acl::VectorOfElements cEq
SPNumMethod generateBCLinearGrowth(SPAbstractDataWithGhostNodes d, double cEq, double beta, SPAbstractDataWithGhostNodes map, SPAbstractDataWithGhostNodes computationalDomain, const VectorTemplate *const t)
The class represents several Element.
std::shared_ptr< T > map(ElementData m)
Definition: aclMemBlock.h:68
Virtual class describes general interface for boundary conditions.
Definition: aslBCond.h:100
acl::VectorOfElements beta
acl::VectorOfElements beta
acl::VectorOfElements cEq
Defines set of vectros with several properties.
Definition: aslTemplates.h:87
acl::VectorOfElements cEq
SPAbstractDataWithGhostNodes Data
acl::VectorOfElements beta