InterpolateBoundaryData
ExtendableFEM.InterpolateBoundaryData
— Typefunction InterpolateBoundaryData(u, data!::Function; kwargs...)
When assembled, the unknown u of the Problem will be penalized to match the standard interpolation of the provided data! function. The header of this function needs to be conform to the interface
data!(result, qpinfo)
where qpinfo allows to access information at the current quadrature point, e.g. qpinfo.x provides the global coordinates of the quadrature/evaluation point.
Keyword arguments:
bonus_quadorder
: additional quadrature order added to the quadorder chosen by the interpolator. Default: 0name
: name for operator used in printouts. Default: ''BoundaryData''params
: array of parameters that should be made available in qpinfo argument of kernel function. Default: nothingpenalty
: penalty for fixed degrees of freedom. Default: 1.0e30plot
: plot unicode plot of boundary data into terminal when assembled. Default: falseregions
: subset of regions where operator should be assembly only. Default: Any[]verbosity
: verbosity level. Default: 0
ExtendableFEM.apply!
— Methodapply!(U::FEVectorBlock, O::InterpolateBoundaryData; offset = 0, kwargs...)
applies the boundary data of O to U, i.e., sets the boundary dofs to the correct values that have been computed during the last assemble! call.
ExtendableFEM.apply_penalties!
— Methodapply_penalties!(A, b, sol, O::InterpolateBoundaryData{UT}, SC::SolverConfiguration; kwargs...)
modifies the linear system A|b such that the boundary dofs are penalized and attain the correct values from the last assemble! call of O. Also applies the correct values to sol.
ExtendableFEM.assemble!
— Methodassemble!(A, b, sol, O::InterpolateBoundaryData{UT}, SC::SolverConfiguration; kwargs...)
assembles the correct boundary values for O by interpolating the boundary data with the current kwargs (where e.g. time and params might have changed).
ExtendableFEM.fixed_dofs
— Methodfixed_dofs(O::InterpolateBoundaryData)
returns the fixed degrees of freedoms of O
ExtendableFEM.fixed_vals
— Methodfixed_vals(O::InterpolateBoundaryData)
returns the currently assembled values for the fixed degrees of freedom of O