36 #ifndef NEKTAR_LIB_UTILITIES_BASIC_UTILS_FIELDIO_H
37 #define NEKTAR_LIB_UTILITIES_BASIC_UTILS_FIELDIO_H
48 #include <boost/archive/iterators/base64_from_binary.hpp>
49 #include <boost/archive/iterators/binary_from_base64.hpp>
50 #include <boost/archive/iterators/transform_width.hpp>
51 #include <boost/iostreams/copy.hpp>
52 #include <boost/iostreams/filter/zlib.hpp>
53 #include <boost/iostreams/filtering_stream.hpp>
54 #include <boost/assign/list_of.hpp>
58 namespace LibUtilities
72 const std::vector<unsigned int> &elementIDs,
73 const std::vector<LibUtilities::BasisType> &basis,
77 const std::vector<unsigned int> &numModes,
78 const std::vector<std::string> &fields,
80 const std::vector<NekDouble> &HomoLengths =
82 const std::vector<unsigned int> &HomoZIDs =
84 const std::vector<unsigned int> &HomoYIDs =
86 const std::vector<LibUtilities::PointsType> &points =
88 bool pointsDef =
false,
89 const std::vector<unsigned int> &numPoints =
91 bool numPointsDef =
false):
136 const std::string &outFile,
137 std::vector<FieldDefinitionsSharedPtr> &fielddefs,
138 std::vector<std::vector<NekDouble> > &fielddata,
143 const std::string& infilename,
144 std::vector<FieldDefinitionsSharedPtr> &fielddefs,
160 const std::string &outFile,
161 std::vector<FieldDefinitionsSharedPtr> &fielddefs,
162 std::vector<std::vector<NekDouble> > &fielddata,
167 const std::string& infilename,
168 std::vector<FieldDefinitionsSharedPtr> &fielddefs,
175 std::string filename,
186 std::vector<FieldDefinitionsSharedPtr> &fielddefs,
192 const std::vector<FieldDefinitionsSharedPtr> &fielddefs,
193 std::vector<std::vector<NekDouble> > &fielddata);
196 const std::string &outfile,
197 const std::vector<std::string> fileNames,
198 std::vector<std::vector<unsigned int> > &elementList,
211 const std::vector<unsigned int> &elmtids,
212 std::string &idString);
215 const std::string outname,
216 const std::vector<FieldDefinitionsSharedPtr> &fielddefs,
220 const std::string &inFile,
221 std::vector<std::string> &fileNames,
222 std::vector<std::vector<unsigned int> > &elementList,
229 std::vector<NekDouble>& in,
233 std::vector<NekDouble>& out);