From 9e3b15d4460d9074ea4e2eab790e85d57179e52b Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Thu, 14 Nov 2019 16:29:35 -0500 Subject: [PATCH] Mark HangingNode member functions as 'inline' --- .../matrix_free/cuda_hanging_nodes_internal.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/deal.II/matrix_free/cuda_hanging_nodes_internal.h b/include/deal.II/matrix_free/cuda_hanging_nodes_internal.h index 1560cbc764..bb410b1d5f 100644 --- a/include/deal.II/matrix_free/cuda_hanging_nodes_internal.h +++ b/include/deal.II/matrix_free/cuda_hanging_nodes_internal.h @@ -167,7 +167,7 @@ namespace CUDAWrappers template - HangingNodes::HangingNodes( + inline HangingNodes::HangingNodes( unsigned int fe_degree, const DoFHandler & dof_handler, const std::vector &lexicographic_mapping) @@ -186,14 +186,14 @@ namespace CUDAWrappers template - void + inline void HangingNodes::setup_line_to_cell() {} template <> - void + inline void HangingNodes<3>::setup_line_to_cell() { // In 3D, we can have DoFs on only an edge being constrained (e.g. in a @@ -267,7 +267,7 @@ namespace CUDAWrappers template template - void + inline void HangingNodes::setup_constraints( std::vector & dof_indices, const CellIterator & cell, @@ -587,7 +587,7 @@ namespace CUDAWrappers template - void + inline void HangingNodes::rotate_subface_index(int times, unsigned int &subface_index) const { @@ -602,7 +602,7 @@ namespace CUDAWrappers template - void + inline void HangingNodes::rotate_face( int times, unsigned int n_dofs_1d, @@ -651,7 +651,7 @@ namespace CUDAWrappers template - unsigned int + inline unsigned int HangingNodes::line_dof_idx(int local_line, unsigned int dof, unsigned int n_dofs_1d) const @@ -679,7 +679,7 @@ namespace CUDAWrappers template - void + inline void HangingNodes::transpose_face( std::vector &dofs) const { -- 2.39.5