1 Star 1 Fork 0

吉祥水/featool-multiphysics

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
intbdr.m 1.65 KB
一键复制 编辑 原始数据 按行查看 历史
function [ varargout ] = intbdr( varargin )
%INTBDR Integation of expression over boundaries.
%
% [ VAL ] = INTBDR( S_EXPR, PROB, IND_B, I_CUB, SOLNUM, IND_S )
% Integrates the expression S_EXPR over the boundaries indicated in
% IND_B. PROB is a valid finite element problem struct, and I_CUB
% specifies the numerical integration rule. IND_S optionally
% specifies which subdomain to use as reference for internal/
% interior boundaries (normals point out from these subdomains).
%
% Input Value/[Size] Description
% -----------------------------------------------------------------------------------
% s_expr string Expression to integrate
% prob struct Finite element problem struct
% ind_b [1,n_bdr] Boundary numbers (default all)
% i_cub scalar Numerical integration rule (default 2)
% solnum scalar {n_sols} Solution number/time to evaluate
% ind_s integer array Integration subdomains for internal boundaries
% .
% Output Value/[Size] Description
% -----------------------------------------------------------------------------------
% val scalar Result of integration
%
% See also INTSUBD, MINMAXSUBD, MINMAXBDR
% Copyright 2013-2019 Precise Simulation, Ltd.
if( ~nargin && ~nargout ), help intbdr, return, end
varargout = cell( 1, nargout );
[varargout{:}] = featool( 'feval', 'intbdr', 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

搜索帮助