diff src/Grids/tensor_grid.jl @ 1599:37b05221beda feature/boundary_conditions

Review
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 29 May 2024 22:35:08 +0200
parents 611ae2308aa1
children 3e7438e2a033
line wrap: on
line diff
--- a/src/Grids/tensor_grid.jl	Sun May 26 18:19:02 2024 -0700
+++ b/src/Grids/tensor_grid.jl	Wed May 29 22:35:08 2024 +0200
@@ -95,7 +95,7 @@
     return LazyTensors.concatenate_tuples(b_ind...)
 end
 
-orthogonal_grid(g::TensorGrid, id::BoundaryIdentifier) = g.grids[grid_id(id)]
+orthogonal_grid(g::TensorGrid, id::BoundaryIdentifier) = g.grids[grid_id(id)] # REVIEW: Seems clearer to me to just inline this and remove the function definition?
 
 
 function combined_coordinate_vector_type(coordinate_types...)