⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rawfile.h

📁 利用C
💻 H
字号:
// Copyright (C) 2005-2007 Garth N.Wells.// Licensed under the GNU LGPL Version 2.1.//// Modified by Nuno Lopes 2008.//// First added:  2008-05-29#ifndef __RAW_FILE_H#define __RAW_FILE_H#include <fstream>#include "GenericFile.h"namespace dolfin{    class RAWFile : public GenericFile    {    public:            //Write results in raw format      //Much lighter than the other formats      //A Xd3d format for instance            RAWFile(const std::string filename);      ~RAWFile();                  void operator<< (MeshFunction<int>& meshfunction);      void operator<< (MeshFunction<unsigned int>& meshfunction);      void operator<< (MeshFunction<double>& meshfunction);      void operator<< (Function& u);          private:      void ResultsWrite(Function& u) const;      void rawNameUpdate(const int counter);            template<class T>        void MeshFunctionWrite(T& meshfunction);                // raw filename      std::string raw_filename;    };  }#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -