From: Daniel Arndt Date: Thu, 14 Nov 2019 21:29:35 +0000 (-0500) Subject: Mark HangingNode member functions as 'inline' X-Git-Tag: v9.2.0-rc1~873^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9052%2Fhead;p=dealii.git Mark HangingNode member functions as 'inline' --- 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 {