2009-01-13 04:40:13 +05:00
|
|
|
#ifndef FILE_BOUNDARYLAYER
|
|
|
|
#define FILE_BOUNDARYLAYER
|
|
|
|
|
|
|
|
|
|
|
|
///
|
2015-10-19 13:08:30 +05:00
|
|
|
DLL_HEADER extern void InsertVirtualBoundaryLayer (Mesh & mesh);
|
2009-01-13 04:40:13 +05:00
|
|
|
|
2009-06-19 11:43:23 +06:00
|
|
|
/// Create a typical prismatic boundary layer on the given
|
|
|
|
/// surfaces
|
2014-12-18 19:00:58 +05:00
|
|
|
|
|
|
|
class BoundaryLayerParameters
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// parameters by Philippose ..
|
2020-04-19 23:00:06 +05:00
|
|
|
Array<int> surfid;
|
|
|
|
Array<double> heights;
|
|
|
|
Array<size_t> new_matnrs;
|
2020-04-23 18:44:32 +05:00
|
|
|
BitArray domains;
|
2020-04-19 23:00:06 +05:00
|
|
|
bool outside = false; // set the boundary layer on the outside
|
|
|
|
bool grow_edges = false;
|
2014-12-18 19:00:58 +05:00
|
|
|
};
|
|
|
|
|
2020-04-19 23:00:06 +05:00
|
|
|
DLL_HEADER void GenerateBoundaryLayer (Mesh & mesh,
|
|
|
|
const BoundaryLayerParameters & blp);
|
2009-06-19 11:43:23 +06:00
|
|
|
|
2009-01-13 04:40:13 +05:00
|
|
|
|
|
|
|
#endif
|