MeshKit  1.0
example_postbl.cpp

Post-Mesh Boundary Layer Generation Tool

Input

Reads in a mesh file and boundary layer parameters.

Output

Outputs a mesh file.

Source Code

#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;
}



 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines