Skip to content

Commit

Permalink
Merge pull request dealii#13756 from kronbichler/add_instantiation
Browse files Browse the repository at this point in the history
MatrixFree: Add instantiation for ConstraintValues::insert_entries
  • Loading branch information
drwells committed May 18, 2022
2 parents b9c1e9e + 5cb2247 commit 78ed538
Showing 1 changed file with 25 additions and 18 deletions.
43 changes: 25 additions & 18 deletions source/matrix_free/dof_info.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1506,13 +1506,20 @@ namespace internal
namespace MatrixFreeFunctions
{
template struct ConstraintValues<double>;
template struct ConstraintValues<float>;

template unsigned short
ConstraintValues<double>::insert_entries(
const std::vector<std::pair<types::global_dof_index, float>> &);
template unsigned short
ConstraintValues<double>::insert_entries(
const std::vector<std::pair<types::global_dof_index, double>> &);


template void
DoFInfo::read_dof_indices<double>(
const std::vector<types::global_dof_index> &,
const std::vector<types::global_dof_index> &,
const bool cell_has_hanging_node_constraints,
const bool,
const dealii::AffineConstraints<double> &,
const unsigned int,
ConstraintValues<double> &,
Expand All @@ -1522,33 +1529,33 @@ namespace internal
DoFInfo::read_dof_indices<float>(
const std::vector<types::global_dof_index> &,
const std::vector<types::global_dof_index> &,
const bool cell_has_hanging_node_constraints,
const bool,
const dealii::AffineConstraints<float> &,
const unsigned int,
ConstraintValues<double> &,
bool &);

template bool
DoFInfo::process_hanging_node_constraints<1>(
const HangingNodes<1> & hanging_nodes,
const std::vector<std::vector<unsigned int>> & lexicographic_mapping,
const unsigned int cell_number,
const TriaIterator<DoFCellAccessor<1, 1, false>> &cell,
std::vector<types::global_dof_index> & dof_indices);
const HangingNodes<1> &,
const std::vector<std::vector<unsigned int>> &,
const unsigned int,
const TriaIterator<DoFCellAccessor<1, 1, false>> &,
std::vector<types::global_dof_index> &);
template bool
DoFInfo::process_hanging_node_constraints<2>(
const HangingNodes<2> & hanging_nodes,
const std::vector<std::vector<unsigned int>> & lexicographic_mapping,
const unsigned int cell_number,
const TriaIterator<DoFCellAccessor<2, 2, false>> &cell,
std::vector<types::global_dof_index> & dof_indices);
const HangingNodes<2> &,
const std::vector<std::vector<unsigned int>> &,
const unsigned int,
const TriaIterator<DoFCellAccessor<2, 2, false>> &,
std::vector<types::global_dof_index> &);
template bool
DoFInfo::process_hanging_node_constraints<3>(
const HangingNodes<3> & hanging_nodes,
const std::vector<std::vector<unsigned int>> & lexicographic_mapping,
const unsigned int cell_number,
const TriaIterator<DoFCellAccessor<3, 3, false>> &cell,
std::vector<types::global_dof_index> & dof_indices);
const HangingNodes<3> &,
const std::vector<std::vector<unsigned int>> &,
const unsigned int,
const TriaIterator<DoFCellAccessor<3, 3, false>> &,
std::vector<types::global_dof_index> &);

template void
DoFInfo::compute_face_index_compression<1>(
Expand Down

0 comments on commit 78ed538

Please sign in to comment.