netgen/libsrc/meshing/boundarylayer.hpp

30 lines
592 B
C++
Raw Normal View History

2009-01-12 23:40:13 +00:00
#ifndef FILE_BOUNDARYLAYER
#define FILE_BOUNDARYLAYER
///
2015-10-19 10:08:30 +02:00
DLL_HEADER extern void InsertVirtualBoundaryLayer (Mesh & mesh);
2009-01-12 23:40:13 +00:00
/// Create a typical prismatic boundary layer on the given
/// surfaces
2014-12-18 14:00:58 +00:00
class BoundaryLayerParameters
{
public:
// parameters by Philippose ..
Array<int> surfid;
Array<double> heights;
Array<double> new_matnrs;
2014-12-18 14:00:58 +00:00
int prismlayers = 1;
2015-01-08 21:18:22 +00:00
int bulk_matnr = 1;
int new_matnr = 1;
2014-12-18 14:00:58 +00:00
double hfirst = 0.01;
double growthfactor = 1;
2015-01-07 10:58:09 +00:00
bool optimize = true;
2014-12-18 14:00:58 +00:00
};
2015-10-19 10:08:30 +02:00
DLL_HEADER extern void GenerateBoundaryLayer (Mesh & mesh, BoundaryLayerParameters & blp);
2009-01-12 23:40:13 +00:00
#endif