/[escript]/trunk/dataexporter/src/EscriptDataset.h
ViewVC logotype

Diff of /trunk/dataexporter/src/EscriptDataset.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2821 by caltinay, Fri Dec 11 07:00:35 2009 UTC revision 2822 by caltinay, Mon Dec 14 03:10:16 2009 UTC
# Line 79  public: Line 79  public:
79                           DataVec& escriptVars, const StringVec& varNames);                           DataVec& escriptVars, const StringVec& varNames);
80                                                    
81      /// \brief Loads mesh and variables from escript NetCDF files.      /// \brief Loads mesh and variables from escript NetCDF files.
82        ///
83        /// \param meshFilePattern a printf-style pattern for the mesh file names
84        ///                        (e.g. "mesh.%02d.nc")
85        /// \param varFiles a vector of file name patterns for variables
86        /// \param varNames a vector of variable names
87        /// \param nBlocks number of blocks/chunks to load
88        ///
89        /// \note If MPI is enabled nBlocks must be equal to the size of the
90        ///       communicator or this method fails.
91      ESCRIPTEXPORT_DLL_API      ESCRIPTEXPORT_DLL_API
92      bool loadNetCDF(const std::string meshFile, const StringVec& varFiles,      bool loadNetCDF(const std::string meshFilePattern,
93                      const StringVec& varNames, int nBlocks);                      const StringVec& varFiles, const StringVec& varNames,
94                        int nBlocks);
95    
96      /// \brief Loads only variables from escript NetCDF files using given mesh.      /// \brief Loads only variables from escript NetCDF files using given mesh.
97      ESCRIPTEXPORT_DLL_API      ESCRIPTEXPORT_DLL_API

Legend:
Removed from v.2821  
changed lines
  Added in v.2822

  ViewVC Help
Powered by ViewVC 1.1.26