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

📄 xmlblasformdata.h

📁 利用C
💻 H
字号:
// Copyright (C) 2005-2006 Anders Logg.// Licensed under the GNU LGPL Version 2.1.//// First added:  2005-10-02// Last changed: 2006-10-23#ifndef __XML_BLAS_FORM_DATA_H#define __XML_BLAS_FORM_DATA_H#include <dolfin/common/Array.h>#include "XMLObject.h"namespace dolfin{  class BLASFormData;    class XMLBLASFormData : public XMLObject  {  public:    XMLBLASFormData(BLASFormData& blas);        void startElement (const xmlChar *name, const xmlChar **attrs);    void endElement   (const xmlChar *name);        void open(std::string filename);    bool close();      private:        enum ParserState { OUTSIDE, INSIDE_FORM,		       INSIDE_INTERIOR, INSIDE_BOUNDARY,		       INSIDE_INTERIOR_TERM, INSIDE_BOUNDARY_TERM,		       INSIDE_INTERIOR_GEOTENSOR, INSIDE_BOUNDARY_GEOTENSOR,		       INSIDE_INTERIOR_REFTENSOR, INSIDE_BOUNDARY_REFTENSOR,		       DONE };        void readForm     (const xmlChar *name, const xmlChar **attrs);    void readInterior (const xmlChar *name, const xmlChar **attrs);    void readBoundary (const xmlChar *name, const xmlChar **attrs);    void readTerm     (const xmlChar *name, const xmlChar **attrs);    void readGeoTensor(const xmlChar *name, const xmlChar **attrs);    void readRefTensor(const xmlChar *name, const xmlChar **attrs);    void readEntry    (const xmlChar *name, const xmlChar **attrs);        void initForm();    BLASFormData& blas;    Array<Array<real> > data_interior;    Array<Array<real> > data_boundary;    int mi, ni, mb, nb;    ParserState state;      };  }#endif

⌨️ 快捷键说明

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