-
Notifications
You must be signed in to change notification settings - Fork 0
/
BLFlatPlate.h
57 lines (53 loc) · 1.83 KB
/
BLFlatPlate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#ifndef BLFLATPLATE_H
#define BLFLATPLATE_H
#include "BLMeshModule.h"
#include "LineEdge.h"
#include "MeshRegions.h"
#include "MeshTool.h"
#include <memory>
#include <vector>
class BLFlatPlate : public BLMeshModule {
public:
BLFlatPlate() {}
BLFlatPlate(std::map<std::string, double> &doubleparams,
std::map<std::string, int> &intparams);
void Initialise() override;
int MeshGen(MeshRegions &combinedReg, std::vector<void *> &BLedge) override;
int DefineBCs(MeshRegions &combinedReg, int offset,
std::vector<void *> &BLedge) override;
std::vector<double> edge0(double s) override;
std::vector<double> edge1(double s) override;
std::vector<double> edge2(double s) override;
std::vector<double> edge3(double s) override;
std::vector<double> edge4(double s) override;
std::vector<double> edge5(double s) override;
std::vector<double> edge6(double s) override;
std::vector<double> edge7(double s) override;
std::vector<double> edge8(double s) override;
std::vector<double> edge9(double s) override;
std::vector<double> edge10(double s) override;
std::vector<double> edge11(double s) override;
double g_ptsA[20][2];
double g_thetaA[20][2];
LineEdge Cedge1011;
LineEdge Cedge110;
LineEdge Cedge45;
LineEdge Cedge56;
LineEdge Cedge01;
LineEdge Cedge12;
LineEdge Cedge23;
LineEdge Cedge34;
LineEdge Cedge67;
LineEdge Cedge78;
LineEdge Cedge89;
LineEdge Cedge910;
int MeshGenUpper(MeshRegions &combinedReg,
std::vector<void *> &BLedge) override;
int MeshGenLower(MeshRegions &combinedReg,
std::vector<void *> &BLedge) override;
int MeshGenLEdge(MeshRegions &combinedReg,
std::vector<void *> &BLedge) override;
int MeshGenTEdge(MeshRegions &combinedReg,
std::vector<void *> &BLedge) override;
};
#endif