netgen/libsrc/meshing/boundarylayer.hpp

30 lines
829 B
C++
Raw Normal View History

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
/// Create a typical prismatic boundary layer on the given
/// surfaces
2014-12-18 19:00:58 +05:00
class BoundaryLayerParameters
{
public:
// parameters by Philippose ..
Array<int> surfid;
Array<double> heights;
string new_mat;
2020-04-23 18:44:32 +05:00
BitArray domains;
bool outside = false; // set the boundary layer on the outside
bool grow_edges = false;
Array<size_t> project_boundaries;
2014-12-18 19:00:58 +05:00
};
DLL_HEADER void GenerateBoundaryLayer (Mesh & mesh,
const BoundaryLayerParameters & blp);
2021-03-30 19:54:39 +05:00
DLL_HEADER int /* new_domain_number */ GenerateBoundaryLayer2 (Mesh & mesh, int domain, const Array<double> & thicknesses, bool should_make_new_domain=true, const Array<int> & boundaries=Array<int>{});
2009-01-13 04:40:13 +05:00
#endif