7 #define BOOST_TEST_DYN_LINK
8 #define BOOST_TEST_MODULE "Test module for BlockMeshReader"
10 #include <boost/assign/list_of.hpp>
11 #include <boost/test/unit_test.hpp>
40 int argc = boost::unit_test::framework::master_test_suite().argc;
41 char** argv = boost::unit_test::framework::master_test_suite().argv;
61 URI dict_path = base_dir /
URI(
"channel3d.dict");
65 Mesh& dict_mesh = *
root.create_component<
Mesh >(
"dict_mesh");
66 dict_reader->read_mesh_into(dict_path, dict_mesh);
69 URI ref_path = base_dir /
URI(
"uTestBlockMeshReader-Channel3D-reference.neu");
71 Mesh& ref_mesh = *
root.create_component<
Mesh >(
"ref_mesh");
72 ref_reader->read_mesh_into(ref_path, ref_mesh);
76 writer->write_from_to(dict_mesh,
URI(
"channel3d-output.msh"));
153 BOOST_AUTO_TEST_SUITE_END()
Safe pointer to an object. This is the supported method for referring to components.
BOOST_AUTO_TEST_CASE(Channel3D)
Basic Classes for Mesh applications used by COOLFluiD.
Library for I/O of the OpenFOAM BlockMesh dict files.
Top-level namespace for coolfluid.
Base class for defining CF components.
Most basic kernel library.