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

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

?? python.tex

?? finite element library for mathematic majored research
?? TEX
字號:
\chapter{Python interface}\ffc{} provides a Python interface in the form of a standardPython module. The following example demonstrates how to define andcompile the variational problem for Poisson's equation in a Pythonscript:\begin{code}from ffc import *element = FiniteElement("Lagrange", "triangle", 1)v = TestFunction(element)u = TrialFunction(element)f = Function(element)a = dot(grad(v), grad(u))*dxL = v*f*dxcompile([a, L], "Poisson")\end{code}At the basic level, the only difference between the command-lineinterface and the Python interface is that one must add theimport statement of the \ffc{} module and that the function\texttt{compile} must be called when using the Python interface.\section{Compiling forms: \texttt{compile}}The \texttt{compile} function expects a form (seeSection~\ref{sec:formlanguage}) or a list of forms as its firstargument. It also accepts up to four additional optional arguments:\begin{code}compile(forms, prefix, representation, language, options)\end{code}\subsection{Input arguments}The \texttt{prefix} argument can be used to control the prefix of thefile containing the generated code, which we in the above example setto \texttt{"Poisson"}. The suffix \texttt{".h"} will be addedautomatically.The \texttt{representation} argument can be used to control the formrepresentation used for precomputation and code generation. Thedefault value is \texttt{"tensor"}, which indicates that the codeshould be generated based on a tensor representation of themultilinear form as describedin~\cite{KirLog06,KirLog07}. Alternatively, \texttt{"quadrature"} may beused to specify that code should be generated based on directquadrature at run-time (experimental).The \texttt{language} option can be used to control the outputlanguage for the generated code. The default value is \texttt{"ufc"},which indicates that code should be generated in the UFCformat~\cite{www:ufc,ufcmanual}. Alternatively, \texttt{"dolfin"} maybe used to generate code according to the UFC format with a small setof additional \dolfin{}-specific wrappers.The \texttt{compile} function accepts a dictionary of specialcode generation options. The default values for these options may beaccessed through the variable \texttt{FFC\_OPTIONS} available in\ffc{}.\subsection{Output arguments}The \texttt{compile} function returns a tuple\begin{code}(form_data, form_representation)\end{code}where \texttt{form\_data} is a list of metadataextracted for each input form and where \texttt{form\_representation}is a list that holds a particular internal representation of eachinput form. The form representation depends on the chosenrepresentation mode. Accessing this data is mainly intended fordevelopers.\subsection{Compiling finite elements}The \texttt{compile} function may also be used to compile finiteelements directly (without associated forms). The following exampledemonstrates how to generate code for a fifth degree Lagrange finiteelement on tetrahedra:\begin{code}from ffc import *element = FiniteElement("Lagrange", "tetrahedron", 5)compile(element, "P5")\end{code}\section{Just-in-time (JIT) compiler: \texttt{jit}}The \texttt{jit} function expects a single formas its first argument. It also accepts up to three additional optional arguments:\begin{code}jit(form, representation, language, options)\end{code}However, instead of generating code, the \texttt{jit} function returnsthe \emph{compiled} form as a Python object. It does this bygenerating code, compiling it (by calling the C++ compiler) andwrapping it as a Python module (by calling Instant/SWIG).The \texttt{jit} function returns a tuple\begin{code}(compiled_form, compiled_module, form_data)\end{code}where \texttt{compiled\_form} is the compiled form (a Python wrapperfor \texttt{ufc::form}), \texttt{compiled\_module} is a Python modulecontaining the compiled form, finite elements, dof maps etc (a Pythonwrapper for the complete set of generated code), and\texttt{form\_data} is form metadata generated from the input form.The JIT compiler caches generated modules such that if a Python scriptincluding a call to the JIT compiler is run twice (in the samedirectory) the Python module is only generated once.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久人人爽爽爽人久久久| 欧美激情在线一区二区| 国产一区二区在线影院| 自拍偷拍国产亚洲| 日韩三级精品电影久久久 | 国产成人精品在线看| 亚洲欧美电影一区二区| 日韩午夜激情视频| 91视频在线看| 国产精品99久久久久久久女警| 亚洲成人自拍网| 国产精品国产自产拍高清av王其 | 日韩电影在线免费观看| 国产精品久久久久影院亚瑟 | 91色.com| 欧美一区二区在线不卡| 岛国av在线一区| 麻豆久久久久久| 亚洲国产精品久久久久秋霞影院| 久久综合久久综合久久| 欧美日本国产视频| 色香蕉成人二区免费| 国产 欧美在线| 久久国产人妖系列| 日韩国产在线观看| 亚洲成人av福利| 亚洲在线免费播放| 中文字幕日韩精品一区| 久久久久久久久99精品| 日韩一区二区不卡| 欧美一区欧美二区| 欧美另类变人与禽xxxxx| 在线日韩一区二区| 一本大道综合伊人精品热热| 波多野结衣欧美| 成人在线综合网| 国产不卡在线视频| 国产成人av一区二区三区在线| 久久99精品久久久久婷婷| 日韩精品欧美成人高清一区二区| 亚洲国产精品一区二区尤物区| 亚洲欧美色图小说| 亚洲日本在线视频观看| 国产精品美女久久久久av爽李琼| 国产欧美日韩另类视频免费观看| 久久综合精品国产一区二区三区| 精品国产污污免费网站入口 | 欧美日韩久久久一区| 欧美日韩精品欧美日韩精品| 色婷婷综合视频在线观看| 99久久亚洲一区二区三区青草| 成人夜色视频网站在线观看| 成人h版在线观看| 99天天综合性| 色婷婷一区二区三区四区| 在线亚洲+欧美+日本专区| 欧美日韩视频专区在线播放| 欧美精品一二三区| 日韩一区二区三区av| 精品国产精品一区二区夜夜嗨| 久久久www成人免费毛片麻豆 | 亚洲成人免费观看| 国产色一区二区| 精品理论电影在线| 亚洲综合成人网| 久久久国产精华| 国产精品乱人伦一区二区| 亚洲激情图片qvod| 日韩极品在线观看| 国内精品写真在线观看| 成人性生交大片免费看在线播放| 99久久99久久精品国产片果冻| 在线观看国产一区二区| 欧美一区二区啪啪| 中文字幕精品综合| 亚洲自拍另类综合| 激情综合亚洲精品| 99久久久免费精品国产一区二区| 欧美日韩久久不卡| 久久看人人爽人人| 亚洲国产综合在线| 韩国v欧美v日本v亚洲v| 91在线观看成人| 日韩一级免费一区| 亚洲欧美日韩一区| 蜜桃精品视频在线| 99久久国产综合精品麻豆| 欧美一区二区性放荡片| 国产精品成人一区二区艾草| 午夜国产精品一区| 成人av在线一区二区三区| 欧美日韩不卡一区| 国产精品视频看| 日韩国产精品久久久| 成人av资源下载| 日韩欧美一区二区不卡| 自拍视频在线观看一区二区| 免费成人深夜小野草| 99久久久久久| 久久精品人人做人人爽人人| 亚洲一区二区影院| 成人性视频免费网站| 日韩欧美黄色影院| 一区二区在线免费观看| 国产乱码一区二区三区| 欧美精品久久久久久久多人混战 | 亚洲一区在线播放| 国产iv一区二区三区| 欧美人与禽zozo性伦| 亚洲国产精品ⅴa在线观看| 51久久夜色精品国产麻豆| 五月开心婷婷久久| 欧美三区免费完整视频在线观看| 久久久精品人体av艺术| 亚洲一区二区在线视频| 91在线porny国产在线看| 国产区在线观看成人精品| 乱中年女人伦av一区二区| 欧美视频一区二区三区在线观看 | 奇米色777欧美一区二区| 欧美一级黄色录像| 另类小说一区二区三区| 色婷婷精品大在线视频| 日本一区二区三区久久久久久久久不 | 91在线丨porny丨国产| 欧美三级中文字幕在线观看| 亚洲精品国久久99热| 成人不卡免费av| 亚洲一级二级在线| 中文字幕不卡一区| 国产一区二区伦理| 久久蜜桃一区二区| 欧美日韩国产一级二级| 国产精品久久久久久久久动漫| 亚洲国产成人va在线观看天堂| 91美女精品福利| 亚洲人快播电影网| 色综合色狠狠综合色| 亚洲精品国产精华液| 91福利资源站| 午夜视频一区二区三区| 欧美裸体一区二区三区| 一区2区3区在线看| 国产精品一区二区三区网站| 69久久99精品久久久久婷婷| 午夜精品在线看| 欧美日韩国产欧美日美国产精品| 亚洲欧美综合色| 色香蕉成人二区免费| 中文字幕亚洲综合久久菠萝蜜| 成人午夜激情在线| 欧美mv和日韩mv国产网站| 国产一区二区三区在线看麻豆 | 成人aa视频在线观看| 久久精品无码一区二区三区| 麻豆成人在线观看| 欧美韩国一区二区| 高清beeg欧美| 国产精品情趣视频| 国产在线视频一区二区三区| 国产亚洲精品aa| 欧美精品在线观看一区二区| 国产成人精品三级| 婷婷夜色潮精品综合在线| 国产精品免费久久| 日韩你懂的在线播放| 日本不卡视频在线观看| 久久精品国产**网站演员| 国产精品一级二级三级| 成+人+亚洲+综合天堂| 亚洲一级二级三级| 国产欧美日韩中文久久| 7777精品伊人久久久大香线蕉超级流畅 | 蜜桃av一区二区| 日韩一区中文字幕| 中文字幕成人网| 日韩精品综合一本久道在线视频| 99精品欧美一区二区三区小说| 日本在线不卡视频一二三区| 国产精品福利一区二区三区| 8v天堂国产在线一区二区| 不卡在线观看av| 成人av综合在线| av亚洲精华国产精华| 国产一区二区在线影院| 日本麻豆一区二区三区视频| 国产精品国产自产拍在线| 欧美日韩视频专区在线播放| 日韩一区二区三区免费看| 久久精品视频免费| 麻豆精品在线播放| 一本大道久久a久久精品综合| 91日韩精品一区| 久久精品男人天堂av| 欧美mv日韩mv亚洲| 亚洲欧美精品午睡沙发| 亚洲成av人片在线观看| 波多野结衣欧美| 亚洲欧洲国产日韩| 最新久久zyz资源站|