Mercurial > repos > public > sbplib_julia
changeset 756:1970ebceabe4 feature/laplace_opset
Add suggestion for pretty printing of Laplace
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Fri, 02 Jul 2021 11:13:14 +0200 |
parents | 36adc15d3935 |
children | 4d40d31c35f2 |
files | src/SbpOperators/volumeops/laplace/laplace.jl |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/SbpOperators/volumeops/laplace/laplace.jl Sun Mar 28 15:48:06 2021 +0200 +++ b/src/SbpOperators/volumeops/laplace/laplace.jl Fri Jul 02 11:13:14 2021 +0200 @@ -51,8 +51,8 @@ return Laplace(Δ, H, H⁻¹, StaticDict(e_pairs), StaticDict(d_pairs), StaticDict(Hᵧ_pairs)) end - -Base.show(io::IO, L::Laplace{T, Dim}) where {T,Dim} = print(io, "Laplace{$T, $Dim}(", L.D, L.H, L.H_inv, L.e, L.d, L.H_boundary, ")") +# TODO: Consider pretty printing of the following form +# Base.show(io::IO, L::Laplace{T, Dim}) where {T,Dim,TM} = print(io, "Laplace{$T, $Dim, $TM}(", L.D, L.H, L.H_inv, L.e, L.d, L.H_boundary, ")") LazyTensors.range_size(L::Laplace) = LazyTensors.range_size(L.D) LazyTensors.domain_size(L::Laplace) = LazyTensors.domain_size(L.D)