FEATool  v1.6
Finite Element Analysis Toolbox
 All Files Functions Pages
bdrsetd.m File Reference


BDRSETD Set Dirichlet boundary conditions.

[ AMAT, F, T ] = BDRSETD( AMAT, F, PROB ) Sets Dirichlet boundary conditions in the global matrix AMAT and right hand side/load vector F with the information in the finite element problem struct PROB.

Input       Value/(Size)           Description
amat        (n_a,n_a)              System matrix (sparse or triplet format)
f           (neq,1)                Right hand side/load vector
prob        struct                 Finite element problem struct
isymm       scalar/{0}             Symmetrize BCs if applicable.
set_null    scalar/{0}             Set zeros in f vector.
Output      Value/(Size)           Description
amat        (n_a,n_a)              Modified system matrix
f           (neq,1)                Modified right hand side/load vector
t           scalar                 Time spent in function
Required fields of prob:
Required fields of amat: