FEATool  v1.7
Finite Element Analysis Toolbox
 All Files Functions Pages
ex_poisson6.m File Reference


EX_POISSON6 3D Poisson equation example on a unit cube.

[ FEA, OUT ] = EX_POISSON6( VARARGIN ) Poisson equation on a [0..1]^3 unit cube.

Input       Value/{Default}        Description
igrid       scalar 1/{0}           Cell type (0=hexahedra, 1=tetrahedra)
hmax        scalar {1/9}           Max grid cell size
sfun        string {sflag1}        Shape function
iphys       scalar 0/{1}           Use physics mode to define problem    (=1)
                                   or directly define fea.eqn/bdr fields (=0)
iplot       scalar 0/{1}           Plot solution (=1)
Output      Value/(Size)           Description
fea         struct                 Problem definition struct
out         struct                 Output stuct
Generated fields of fea:
Generated fields of out: