00001 #ifndef SUNDANCE_MESHIO_UTILS_HPP
00002 #define SUNDANCE_MESHIO_UTILS_HPP
00003
00004 #include "Sundance.hpp"
00005 #include "SundanceFileIOChacoPartitioner.hpp"
00006 #include "SundanceCellLIDMappedFieldWrapper.hpp"
00007
00008 namespace Sundance
00009 {
00010
00011
00012 Expr readNodalFields(const MeshSource& mesher, const Mesh& mesh,
00013 const VectorType<double>& vecType, int verb=0);
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 Expr readSerialGridField(const std::string& gridFile,
00024 double ax, double bx,
00025 double ay, double by,
00026 const VectorType<double>& vecType,
00027 const MeshType& meshType,
00028 Mesh& mesh);
00029
00030
00031
00032
00033
00034
00035
00036 double readbackTester(const std::string& infile, const MPIComm& comm, int verb=0) ;
00037
00038
00039
00040 void serialPartition(
00041 const RCP<SerialPartitionerBase>& part,
00042 int numProc,
00043 const MeshSource& mesher,
00044 const std::string& outfile);
00045 }
00046
00047 #endif