netgen/libsrc/meshing/boundarylayer.hpp
Matthias Hochsteger 98770dbf94 2d boundary layers
2021-03-16 18:22:14 +01:00

30 lines
759 B
C++

#ifndef FILE_BOUNDARYLAYER
#define FILE_BOUNDARYLAYER
///
DLL_HEADER extern void InsertVirtualBoundaryLayer (Mesh & mesh);
/// Create a typical prismatic boundary layer on the given
/// surfaces
class BoundaryLayerParameters
{
public:
// parameters by Philippose ..
Array<int> surfid;
Array<double> heights;
string new_mat;
BitArray domains;
bool outside = false; // set the boundary layer on the outside
bool grow_edges = false;
Array<size_t> project_boundaries;
};
DLL_HEADER void GenerateBoundaryLayer (Mesh & mesh,
const BoundaryLayerParameters & blp);
DLL_HEADER void GenerateBoundaryLayer2 (Mesh & mesh, int domain, const Array<int> & boundaries, const Array<double> & thicknesses);
#endif