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

📄 global.cpp

📁 FreeFem++可以生成高质量的有限元网格。可以用于流体力学
💻 CPP
字号:
// -*- Mode : c++ -*-//// SUMMARY  :      // USAGE    :        // ORG      : // AUTHOR   : Frederic Hecht// E-MAIL   : hecht@ann.jussieu.fr///*  This file is part of Freefem++  Freefem++ 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.  Freefem++  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 Freefem++; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */#include "config-wrapper.h"#include <complex>#include "AFunction.hpp"#include "error.hpp"#include "lex.hpp"#include <queue>#include "environment.hpp"#define  FF_GRAPH_PTR_DCL#include "rgraph.hpp"//#include "PlotStream.hpp" long verbosity = 1; FILE *ThePlotStream=0; //  Add for new plot. FH oct 2008  Map_type_of_map map_type_of_map ; //  to store te type Map_type_of_map map_pair_of_type ; //  to store te type  basicForEachType *  typevarreal,  * typevarcomplex;  //  type of real and complex variable mylex *zzzfff;  bool lexdebug;#include "lg.tab.hpp" YYSTYPE *plglval; int TheCurrentLine=-1; // unset: by default long mpisize=0,mpirank=0;    C_F0 *pOne=0,*pZero=0,*pminusOne=0;// const C_F0 & One(*pOne), &Zero(*pZero);  Polymorphic * TheOperators=0, //=new Polymorphic(),              * TheRightOperators=0; //=new Polymorphic(); TableOfIdentifier Global; long E_Border::Count =0; typedef list<TableOfIdentifier *> ListOfTOfId;  ListOfTOfId tables_of_identifier;  const int AC_F0::MaxSize=1024; // maximal number of parametersmap<const string,basicForEachType *> map_type;bool showCPU= false;size_t CodeAlloc::nb=0, CodeAlloc::lg=0,CodeAlloc::nbpx=0,CodeAlloc::chunk=2048; size_t CodeAlloc::nbt,CodeAlloc::nbdl=0;CodeAlloc ** CodeAlloc::mem=0;bool CodeAlloc::sort=true;bool  CodeAlloc::cleanning=false;//  add F. Hecht EnvironmentData  ffenvironment;

⌨️ 快捷键说明

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