-
Notifications
You must be signed in to change notification settings - Fork 0
/
Column.h
36 lines (26 loc) · 1.04 KB
/
Column.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
#ifndef COLUMN_H
#define COLUMN_H
#include "Data.h"
#include "Parameters.h"
class Column{
public:
Column();
Column(std::vector<std::pair<int,int>> dt_fragmentedColumn, Parameters * prm, std::string _periodic);
virtual ~Column();
std::string periodic;
double dx, dy, dz;
Volumes volumes;
Surfaces surfaces;
Walls outerWalls, beadWalls;
void generateBoxSurfaces();
void AddPhysicalGroups();
void separateBoundingSurfaces(std::vector<std::pair<int, int>> dt_surfaces, Walls& tWall);
void stats();
void setupPeriodicSurfaces(Walls& tWall);
void matchPeriodicSurfaces(std::vector<int>& ltags, std::vector<int>& rtags, int per_dir, std::vector<double> affineTranslation);
void linkPeriodicZ(Column& second);
void write(std::string outpath, std::string outfile, std::string extension);
void writeFragments(std::string outpath, std::string outfile, std::string extension);
void meshVolumes(Parameters * prm);
};
#endif