Skip to content

Commit

Permalink
Removed commented text
Browse files Browse the repository at this point in the history
  • Loading branch information
fverdugo committed Jul 4, 2019
1 parent e86ad2f commit f6e6554
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions src/FESpaces/Assemblers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ export SparseMatrixAssembler
export assemble
export assemble!

#@fverdugo for the moment the abstract interface of Assembler
# (and therefore its concrete implementations)
# assumes single field, and single term

"""
Abstract assembly operator
Parametrized by the type of returned matrix and vector
Expand Down Expand Up @@ -122,33 +118,4 @@ function assemble!(
mat.nzval .= m.nzval
end

# Draft of multi field assembler
#function _assemble_sparse_matrix_values(mf_vals,mf_rows,mf_cols,I,E)
# aux_row = I[]; aux_col = I[]; aux_val = E[]
# for (mf_rows_c, mf_cols_c, mf_vals_c) in zip(mf_rows,mf_cols,mf_vals)
# for (vals_c, (ifield, jfield)) in eachblock(mf_vals_c)
# rows_c = mf_rows_c[ifield]
# cols_c = mf_cols_c[jfield]
# row_offset = row_offsets[ifield]
# col_offset = col_offsets[jfield]
# _asseble_cell_values!(aux_row,aux_col,aux_val,rows_c,cols_c,vals_c,col_offset,row_offset)
# end
# end
# (aux_row, aux_col, aux_val)
#end
#
#function _asseble_cell_values!(aux_row,aux_col,aux_val,rows_c,cols_c,vals_c,col_offset,row_offset)
# for (j,gidcol) in enumerate(cols_c)
# if gidcol > 0
# for (i,gidrow) in enumerate(rows_c)
# if gidrow > 0
# push!(aux_row, gidrow+row_offset)
# push!(aux_col, gidcol+col_offset)
# push!(aux_val, vals_c[i,j])
# end
# end
# end
# end
#end

end # module Assemblers

0 comments on commit f6e6554

Please sign in to comment.