1 Star 1 Fork 0

吉祥水/featool-multiphysics

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
intsubd.m 1.52 KB
一键复制 编辑 原始数据 按行查看 历史
function [ varargout ] = intsubd( varargin )
%INTSUBD Integate expression over subdomains.
%
% [ VAL ] = INTSUBD( S_EXPR, PROB, IND_S, IND_C, I_CUB, SOLNUM ) Integrates
% the expression S_EXPR over the subdomains indicated in IND_S, or
% alternatively the cells in IND_C. PROB is a valid finite element
% problem struct, and I_CUB specifies the numerical integration rule.
%
% Input Value/[Size] Description
% -----------------------------------------------------------------------------------
% s_expr string Expression to integrate
% prob struct Finite element problem struct
% ind_s [1,n_subd] Subdomain numbers (default all)
% ind_c [1,n_cells] Cell indices (default all)
% i_cub scalar Numerical integration rule (default 2)
% solnum scalar {n_sols} Solution number/time to evaluate
% .
% Output Value/[Size] Description
% -----------------------------------------------------------------------------------
% val scalar Result of integration
%
% See also INTBDR, MINMAXSUBD, MINMAXBDR
% Copyright 2013-2019 Precise Simulation, Ltd.
if( ~nargin && ~nargout ), help intsubd, return, end
varargout = cell( 1, nargout );
[varargout{:}] = featool( 'feval', 'intsubd', varargin{:} );
if( ~nargout ), clear varargout; end
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jixiangshui/featool-multiphysics.git
git@gitee.com:jixiangshui/featool-multiphysics.git
jixiangshui
featool-multiphysics
featool-multiphysics
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385