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

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

?? ex2.c

?? 一個用來實現偏微分方程中網格的計算庫
?? C
字號:
/* $Id: ex2.C 2719 2008-03-01 01:01:52Z roystgnr $ *//* The Next Great Finite Element Library. *//* Copyright (C) 2003  Benjamin S. Kirk *//* 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 */ // <h1>Example 2 - Defining a Simple System</h1> // // This is the second example program.  It demonstrates how to // create an equation system for a simple scalar system.  This // example will also introduce some of the issues involved with using Petsc // in your application. // // This is the first example program that indirectly // uses the Petsc library.  By default equation data is stored // in Petsc vectors, which may span multiple processors.  Before // Petsc is used it must be initialized via libMesh::init().  Note that // by passing argc and argv to Petsc you may specify // command line arguments to Petsc.  For example, you might // try running this example as: // // ./ex2 -log_info // // to see what Petsc is doing behind the scenes or // // ./ex2 -log_summary //  // to get a summary of what Petsc did. // Among other things, libMesh::init() initializes the MPI // communications library on your system if you haven't already // done so.// C++ include files that we need#include <iostream>//Basic include file needed for the mesh functionality.#include "libmesh.h"#include "mesh.h"// Include file that defines various mesh generation utilities#include "mesh_generation.h"// Include file that defines (possibly multiple) systems of equations.#include "equation_systems.h"// Include files that define a simple steady system#include "linear_implicit_system.h"#include "transient_system.h"#include "explicit_system.h"int main (int argc, char** argv){  LibMeshInit init (argc, argv);  // A brief message to the user to inform her of the  // exact name of the program being run, and its command line.  std::cout << "Running " << argv[0];  for (int i=1; i<argc; i++)    std::cout << " " << argv[i];  std::cout << std::endl << std::endl;    // Create a 2D mesh.  Mesh mesh (2);    // Use the MeshTools::Generation mesh generator to create a uniform  // grid on the unit square.  By default a mesh of QUAD4  // elements will be created.  We instruct the mesh generator  // to build a mesh of 5x5 elements.  MeshTools::Generation::build_square (mesh, 5, 5);  // Create an equation systems object. This object can  // contain multiple systems of different   // flavors for solving loosely coupled physics.  Each system can   // contain multiple variables of different approximation orders.    // Here we will simply create a single system with one variable.    // Later on, other flavors of systems will be introduced.  For the   // moment, we use the general system.  // The EquationSystems object needs a reference to the mesh  // object, so the order of construction here is important.  EquationSystems equation_systems (mesh);    // Add a flag "test" that is visible for all systems.  This  // helps in inter-system communication.  equation_systems.parameters.set<bool> ("test") = true;      // Set a simulation-specific parameter visible for all systems.  // This helps in inter-system-communication.  equation_systems.parameters.set<Real> ("dummy") = 42.;      // Set another simulation-specific parameter   equation_systems.parameters.set<Real> ("nobody") = 0.;    // Now we declare the system and its variables.  // We begin by adding a "TransientLinearImplicitSystem" to the  // EquationSystems object, and we give it the name  // "Simple System".  equation_systems.add_system<TransientLinearImplicitSystem> ("Simple System");      // Adds the variable "u" to "Simple System".  "u"  // will be approximated using first-order approximation.  equation_systems.get_system("Simple System").add_variable("u", FIRST);  // Next we'll by add an "ExplicitSystem" to the  // EquationSystems object, and we give it the name  // "Complex System".  equation_systems.add_system<ExplicitSystem> ("Complex System");  // Give "Complex System" three variables -- each with a different approximation  // order.  Variables "c" and "T" will use first-order Lagrange approximation,   // while variable "dv" will use a second-order discontinuous  // approximation space.  equation_systems.get_system("Complex System").add_variable("c", FIRST);  equation_systems.get_system("Complex System").add_variable("T", FIRST);  equation_systems.get_system("Complex System").add_variable("dv", SECOND, MONOMIAL);      // Initialize the data structures for the equation system.  equation_systems.init();          // Print information about the mesh to the screen.  mesh.print_info();  // Prints information about the system to the screen.  equation_systems.print_info();  // Write the equation system if the user specified an  // output file name.  Note that there are two possible  // formats to write to.  Specifying libMeshEnums::WRITE will  // create a formatted ASCII file.  Optionally, you can specify  // libMeshEnums::ENCODE and get an XDR-encoded binary file.  //  // We will write the data, clear the object, and read the file  // we just wrote.  This is simply to demonstrate capability.  // Note that you might use this in an application to periodically  // dump the state of your simulation.  You can then restart from  // this data later.  if (argc > 1)    if (argv[1][0] != '-')      {        std::cout << "<<< Writing system to file " << argv[1]                  << std::endl;                // Write the system.        equation_systems.write (argv[1], libMeshEnums::WRITE);                // Clear the equation systems data structure.        equation_systems.clear ();        std::cout << ">>> Reading system from file " << argv[1]                  << std::endl << std::endl;                // Read the file we just wrote.  This better        // work!        equation_systems.read (argv[1], libMeshEnums::READ);        // Print the information again.        equation_systems.print_info();      }    // All done.  libMesh objects are destroyed here.  Because the  // LibMeshInit object was created first, its destruction occurs  // last, and it's destructor finalizes any external libraries and  // checks for leaked memory.  return 0;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美在线不卡| 国产女主播视频一区二区| 亚洲成人在线观看视频| 91国产成人在线| 日韩av一二三| 欧美国产乱子伦 | 综合久久一区二区三区| 精品国产乱码久久久久久牛牛| 免费在线成人网| 亚洲人成在线播放网站岛国| 欧美日韩电影一区| jizzjizzjizz欧美| 日本大胆欧美人术艺术动态| 国产精品久久久久影院| 日韩久久免费av| 欧美性受极品xxxx喷水| 国产成人免费网站| 亚洲电影第三页| 欧美精品一区在线观看| 欧美狂野另类xxxxoooo| 91在线免费看| 成人午夜免费av| 国产精品一区二区在线看| 亚洲欧美另类久久久精品| 91精品国产乱码| 宅男在线国产精品| 欧美少妇bbb| 国产精品一线二线三线| 天天操天天综合网| 午夜欧美一区二区三区在线播放| 中文字幕一区二区不卡| 国产精品国产三级国产专播品爱网| 久久综合一区二区| 久久久午夜精品| 亚洲天堂av一区| 偷拍一区二区三区四区| 六月丁香综合在线视频| 免费精品视频最新在线| 美国精品在线观看| 国产精品一二三四区| eeuss鲁片一区二区三区在线看| 不卡欧美aaaaa| 欧美日本乱大交xxxxx| 欧美第一区第二区| 亚洲三级在线免费观看| 在线观看日韩毛片| 欧美三级三级三级爽爽爽| 成人午夜激情视频| 欧美日韩国产成人在线免费| 欧美精品一区二| 亚洲综合久久久| 成人激情免费电影网址| 日韩精品在线一区| 亚洲一区二区欧美| 国产一区二区三区在线观看免费视频 | 国产一区二区在线看| 色视频欧美一区二区三区| 欧美一区二区播放| 亚洲激情成人在线| 国产99久久精品| 欧美成人乱码一区二区三区| 亚洲成av人片www| 91官网在线观看| 亚洲欧美二区三区| 99re6这里只有精品视频在线观看| 精品久久99ma| 久久国产精品72免费观看| 一本大道久久a久久精二百| 日韩午夜激情免费电影| 亚洲第一会所有码转帖| 成人av电影在线| 精品福利av导航| 免费日本视频一区| 欧美一区二区不卡视频| 午夜视频在线观看一区二区| 91一区二区三区在线观看| 欧美videofree性高清杂交| 亚洲精品国产第一综合99久久| 国产成人av电影在线观看| 欧美日本在线一区| 欧美三级蜜桃2在线观看| 91精品国产综合久久精品图片| 亚洲精品视频在线看| 色老汉一区二区三区| 亚洲黄一区二区三区| 色美美综合视频| 亚洲第一综合色| 欧美变态凌虐bdsm| 国产99久久久国产精品潘金 | 成人午夜伦理影院| 欧美激情中文字幕一区二区| 成人精品视频网站| 亚洲啪啪综合av一区二区三区| 91网站在线观看视频| 午夜免费久久看| wwwwww.欧美系列| 色天使色偷偷av一区二区| 性做久久久久久久免费看| 精品国产电影一区二区| 免费高清在线一区| 亚洲免费资源在线播放| 成人免费黄色大片| 免费人成在线不卡| 亚洲国产精品精华液ab| 欧美日韩一区二区在线视频| 亚洲国产日韩在线一区模特| 日韩欧美成人一区| 欧美性猛交xxxx乱大交退制版| 毛片基地黄久久久久久天堂| **欧美大码日韩| 国产欧美综合在线| 日韩精品一区在线| 日韩欧美中文字幕精品| 一本大道av伊人久久综合| 国产成人av一区二区| 美女性感视频久久| 亚洲福利国产精品| 亚洲综合免费观看高清完整版| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 91精品国产综合久久精品麻豆 | 国产不卡高清在线观看视频| 免费成人在线视频观看| 婷婷久久综合九色国产成人| 中文字幕+乱码+中文字幕一区| 精品成人免费观看| 欧美一二三在线| 亚洲在线免费播放| 中文字幕一区视频| 欧美精品久久一区| 色婷婷国产精品| 欧美日韩一区二区三区高清| 欧美日韩在线直播| 欧美日韩在线电影| 欧美成人欧美edvon| 久久嫩草精品久久久精品| 久久网站最新地址| 久久精品免费在线观看| 国产精品人成在线观看免费| 国产精品久久久久久福利一牛影视| 亚洲欧洲日韩女同| 首页亚洲欧美制服丝腿| 亚洲一区电影777| 国产精品性做久久久久久| 成人福利视频网站| 欧美一个色资源| 日韩毛片在线免费观看| 美女视频黄a大片欧美| www.欧美色图| 久久影音资源网| 亚洲va欧美va国产va天堂影院| 美女免费视频一区二区| 欧美视频在线观看一区| 日韩欧美中文一区| 一二三区精品视频| 国产亚洲欧美日韩日本| 亚洲免费观看视频| 国产精品亚洲视频| 日韩一区二区精品在线观看| 国产精品私人自拍| 国产一二精品视频| 成人妖精视频yjsp地址| 亚洲精品在线三区| 国产1区2区3区精品美女| 日韩欧美色综合| 麻豆久久久久久| 日韩小视频在线观看专区| 亚洲一区二区三区三| 欧美精品一级二级三级| 蜜臀av一级做a爰片久久| 欧美日韩中字一区| 中文字幕亚洲电影| 高清在线不卡av| 国产精品人成在线观看免费| 色综合天天综合在线视频| www久久精品| 欧美亚洲综合色| 日本欧美在线观看| 久久免费视频色| 99久久精品免费看国产| 一区二区三区四区亚洲| 欧美性猛片xxxx免费看久爱| 五月激情综合网| 国产欧美一区二区精品婷婷| 色综合天天综合| 日本视频免费一区| 国产精品视频在线看| 91小视频免费看| 麻豆精品一区二区| 一区二区三区 在线观看视频| 欧美精品久久一区二区三区| 成人av网址在线| 日韩av不卡一区二区| 亚洲欧美另类综合偷拍| 国产蜜臀av在线一区二区三区| 91久久精品一区二区三区| 丰满亚洲少妇av| 久久99九九99精品| 日韩成人伦理电影在线观看| 国产精品久久久久久亚洲伦| 日韩欧美国产三级|