MeshKit
1.0
|
Reads in a mesh file and boundary layer parameters.
Outputs a mesh file.
#include "meshkit/MKCore.hpp" #include "meshkit/MeshOp.hpp" #include "meshkit/ModelEnt.hpp" #include "meshkit/PostBL.hpp" #include "meshkit/SizingFunction.hpp" #include "meshkit/CopyGeom.hpp" using namespace MeshKit; MKCore *mk; void test_PostBL_default(int argc, char **argv); int main(int argc, char *argv[]) { mk = new MKCore(); test_PostBL_default(argc, argv); delete mk; return 0; } void test_PostBL_default(int argc, char **argv) { MEntVector volso; PostBL *pbl = (PostBL*) mk->construct_meshop("PostBL", volso); pbl->set_name("PostBL"); pbl->PrepareIO(argc, argv, std::string(MESH_DIR)); pbl->setup_this(); pbl->execute_this(); mk->save_mesh("out_postbl.exo"); delete pbl; }