7 #define BOOST_TEST_DYN_LINK
8 #define BOOST_TEST_MODULE "Test module for cf3::mesh::tecplot::Writer"
10 #include <boost/test/unit_test.hpp>
34 BOOST_AUTO_TEST_SUITE( VTKXMLSuite )
45 boost::shared_ptr< MeshWriter > vtk_writer = build_component_abstract_type<MeshWriter>(
"cf3.mesh.VTKXML.Writer",
"meshwriter");
48 vtk_writer->options().set(
"fields",fields);
49 vtk_writer->options().set(
"mesh",mesh);
50 vtk_writer->options().set(
"file",
URI(
"grid.vtu"));
51 vtk_writer->execute();
58 BOOST_AUTO_TEST_SUITE_END()
URI uri() const
Construct the full path.
const Field & coordinates() const
BOOST_AUTO_TEST_CASE(WriteGrid)
Basic Classes for Mesh applications used by COOLFluiD.
Top-level namespace for coolfluid.
std::vector< URI > fields
common::Component & root() const
Gives the default root component.
Dictionary & geometry_fields() const
Base class for defining CF components.
Handle< Component > create_component(const std::string &name, const std::string &builder)
Build a (sub)component of this component using the extended type_name of the component.
Most basic kernel library.