Path: blob/devel/meshgen2d/src/include/BoundaryLayer.h
3203 views
#if !defined( BOUNDARY_LAYER_H )1#define BOUNDARY_LAYER_H23#include "Layer.h"45class Border;67#include <vector>89class BoundaryLayer : public Layer10{11public:12BoundaryLayer(const int t) : Layer(t) { bg = NULL; }13BoundaryLayer(const int t, BGMesh *bgMesh) : Layer(t) { bg = bgMesh; }14~BoundaryLayer() { }1516virtual void initialize();17void discretize(NodeMap& fixedNodes, NodeMap& allNodes, std::list< Element* >& allElements);18void setBounds( Border *bd ) { bounds = bd; }1920protected:2122void exportNodes( NodeMap& allNodes, std::list< Element* >& allElements );23std::vector< Node* > border;2425BGMesh *bg;26};2728#endif /* BOUNDARY_LAYER_H */293031