135135
136136const DofCoefficients{T} = Vector{Pair{Int, T}}
137137"""
138- AffineConstraint(constrained_dof::Int, entries::Vector{Pair{Int,T}}, b::T) where T
138+ AffineConstraint(constrained_dof::Int, entries::Vector{Pair{Int, T}}, b::T) where {T}
139139
140140Define an affine/linear constraint to constrain one degree of freedom, `u[i]`,
141141such that `u[i] = ∑(u[j] * a[j]) + b`,
@@ -148,7 +148,7 @@ struct AffineConstraint{T}
148148end
149149
150150"""
151- ConstraintHandler([T= Float64], dh::AbstractDofHandler)
151+ ConstraintHandler([T = Float64], dh::AbstractDofHandler)
152152
153153A collection of constraints associated with the dof handler `dh`.
154154`T` is the numeric type for stored values.
@@ -1012,8 +1012,8 @@ end
10121012
10131013"""
10141014 PeriodicDirichlet(u::Symbol, facet_mapping, components = nothing)
1015- PeriodicDirichlet(u::Symbol, facet_mapping, R::AbstractMatrix, components= nothing)
1016- PeriodicDirichlet(u::Symbol, facet_mapping, f::Function, components= nothing)
1015+ PeriodicDirichlet(u::Symbol, facet_mapping, R::AbstractMatrix, components = nothing)
1016+ PeriodicDirichlet(u::Symbol, facet_mapping, f::Function, components = nothing)
10171017
10181018Create a periodic Dirichlet boundary condition for the field `u` on the facet-pairs given in
10191019`facet_mapping`. The mapping can be computed with [`collect_periodic_facets`](@ref). The
@@ -1793,10 +1793,12 @@ end
17931793@noinline missing_global () = error (" can not condense constraint without the global matrix and vector" )
17941794
17951795"""
1796- _condense_local!(local_matrix::AbstractMatrix, local_vector::AbstractVector,
1797- global_matrix#=::SparseMatrixCSC=#, global_vector#=::Vector=#,
1798- global_dofs::AbstractVector, dofmapping::Dict, dofcoefficients::Vector,
1799- isconstrained::BitVector)
1796+ _condense_local!(
1797+ local_matrix::AbstractMatrix, local_vector::AbstractVector,
1798+ global_matrix #=::SparseMatrixCSC=#, global_vector #=::Vector=#,
1799+ global_dofs::AbstractVector, dofmapping::Dict, dofcoefficients::Vector,
1800+ isconstrained::BitVector
1801+ )
18001802
18011803Condensation of affine constraints on element level. If possible this function only
18021804modifies the local arrays.
0 commit comments