MeshKit
1.0
|
00001 00015 #include "meshkit/MKCore.hpp" 00016 #include "meshkit/MeshOp.hpp" 00017 #include "meshkit/ModelEnt.hpp" 00018 #include "meshkit/PostBL.hpp" 00019 00020 #include "meshkit/SizingFunction.hpp" 00021 #include "meshkit/CopyGeom.hpp" 00022 using namespace MeshKit; 00023 00024 MKCore *mk; 00025 00026 void test_PostBL_default(int argc, char **argv); 00027 00028 int main(int argc, char *argv[]) 00029 { 00030 mk = new MKCore(); 00032 test_PostBL_default(argc, argv); 00033 delete mk; 00034 return 0; 00035 } 00036 00037 void test_PostBL_default(int argc, char **argv) 00038 { 00040 MEntVector volso; 00041 00043 PostBL *pbl = (PostBL*) mk->construct_meshop("PostBL", volso); 00044 pbl->set_name("PostBL"); 00045 00047 pbl->PrepareIO(argc, argv, std::string(MESH_DIR)); 00048 pbl->setup_this(); 00049 pbl->execute_this(); 00050 mk->save_mesh("out_postbl.exo"); 00051 delete pbl; 00052 } 00053 00054 00055