%This is an electrostatic example. It is a resistive element %with a potential at the bottom equal to V=0 and at the top %the el…
Boundary Element 源代码
汇集 Boundary Element 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
function [nod2xy,el2nod,bound,W,G]=impmesh(p,e,t) %[NOD2XY,EL2NOD,BOUND,W,G] = IMPMESH(P,E,T) % P E T are variables exported fro…
function el2nod=genmesh2(nod2xy,boundp,boundm) %GENMESH2 Generate 2D mesh from grid points. % EL2NOD = GENMESH(NOD2XY,BOUND+[…
function [u,x,y,c]=fem2(nod2xy,el2nod, alpha,beta,s, bd) %FEM2 Finite element solver in 2D. % FEM2 is a PDE solver using the Fi…
%This is an electrostatic example. It is a resistive element %with a potential at the bottom equal to V=0 and at the top %the el…
function [nod2xy,el2nod,bound,W,G]=impmesh(p,e,t) %[NOD2XY,EL2NOD,BOUND,W,G] = IMPMESH(P,E,T) % P E T are variables exported fro…
function el2nod=genmesh2(nod2xy,boundp,boundm) %GENMESH2 Generate 2D mesh from grid points. % EL2NOD = GENMESH(NOD2XY,BOUND+[…
function [u,x,y,c]=fem2(nod2xy,el2nod, alpha,beta,s, bd) %FEM2 Finite element solver in 2D. % FEM2 is a PDE solver using the Fi…
function [mesh] = uniformrefine(mesh) % UNIFORMREFINE refines the current triangulation by dividing % each triangle into four si…
function [u, energy] = Poisson(mesh, f, g_D, g_N) % POISSON solve the 2-D Poisson equation % -\Delta u = f, % in the cu…