Mercurial > repos > public > sbplib_julia
comparison src/Grids/mapped_grid.jl @ 1749:e4353d5e8fc3 feature/grids/curvilinear
Remove left over @show
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 11 Sep 2024 15:43:17 +0200 |
parents | 44faa334adc6 |
children | e2abd72d7ce0 c98d9c528a22 |
comparison
equal
deleted
inserted
replaced
1747:e719c6dadba6 | 1749:e4353d5e8fc3 |
---|---|
21 if !(size(logicalgrid) == size(physicalcoordinates) == size(jacobian)) | 21 if !(size(logicalgrid) == size(physicalcoordinates) == size(jacobian)) |
22 throw(ArgumentError("Sizes must match")) | 22 throw(ArgumentError("Sizes must match")) |
23 end | 23 end |
24 | 24 |
25 if size(first(jacobian)) != (length(first(physicalcoordinates)),D) | 25 if size(first(jacobian)) != (length(first(physicalcoordinates)),D) |
26 @show size(first(jacobian)) | |
27 @show (length(first(physicalcoordinates)),D) | |
28 throw(ArgumentError("The size of the jacobian must match the dimensions of the grid and coordinates")) | 26 throw(ArgumentError("The size of the jacobian must match the dimensions of the grid and coordinates")) |
29 end | 27 end |
30 | 28 |
31 return new{T,D,GT,CT,JT}(logicalgrid, physicalcoordinates, jacobian) | 29 return new{T,D,GT,CT,JT}(logicalgrid, physicalcoordinates, jacobian) |
32 end | 30 end |