mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
28 lines
517 B
C++
28 lines
517 B
C++
#ifndef FILE_BOUNDARYLAYER
|
|
#define FILE_BOUNDARYLAYER
|
|
|
|
|
|
///
|
|
extern void InsertVirtualBoundaryLayer (Mesh & mesh);
|
|
|
|
/// Create a typical prismatic boundary layer on the given
|
|
/// surfaces
|
|
|
|
class BoundaryLayerParameters
|
|
{
|
|
public:
|
|
// parameters by Philippose ..
|
|
Array<int> surfid;
|
|
int prismlayers = 1;
|
|
int bulk_matnr = 1;
|
|
int new_matnr = 1;
|
|
double hfirst = 0.01;
|
|
double growthfactor = 1;
|
|
bool optimize = true;
|
|
};
|
|
|
|
extern void GenerateBoundaryLayer (Mesh & mesh, BoundaryLayerParameters & blp);
|
|
|
|
|
|
#endif
|