|
MeshKit
1.0
|
from one mesh file, with quads, on bottom, generate hexa meshes, by extrusion, in the z direction More...
#include "meshkit/MKCore.hpp"#include "meshkit/FBiGeom.hpp"#include "meshkit/SizingFunction.hpp"#include "meshkit/ModelEnt.hpp"#include "stdlib.h"#include <iostream>#include <sstream>#include <fstream>#include <math.h>#include <assert.h>#include <string.h>#include <stdio.h>#include <time.h>#include "moab/CartVect.hpp"#include "moab/Interface.hpp"#include "moab/Skinner.hpp"#include <vector>#include "TestUtil.hpp"
Go to the source code of this file.
Functions | |
| void | extrudeQuads () |
| bool | create_a_set_with_tag_value (iMesh_Instance meshIface, iBase_EntityHandle *ents, int num_ents, char *tag_name, int size_name_tag, int value, iBase_EntitySetHandle &mesh_set) |
| int | main (int argc, char *argv[]) |
Variables | |
| MKCore * | mk |
| bool | save_mesh = false |
| std::string | bottom_mesh |
| std::string | top_filename |
| std::string | out_mesh |
| int | nbLayers |
| std::vector< double > | grades |
from one mesh file, with quads, on bottom, generate hexa meshes, by extrusion, in the z direction
it will use ray shooting from the points of the bottom quads to the top "surface" loaded with FBiGeom
it will generate -n layers of hexas, or you can give some graded ratios, with -g option
Definition in file test_fbgeom.cpp.
| bool create_a_set_with_tag_value | ( | iMesh_Instance | meshIface, |
| iBase_EntityHandle * | ents, | ||
| int | num_ents, | ||
| char * | tag_name, | ||
| int | size_name_tag, | ||
| int | value, | ||
| iBase_EntitySetHandle & | mesh_set | ||
| ) |
Definition at line 49 of file test_fbgeom.cpp.
| void extrudeQuads | ( | ) |
Definition at line 144 of file test_fbgeom.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 81 of file test_fbgeom.cpp.
| std::string bottom_mesh |
Definition at line 41 of file test_fbgeom.cpp.
| std::vector<double> grades |
Definition at line 45 of file test_fbgeom.cpp.
Definition at line 38 of file test_fbgeom.cpp.
| int nbLayers |
Definition at line 44 of file test_fbgeom.cpp.
| std::string out_mesh |
Definition at line 43 of file test_fbgeom.cpp.
| bool save_mesh = false |
Definition at line 39 of file test_fbgeom.cpp.
| std::string top_filename |
Definition at line 42 of file test_fbgeom.cpp.