Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ElmerCSC
GitHub Repository: ElmerCSC/elmerfem
Path: blob/devel/meshgen2d/src/include/BoundaryLayer.h
3203 views
1
#if !defined( BOUNDARY_LAYER_H )
2
#define BOUNDARY_LAYER_H
3
4
#include "Layer.h"
5
6
class Border;
7
8
#include <vector>
9
10
class BoundaryLayer : public Layer
11
{
12
public:
13
BoundaryLayer(const int t) : Layer(t) { bg = NULL; }
14
BoundaryLayer(const int t, BGMesh *bgMesh) : Layer(t) { bg = bgMesh; }
15
~BoundaryLayer() { }
16
17
virtual void initialize();
18
void discretize(NodeMap& fixedNodes, NodeMap& allNodes, std::list< Element* >& allElements);
19
void setBounds( Border *bd ) { bounds = bd; }
20
21
protected:
22
23
void exportNodes( NodeMap& allNodes, std::list< Element* >& allElements );
24
std::vector< Node* > border;
25
26
BGMesh *bg;
27
};
28
29
#endif /* BOUNDARY_LAYER_H */
30
31