Mercurial > repos > public > sbplib_julia
comparison src/Grids/mapped_grid.jl @ 1527:69790e9d1652 feature/grids/curvilinear
Remove tests for refine and coarsen
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 09 Apr 2024 15:26:49 +0200 |
parents | 535f32316637 |
children | 5d32ecb98db8 |
comparison
equal
deleted
inserted
replaced
1526:4df668d00d03 | 1527:69790e9d1652 |
---|---|
46 boundary_physicalcoordinates, | 46 boundary_physicalcoordinates, |
47 boundary_jacobian, | 47 boundary_jacobian, |
48 ) | 48 ) |
49 end | 49 end |
50 | 50 |
51 # TBD: refine and coarsen could be implemented once we have a simple manifold implementation. | |
52 # Before we do, we should consider the overhead of including such a field in the mapped grid struct. | |
53 | |
51 function mapped_grid(x, J, size...) | 54 function mapped_grid(x, J, size...) |
52 D = length(size) | 55 D = length(size) |
53 lg = equidistant_grid(size, ntuple(i->0., D), ntuple(i->1., D)) | 56 lg = equidistant_grid(size, ntuple(i->0., D), ntuple(i->1., D)) |
54 return MappedGrid( | 57 return MappedGrid( |
55 lg, | 58 lg, |