30 #ifndef __ExporterEnsight_H
31 #define __ExporterEnsight_H 1
37 #include <boost/lambda/lambda.hpp>
38 #include <boost/filesystem/path.hpp>
39 #include <boost/filesystem/operations.hpp>
41 #include <feel/feelfilters/exporter.hpp>
46 namespace fs = boost::filesystem;
55 template<
typename MeshType,
int N>
68 typedef MeshType mesh_type;
71 typedef typename super::timeset_ptrtype timeset_ptrtype;
72 typedef typename super::timeset_iterator timeset_iterator;
73 typedef typename super::timeset_const_iterator timeset_const_iterator;
123 ExporterEnsight( WorldComm
const& worldComm = Environment::worldComm() );
124 ExporterEnsight( std::string
const& __p =
"default",
int freq = 1, WorldComm
const& worldComm = Environment::worldComm() );
125 ExporterEnsight( po::variables_map
const& vm=Environment::vm(), std::string
const& exp_prefix =
"", WorldComm
const& worldComm = Environment::worldComm() );
150 return M_element_type;
186 void visit( mesh_type* mesh );
204 void _F_writeSoSFile()
const;
209 void _F_writeCaseFile()
const;
214 void _F_writeGeoFiles()
const;
219 void _F_writeVariableFiles()
const;
221 template<
typename Iterator>
222 void saveNodal(
typename timeset_type::step_ptrtype __step, Iterator __var, Iterator en )
const;
224 template<
typename Iterator>
225 void saveElement(
typename timeset_type::step_ptrtype __step, Iterator __evar, Iterator __evaren )
const;
229 mutable std::string M_filename;
230 std::string M_element_type;