mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-14 10:08:32 +05:00
609cbbcadf
and easier)
29 lines
627 B
C++
29 lines
627 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);
|
|
|
|
|
|
#endif
|