亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? xdr_cxx.h

?? 一個用來實現偏微分方程中網格的計算庫
?? H
字號:
// $Id: xdr_cxx.h 2789 2008-04-13 02:24:40Z roystgnr $// The libMesh Finite Element Library.// Copyright (C) 2002-2007  Benjamin S. Kirk, John W. Peterson  // This library is free software; you can redistribute it and/or// modify it under the terms of the GNU Lesser General Public// License as published by the Free Software Foundation; either// version 2.1 of the License, or (at your option) any later version.  // This library is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU// Lesser General Public License for more details.  // You should have received a copy of the GNU Lesser General Public// License along with this library; if not, write to the Free Software// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA#ifndef __xdr_cxx_h__#define __xdr_cxx_h__// Local includes#include "libmesh_common.h"#include "libmesh.h"#include "enum_xdr_mode.h"#include "auto_ptr.h"// C++ includes#ifdef HAVE_XDR#  include <rpc/rpc.h>#endif#include <iosfwd>#include <vector>#include <string>#ifdef USE_COMPLEX_NUMBERS# include <complex>#endif#define xdr_MAX_STRING_LENGTH 256#ifndef SINGLE_PRECISION#define xdr_REAL xdr_double#else#define xdr_REAL xdr_float#endif//--------------------------------------------------------------// Xdr class definition/** * This class implements a C++ interface to the XDR  * (eXternal Data Representation) format.  XDR is useful for * creating platform-independent binary files.  This class was * created to handle equation system output as a replacement for * XdrIO since that is somewhat limited. */class Xdr{  public:  /**   * Constructor.  Takes the filename and the mode.   * Valid modes are ENCODE, DECODE, READ, and WRITE.   */  Xdr (const std::string& name="", const libMeshEnums::XdrMODE m=UNKNOWN);  /**   * Destructor.  Closes the file if it is open.   */  ~Xdr ();  /**   * Opens the file.   */   void open (const std::string& name);  /**   * Closes the file if it is open.   */   void close();  /**   * Returns true if the Xdr file is open, false   * if it is closed.   */   bool is_open() const;  /**   * Returns true if the file is opened in a reading   * state, false otherwise.   */  bool reading() const { return ((mode == DECODE) || (mode == READ)); }  /**   * Returns true if the file is opened in a writing   * state, false otherwise.   */  bool writing() const { return ((mode == ENCODE) || (mode == WRITE)); }  /**   * Returns the mode used to access the file.  Valid modes   * are ENCODE, DECODE, READ, or WRITE.   */  XdrMODE access_mode () const { return mode; }  // Data access methods  /**   * Inputs or outputs a single integer.   */  void data(int& a, const char* comment="");  /**   * Same, but provides an \p ostream like interface.   */  Xdr& operator << (int& a) { libmesh_assert (writing()); data(a); return *this; }  /**   * Same, but provides an \p istream like interface.   */  Xdr& operator >> (int& a) { libmesh_assert (reading()); data(a); return *this; }    /**   * Inputs or outputs a single unsigned integer.   */  void data(unsigned int& a, const char* comment="");  /**   * Same, but provides an \p ostream like interface.   */  Xdr& operator << (unsigned int& a) { libmesh_assert (writing()); data(a); return *this; }  /**   * Same, but provides an \p istream like interface.   */  Xdr& operator >> (unsigned int& a) { libmesh_assert (reading()); data(a); return *this; }  /**   * Inputs or outputs a single short integer.   */  void data(short int& a, const char* comment="");  /**   * Same, but provides an \p ostream like interface.   */  Xdr& operator << (short int& a) { libmesh_assert (writing()); data(a); return *this; }  /**   * Same, but provides an \p istream like interface.   */  Xdr& operator >> (short int& a) { libmesh_assert (reading()); data(a); return *this; }  /**   * Inputs or outputs a single unsigned short integer.   */  void data(unsigned short int& a, const char* comment="");  /**   * Same, but provides an \p ostream like interface.   */  Xdr& operator << (unsigned short int& a) { libmesh_assert (writing()); data(a); return *this; }  /**   * Same, but provides an \p istream like interface.   */  Xdr& operator >> (unsigned short int& a) { libmesh_assert (reading()); data(a); return *this; }  /**   * Inputs or outputs a single float.   */  void data(float& a, const char* comment="");  /**   * Same, but provides an \p ostream like interface.   */  Xdr& operator << (float& a) { libmesh_assert (writing()); data(a); return *this; }  /**   * Same, but provides an \p istream like interface.   */  Xdr& operator >> (float& a) { libmesh_assert (reading()); data(a); return *this; }  /**   * Inputs or outputs a single double.   */  void data(double& a, const char* comment="");  /**   * Same, but provides an \p ostream like interface.   */  Xdr& operator << (double& a) { libmesh_assert (writing()); data(a); return *this; }  /**   * Same, but provides an \p istream like interface.   */  Xdr& operator >> (double& a) { libmesh_assert (reading()); data(a); return *this; }  /**   * Inputs or outputs a single long double, but in double precision.   */  void data(long double& a, const char* comment="")     { double ad = a;      data(ad, comment); }  /**   * Same, but provides an \p ostream like interface.   */  Xdr& operator << (long double& a) { libmesh_assert (writing()); data(a); return *this; }  /**   * Same, but provides an \p istream like interface.   */  Xdr& operator >> (long double& a) { libmesh_assert (reading()); data(a); return *this; }#ifdef USE_COMPLEX_NUMBERS  /**   * Inputs or outputs a single complex<double>.   */  void data(std::complex<double>& a, const char* comment="");  /**   * Same, but provides an \p ostream like interface.   */  Xdr& operator << (std::complex<double>& a) { libmesh_assert (writing()); data(a); return *this; }  /**   * Same, but provides an \p istream like interface.   */  Xdr& operator >> (std::complex<double>& a) { libmesh_assert (reading()); data(a); return *this; }  /**   * Inputs or outputs a single complex<long double>, but in double   * precision.   */  void data(std::complex<long double>& a, const char* comment="")    { std::complex<double> ad (a);      data(ad, comment); }  /**   * Same, but provides an \p ostream like interface.   */  Xdr& operator << (std::complex<long double>& a) { libmesh_assert (writing()); data(a); return *this; }  /**   * Same, but provides an \p istream like interface.   */  Xdr& operator >> (std::complex<long double>& a) { libmesh_assert (reading()); data(a); return *this; }#endif  /**   * Inputs or outputs a vector of integers.   */  void data(std::vector<int>& v, const char* comment="");  /**   * Same, but provides an \p ostream like interface.   */  Xdr& operator << (std::vector<int>& v) { libmesh_assert (writing()); data(v); return *this; }  /**   * Same, but provides an \p istream like interface.   */  Xdr& operator >> (std::vector<int>& v) { libmesh_assert (reading()); data(v); return *this; }  /**   * Inputs or outputs a vector of unsigned integers.   */  void data(std::vector<unsigned int>& v, const char* comment="");  /**   * Same, but provides an \p ostream like interface.   */  Xdr& operator << (std::vector<unsigned int>& v) { libmesh_assert (writing()); data(v); return *this; }  /**   * Same, but provides an \p istream like interface.   */  Xdr& operator >> (std::vector<unsigned int>& v) { libmesh_assert (reading()); data(v); return *this; }  /**   * Inputs or outputs a vector of short integers.   */  void data(std::vector<short int>& v, const char* comment="");  /**   * Same, but provides an \p ostream like interface.   */  Xdr& operator << (std::vector<short int>& v) { libmesh_assert (writing()); data(v); return *this; }  /**   * Same, but provides an \p istream like interface.   */  Xdr& operator >> (std::vector<short int>& v) { libmesh_assert (reading()); data(v); return *this; }  /**   * Inputs or outputs a vector of unsigned short integers.   */  void data(std::vector<unsigned short int>& v, const char* comment="");  /**   * Same, but provides an \p ostream like interface.   */  Xdr& operator << (std::vector<unsigned short int>& v) { libmesh_assert (writing()); data(v); return *this; }  /**   * Same, but provides an \p istream like interface.   */  Xdr& operator >> (std::vector<unsigned short int>& v) { libmesh_assert (reading()); data(v); return *this; }  /**   * Inputs or outputs a vector of floats.   */  void data(std::vector<float>& v, const char* comment="");  /**   * Same, but provides an \p ostream like interface.   */  Xdr& operator << (std::vector<float>& v) { libmesh_assert (writing()); data(v); return *this; }  /**   * Same, but provides an \p istream like interface.   */  Xdr& operator >> (std::vector<float>& v) { libmesh_assert (reading()); data(v); return *this; }  /**   * Inputs or outputs a vector of doubles.   */  void data(std::vector<double>& v, const char* comment="");  /**   * Same, but provides an \p ostream like interface.   */  Xdr& operator << (std::vector<double>& v) { libmesh_assert (writing()); data(v); return *this; }  /**   * Same, but provides an \p istream like interface.   */  Xdr& operator >> (std::vector<double>& v) { libmesh_assert (reading()); data(v); return *this; }  /**   * Inputs or outputs a vector of long doubles, but in double   * precision.   */  void data(std::vector<long double>& v, const char* comment="")    { std::vector<double> vd(v.size());      for (unsigned int i = 0; i != v.size(); ++i)	vd[i] = static_cast<double>(v[i]);      data(vd, comment);      v.resize(vd.size());      for (unsigned int i = 0; i != vd.size(); ++i)	v[i] = static_cast<long double>(vd[i]);    }  /**   * Same, but provides an \p ostream like interface.   */  Xdr& operator << (std::vector<long double>& v) { libmesh_assert (writing()); data(v); return *this; }  /**   * Same, but provides an \p istream like interface.   */  Xdr& operator >> (std::vector<long double>& v) { libmesh_assert (reading()); data(v); return *this; }#ifdef USE_COMPLEX_NUMBERS  /**   * Inputs or outputs a vector of complex<double>.   */  void data(std::vector< std::complex<double> >& v, const char* comment="");  /**   * Same, but provides an \p ostream like interface.   */  Xdr& operator << (std::vector< std::complex<double> >& v) { libmesh_assert (writing()); data(v); return *this; }  /**   * Same, but provides an \p istream like interface.   */  Xdr& operator >> (std::vector< std::complex<double> >& v) { libmesh_assert (reading()); data(v); return *this; }#endif  /**   * Inputs or outputs a single string.   */  void data(std::string& s, const char* comment="");  /**   * Same, but provides an \p ostream like interface.   */  Xdr& operator << (std::string& v) { libmesh_assert (writing()); data(v); return *this; }  /**   * Same, but provides an \p istream like interface.   */  Xdr& operator >> (std::string& v) { libmesh_assert (reading()); data(v); return *this; }  /**   * Inputs or outputs a raw data stream.   */  template <typename T>  void data_stream (T *val, const unsigned int len, const unsigned int line_break=libMesh::invalid_uint);  /**   * Writes or reads (ignores) a comment line.   */     void comment (std::string &);  private:  /**   * The mode used for accessing the file.   */   const XdrMODE mode;  /**   * The file name   */  std::string file_name;#ifdef HAVE_XDR    /**   * Pointer to the standard @p xdr   * struct.  See the standard   * header file rpc/rpc.h   * for more information.   */  XDR* xdrs;  /**   * File pointer.   */  FILE* fp;  #endif  /**   * The input file stream.   */  AutoPtr<std::istream> in;  /**   * The output file stream.   */  AutoPtr<std::ostream> out;  /**   * A buffer to put comment strings into.   */  const int comm_len;  char comm[xdr_MAX_STRING_LENGTH];    /**   * Are we reading/writing bzipped or gzipped files?   */  bool gzipped_file;  bool bzipped_file;};#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产在线精品免费av| 91热门视频在线观看| 成人深夜视频在线观看| 欧美日韩精品一区二区在线播放| 久久新电视剧免费观看| 亚洲尤物视频在线| 不卡区在线中文字幕| 精品国内二区三区| 亚洲成人激情社区| 色婷婷综合久久久中文一区二区| 久久亚洲精精品中文字幕早川悠里| 亚洲高清久久久| 97精品电影院| 国产清纯白嫩初高生在线观看91| 日本欧美肥老太交大片| 欧洲一区二区三区在线| 国产精品你懂的在线| 国模大尺度一区二区三区| 欧美日韩国产综合视频在线观看| 亚洲日穴在线视频| jlzzjlzz欧美大全| 欧美国产丝袜视频| 国产成人午夜高潮毛片| 日韩精品一区二区三区三区免费| 亚洲国产日日夜夜| 欧美亚洲综合另类| 一区二区三区免费观看| 91在线精品一区二区三区| 国产欧美一区二区精品性色| 精品一区二区免费在线观看| 日韩欧美一区中文| 日av在线不卡| 欧美一区二区成人6969| 日本伊人色综合网| 欧美一区二区精品在线| 精品一区二区在线播放| 精品欧美一区二区久久| 精品亚洲porn| 久久久久久麻豆| 高清国产一区二区三区| 国产精品系列在线| 色综合久久久久久久| 亚洲综合免费观看高清完整版| 91国内精品野花午夜精品| 一级特黄大欧美久久久| 欧美日韩精品系列| 捆绑变态av一区二区三区| 欧美一级二级三级乱码| 国产永久精品大片wwwapp| 国产日韩三级在线| 99久久国产综合精品色伊 | 欧美一区二区三区播放老司机| 日韩av高清在线观看| 日韩精品一区二区三区中文精品 | 欧美乱妇23p| 激情另类小说区图片区视频区| 日韩精品一区二区在线| 成人av网址在线观看| 一区二区成人在线视频| 日韩视频免费观看高清完整版在线观看| 免费在线观看精品| 欧美极品少妇xxxxⅹ高跟鞋| 色综合视频一区二区三区高清| 午夜久久久影院| 久久久久久亚洲综合影院红桃 | 777午夜精品视频在线播放| 麻豆精品视频在线| 中文字幕制服丝袜一区二区三区 | 日韩一二在线观看| 成人aa视频在线观看| 香港成人在线视频| 国产午夜精品一区二区三区视频| 91在线视频播放| 蜜桃视频一区二区三区| 国产精品三级av| 欧美一区二区三区爱爱| 99国产精品久久久久久久久久| 五月天视频一区| 国产精品欧美久久久久一区二区| 欧美日韩一区二区在线观看视频| 国产成人av一区| 亚洲美腿欧美偷拍| 久久久久国产成人精品亚洲午夜| 欧洲精品一区二区| 国产激情精品久久久第一区二区 | 国内外精品视频| 亚洲国产综合人成综合网站| 国产亚洲精久久久久久| 日韩一卡二卡三卡| 日本高清不卡在线观看| 国产成人综合在线播放| 奇米色一区二区三区四区| 亚洲主播在线播放| 中文字幕在线观看一区| 久久综合色天天久久综合图片| 欧美亚洲国产怡红院影院| www.在线成人| 国产精品白丝jk白祙喷水网站| 免费在线看一区| 三级成人在线视频| 亚洲自拍偷拍欧美| 亚洲自拍欧美精品| 亚洲日本在线a| 亚洲欧洲av色图| 欧美韩国日本综合| 中文字幕 久热精品 视频在线| 精品不卡在线视频| 精品国偷自产国产一区| 日韩精品在线一区二区| 在线不卡欧美精品一区二区三区| 一本在线高清不卡dvd| 99久久99久久综合| av亚洲精华国产精华| 成人禁用看黄a在线| 成年人国产精品| 色综合网色综合| 色婷婷精品久久二区二区蜜臀av| 91视频免费观看| 色综合天天综合网国产成人综合天| 懂色中文一区二区在线播放| 国产不卡免费视频| 成人黄色在线视频| 波多野结衣中文字幕一区二区三区| 国产传媒一区在线| av一二三不卡影片| 色88888久久久久久影院野外| 色婷婷久久综合| 欧美日韩你懂的| 欧美一区二区精品久久911| 亚洲精品一区二区三区四区高清 | 国产一区不卡视频| 国产精一品亚洲二区在线视频| 国产经典欧美精品| 成人av影院在线| 欧美性生活大片视频| 日韩一区二区电影| 久久久久88色偷偷免费| 亚洲欧洲av色图| 日本vs亚洲vs韩国一区三区二区 | av网站一区二区三区| 色成人在线视频| 日韩午夜在线观看视频| 久久久.com| 一区二区三区日韩欧美精品| 无码av免费一区二区三区试看| 麻豆视频一区二区| 一本高清dvd不卡在线观看| 欧美三级中文字幕在线观看| 日韩精品一区二区三区视频播放 | 精品国产免费久久| 中文字幕一区二区三区不卡| 亚洲1区2区3区4区| 成人午夜在线视频| 欧美日韩国产乱码电影| 国产亚洲一区二区三区四区| 亚洲麻豆国产自偷在线| 久久精品国产亚洲高清剧情介绍| 成人国产精品免费观看动漫| 欧美日韩精品三区| 国产精品美日韩| 日韩黄色在线观看| 99热精品国产| 精品国产a毛片| 一区二区三区四区在线播放| 精品写真视频在线观看| 欧美日韩一级视频| 国产欧美日韩视频在线观看| 日韩精品电影一区亚洲| 91在线视频免费观看| 久久精品欧美一区二区三区不卡| 亚洲第一在线综合网站| av午夜一区麻豆| 久久九九99视频| 麻豆国产一区二区| 欧美无砖专区一中文字| 国产精品伦理在线| 国产九色sp调教91| 精品国产91九色蝌蚪| 视频一区二区不卡| 在线一区二区视频| 国产精品久久久久久妇女6080 | 日韩三级免费观看| 亚洲美女淫视频| 国产91在线观看丝袜| 日韩欧美区一区二| 蜜臀av性久久久久av蜜臀妖精| 欧美色视频在线| 亚洲男人的天堂av| 99久久精品99国产精品| 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 丰满岳乱妇一区二区三区| 欧美一区二区视频观看视频| 亚洲图片欧美一区| 在线视频中文字幕一区二区| 18欧美亚洲精品| 成人av综合在线| 亚洲欧美一区二区久久| 99精品1区2区| 一区二区三区在线观看国产| 91网站最新地址|