Skip to content

Commit

Permalink
return a table
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhei committed Nov 19, 2024
1 parent 01cece7 commit a0ddd61
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions include/deal.II/fe/fe_q_iso_q1.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,13 @@ class FE_Q_iso_Q1 : public FE_Q_Base<dim, spacedim>
const std::vector<Vector<double>> &support_point_values,
std::vector<double> &nodal_values) const override;

/**
* Override the function to specify the subset of dofs that are really
* coupling for each "sub" cell.
*/
virtual const Table<2, bool> &
get_local_dof_sparsity_pattern() const override;

/**
* @name Functions to support hp
* @{
Expand All @@ -172,10 +179,20 @@ class FE_Q_iso_Q1 : public FE_Q_Base<dim, spacedim>
const unsigned int codim = 0) const override final;

/** @} */

private:
Table<2, bool> local_dof_sparsity_pattern;
};



template <int dim, int spacedim>
inline const Table<2, bool> &
FE_Q_iso_Q1<dim, spacedim>::get_local_dof_sparsity_pattern() const
{
return local_dof_sparsity_pattern;
}

/** @} */

DEAL_II_NAMESPACE_CLOSE
Expand Down

0 comments on commit a0ddd61

Please sign in to comment.