From 092b5e80f99e476cfc66cbac78854b3f830498f5 Mon Sep 17 00:00:00 2001 From: Ponsuganth Ilangovan Ponkumar Ilango <pponkumar@geophysik.uni-muenchen.de> Date: Tue, 5 Nov 2024 11:07:12 +0100 Subject: [PATCH] Change vertex_dof to volume_dof in P0 fspace_impl --- hog/operator_generation/function_space_impls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hog/operator_generation/function_space_impls.py b/hog/operator_generation/function_space_impls.py index c2b0466..956001b 100644 --- a/hog/operator_generation/function_space_impls.py +++ b/hog/operator_generation/function_space_impls.py @@ -285,13 +285,13 @@ class P0FunctionSpaceImpl(FunctionSpaceImpl): indexing_info: IndexingInfo, element_vertex_ordering: List[int], ) -> List[Field.Access]: - vertex_dof_indices = micro_element_to_volume_indices( + volume_dof_indices = micro_element_to_volume_indices( element_type, element_index, 1, VolumeDoFMemoryLayout.SoA ) vertex_array_indices = [ dof_idx.array_index(geometry, indexing_info) - for dof_idx in vertex_dof_indices + for dof_idx in volume_dof_indices ] return [ -- GitLab