HomogeneousData
ExtendableFEM.HomogeneousData
— Methodfunction HomogeneousData(u; entities = ON_CELLS, kwargs...)
When assembled, the unknown u of the Problem will be penalized to zero on the specifies entities and entity regions (via kwargs).
Keyword arguments:
mask
: array of zeros/ones to set which components should be set by the operator (only works with componentwise dofs, add a 1 or 0 to mask additional dofs). Default: Any[]name
: name for operator used in printouts. Default: ''HomogeneousData''penalty
: penalty for fixed degrees of freedom. Default: 1.0e30regions
: subset of regions where operator should be assembly only. Default: Any[]value
: constant value of the data. Default: 0verbosity
: verbosity level. Default: 0
ExtendableFEM.HomogeneousBoundaryData
— Methodfunction HomogeneousBoundaryData(u; entities = ON_BFACES, kwargs...)
When assembled, the unknown u of the Problem will be penalized to zero on the boundary faces and boundary regions (via kwargs).
Keyword arguments:
mask
: array of zeros/ones to set which components should be set by the operator (only works with componentwise dofs, add a 1 or 0 to mask additional dofs). Default: Any[]name
: name for operator used in printouts. Default: ''HomogeneousData''penalty
: penalty for fixed degrees of freedom. Default: 1.0e30regions
: subset of regions where operator should be assembly only. Default: Any[]value
: constant value of the data. Default: 0verbosity
: verbosity level. Default: 0